/// <summary> /// Returns a budget. /// /// WARNING: There are some fields exposed on the Google Cloud Console that /// aren't available on this API. When reading from the API, you will not /// see these fields in the return value, though they may have been set /// in the Cloud Console. /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>A Task containing the RPC response.</returns> public override stt::Task <Budget> GetBudgetAsync(GetBudgetRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_GetBudgetRequest(ref request, ref callSettings); return(_callGetBudget.Async(request, callSettings)); }
/// <summary> /// Returns a budget. /// /// WARNING: There are some fields exposed on the Google Cloud Console that /// aren't available on this API. When reading from the API, you will not /// see these fields in the return value, though they may have been set /// in the Cloud Console. /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>The RPC response.</returns> public override Budget GetBudget(GetBudgetRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_GetBudgetRequest(ref request, ref callSettings); return(_callGetBudget.Sync(request, callSettings)); }
partial void Modify_GetBudgetRequest(ref GetBudgetRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Returns a budget. /// /// WARNING: There are some fields exposed on the Google Cloud Console that /// aren't available on this API. When reading from the API, you will not /// see these fields in the return value, though they may have been set /// in the Cloud Console. /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param> /// <returns>A Task containing the RPC response.</returns> public virtual stt::Task <Budget> GetBudgetAsync(GetBudgetRequest request, st::CancellationToken cancellationToken) => GetBudgetAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Returns a budget. /// /// WARNING: There are some fields exposed on the Google Cloud Console that /// aren't available on this API. When reading from the API, you will not /// see these fields in the return value, though they may have been set /// in the Cloud Console. /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>A Task containing the RPC response.</returns> public virtual stt::Task <Budget> GetBudgetAsync(GetBudgetRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();
/// <summary> /// Returns a budget. /// /// WARNING: There are some fields exposed on the Google Cloud Console that /// aren't available on this API. When reading from the API, you will not /// see these fields in the return value, though they may have been set /// in the Cloud Console. /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>The RPC response.</returns> public virtual Budget GetBudget(GetBudgetRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();