/// <summary> /// Updates a budget and returns the updated budget. /// /// WARNING: There are some fields exposed on the Google Cloud Console that /// aren't available on this API. Budget fields that are not exposed in /// this API will not be changed by this method. /// </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> UpdateBudgetAsync(UpdateBudgetRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_UpdateBudgetRequest(ref request, ref callSettings); return(_callUpdateBudget.Async(request, callSettings)); }
/// <summary> /// Updates a budget and returns the updated budget. /// /// WARNING: There are some fields exposed on the Google Cloud Console that /// aren't available on this API. Budget fields that are not exposed in /// this API will not be changed by this method. /// </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 UpdateBudget(UpdateBudgetRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_UpdateBudgetRequest(ref request, ref callSettings); return(_callUpdateBudget.Sync(request, callSettings)); }
partial void Modify_UpdateBudgetRequest(ref UpdateBudgetRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Updates a budget and returns the updated budget. /// /// WARNING: There are some fields exposed on the Google Cloud Console that /// aren't available on this API. Budget fields that are not exposed in /// this API will not be changed by this method. /// </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> UpdateBudgetAsync(UpdateBudgetRequest request, st::CancellationToken cancellationToken) => UpdateBudgetAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Updates a budget and returns the updated budget. /// /// WARNING: There are some fields exposed on the Google Cloud Console that /// aren't available on this API. Budget fields that are not exposed in /// this API will not be changed by this method. /// </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> UpdateBudgetAsync(UpdateBudgetRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();
/// <summary> /// Updates a budget and returns the updated budget. /// /// WARNING: There are some fields exposed on the Google Cloud Console that /// aren't available on this API. Budget fields that are not exposed in /// this API will not be changed by this method. /// </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 UpdateBudget(UpdateBudgetRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();