コード例 #1
0
 /// <summary>
 /// Returns an account-level budget proposal in full detail.
 /// </summary>
 /// <param name="resourceName">
 /// Required. The resource name of the account-level budget proposal to fetch.
 /// </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 <gagvr::AccountBudgetProposal> GetAccountBudgetProposalAsync(gagvr::AccountBudgetProposalName resourceName, st::CancellationToken cancellationToken) =>
 GetAccountBudgetProposalAsync(resourceName, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
コード例 #2
0
 /// <summary>
 /// Returns an account-level budget proposal in full detail.
 /// </summary>
 /// <param name="resourceName">
 /// Required. The resource name of the account-level budget proposal to fetch.
 /// </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 <gagvr::AccountBudgetProposal> GetAccountBudgetProposalAsync(gagvr::AccountBudgetProposalName resourceName, gaxgrpc::CallSettings callSettings = null) =>
 GetAccountBudgetProposalAsync(new GetAccountBudgetProposalRequest
 {
     ResourceNameAsAccountBudgetProposalName = gax::GaxPreconditions.CheckNotNull(resourceName, nameof(resourceName)),
 }, callSettings);