예제 #1
0
 /// <summary>
 /// Creates, updates, or removes account budget proposals.  Operation statuses
 /// are returned.
 /// </summary>
 /// <param name="customerId">
 /// The ID of the customer.
 /// </param>
 /// <param name="operation">
 /// The operation to perform on an individual account-level budget proposal.
 /// </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 <MutateAccountBudgetProposalResponse> MutateAccountBudgetProposalAsync(
     string customerId,
     AccountBudgetProposalOperation operation,
     st::CancellationToken cancellationToken) => MutateAccountBudgetProposalAsync(
     customerId,
     operation,
     gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
예제 #2
0
 /// <summary>
 /// Creates, updates, or removes account budget proposals.  Operation statuses
 /// are returned.
 /// </summary>
 /// <param name="customerId">
 /// The ID of the customer.
 /// </param>
 /// <param name="operation">
 /// The operation to perform on an individual account-level budget proposal.
 /// </param>
 /// <param name="callSettings">
 /// If not null, applies overrides to this RPC call.
 /// </param>
 /// <returns>
 /// The RPC response.
 /// </returns>
 public virtual MutateAccountBudgetProposalResponse MutateAccountBudgetProposal(
     string customerId,
     AccountBudgetProposalOperation operation,
     gaxgrpc::CallSettings callSettings = null) => MutateAccountBudgetProposal(
     new MutateAccountBudgetProposalRequest
 {
     CustomerId = gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)),
     Operation  = gax::GaxPreconditions.CheckNotNull(operation, nameof(operation)),
 },
     callSettings);