/// <summary> /// Creates a new budget. See /// &lt;a href="https://cloud.google.com/billing/quotas"&gt;Quotas and limits&lt;/a&gt; /// for more information on the limits of the number of budgets you can create. /// </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> CreateBudgetAsync(CreateBudgetRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_CreateBudgetRequest(ref request, ref callSettings); return(_callCreateBudget.Async(request, callSettings)); }
/// <summary> /// Creates a new budget. See /// &lt;a href="https://cloud.google.com/billing/quotas"&gt;Quotas and limits&lt;/a&gt; /// for more information on the limits of the number of budgets you can create. /// </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 CreateBudget(CreateBudgetRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_CreateBudgetRequest(ref request, ref callSettings); return(_callCreateBudget.Sync(request, callSettings)); }
partial void Modify_CreateBudgetRequest(ref CreateBudgetRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Creates a new budget. See /// &lt;a href="https://cloud.google.com/billing/quotas"&gt;Quotas and limits&lt;/a&gt; /// for more information on the limits of the number of budgets you can create. /// </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> CreateBudgetAsync(CreateBudgetRequest request, st::CancellationToken cancellationToken) => CreateBudgetAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Creates a new budget. See /// &lt;a href="https://cloud.google.com/billing/quotas"&gt;Quotas and limits&lt;/a&gt; /// for more information on the limits of the number of budgets you can create. /// </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> CreateBudgetAsync(CreateBudgetRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();
/// <summary> /// Creates a new budget. See /// &lt;a href="https://cloud.google.com/billing/quotas"&gt;Quotas and limits&lt;/a&gt; /// for more information on the limits of the number of budgets you can create. /// </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 CreateBudget(CreateBudgetRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();