/// <summary>Snippet for UpdateBudgetAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task UpdateBudgetAsync() { // Create client BudgetServiceClient budgetServiceClient = await BudgetServiceClient.CreateAsync(); // Initialize request argument(s) Budget budget = new Budget(); FieldMask updateMask = new FieldMask(); // Make the request Budget response = await budgetServiceClient.UpdateBudgetAsync(budget, updateMask); }
/// <summary>Snippet for UpdateBudgetAsync</summary> /// <remarks> /// This snippet has been automatically generated for illustrative purposes only. /// It may require modifications to work in your environment. /// </remarks> public async Task UpdateBudgetRequestObjectAsync() { // Create client BudgetServiceClient budgetServiceClient = await BudgetServiceClient.CreateAsync(); // Initialize request argument(s) UpdateBudgetRequest request = new UpdateBudgetRequest { Budget = new Budget(), UpdateMask = new FieldMask(), }; // Make the request Budget response = await budgetServiceClient.UpdateBudgetAsync(request); }
/// <summary>Snippet for UpdateBudgetAsync</summary> public async Task UpdateBudgetAsync() { // Snippet: UpdateBudgetAsync(Budget, FieldMask, CallSettings) // Additional: UpdateBudgetAsync(Budget, FieldMask, CancellationToken) // Create client BudgetServiceClient budgetServiceClient = await BudgetServiceClient.CreateAsync(); // Initialize request argument(s) Budget budget = new Budget(); FieldMask updateMask = new FieldMask(); // Make the request Budget response = await budgetServiceClient.UpdateBudgetAsync(budget, updateMask); // End snippet }
/// <summary>Snippet for UpdateBudgetAsync</summary> public async Task UpdateBudgetRequestObjectAsync() { // Snippet: UpdateBudgetAsync(UpdateBudgetRequest, CallSettings) // Additional: UpdateBudgetAsync(UpdateBudgetRequest, CancellationToken) // Create client BudgetServiceClient budgetServiceClient = await BudgetServiceClient.CreateAsync(); // Initialize request argument(s) UpdateBudgetRequest request = new UpdateBudgetRequest { Budget = new Budget(), UpdateMask = new FieldMask(), }; // Make the request Budget response = await budgetServiceClient.UpdateBudgetAsync(request); // End snippet }