Ejemplo n.º 1
0
 /// <summary>
 /// Creates, updates, or removes account budget proposals.  Operation statuses
 /// are returned.
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer.
 /// </param>
 /// <param name="operation">
 /// Required. 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));
Ejemplo n.º 2
0
 /// <summary>
 /// Creates, updates, or removes account budget proposals.  Operation statuses
 /// are returned.
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer.
 /// </param>
 /// <param name="operation">
 /// Required. 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);
Ejemplo n.º 3
0
 /// <summary>
 /// Creates, updates, or removes account budget proposals.  Operation statuses
 /// are returned.
 /// </summary>
 /// <param name="customerId">
 /// Required. The ID of the customer.
 /// </param>
 /// <param name="operation">
 /// Required. The operation to perform on an individual account-level budget proposal.
 /// </param>
 /// <param name="validateOnly">
 /// If true, the request is validated but not executed. Only errors are
 /// returned, not results.
 /// </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 <MutateAccountBudgetProposalResponse> MutateAccountBudgetProposalAsync(
     string customerId,
     AccountBudgetProposalOperation operation,
     bool?validateOnly,
     gaxgrpc::CallSettings callSettings = null) => MutateAccountBudgetProposalAsync(
     new MutateAccountBudgetProposalRequest
 {
     CustomerId   = gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)),
     Operation    = gax::GaxPreconditions.CheckNotNull(operation, nameof(operation)),
     ValidateOnly = validateOnly ?? false,         // Optional
 },
     callSettings);