Beispiel #1
0
 /// <summary>
 /// Creates a billing setup, or cancels an existing billing setup.
 /// </summary>
 /// <param name="customerId">
 /// Required. Id of the customer to apply the billing setup mutate operation to.
 /// </param>
 /// <param name="operation">
 /// Required. The operation to perform.
 /// </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 <MutateBillingSetupResponse> MutateBillingSetupAsync(string customerId, BillingSetupOperation operation, st::CancellationToken cancellationToken) =>
 MutateBillingSetupAsync(customerId, operation, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
Beispiel #2
0
 /// <summary>
 /// Creates a billing setup, or cancels an existing billing setup.
 /// </summary>
 /// <param name="customerId">
 /// Required. Id of the customer to apply the billing setup mutate operation to.
 /// </param>
 /// <param name="operation">
 /// Required. The operation to perform.
 /// </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 <MutateBillingSetupResponse> MutateBillingSetupAsync(string customerId, BillingSetupOperation operation, gaxgrpc::CallSettings callSettings = null) =>
 MutateBillingSetupAsync(new MutateBillingSetupRequest
 {
     CustomerId = gax::GaxPreconditions.CheckNotNullOrEmpty(customerId, nameof(customerId)),
     Operation  = gax::GaxPreconditions.CheckNotNull(operation, nameof(operation)),
 }, callSettings);