/// <summary>Snippet for UpdateWebhookAsync</summary> public async Task UpdateWebhookRequestObjectAsync() { // Snippet: UpdateWebhookAsync(UpdateWebhookRequest, CallSettings) // Additional: UpdateWebhookAsync(UpdateWebhookRequest, CancellationToken) // Create client WebhooksClient webhooksClient = await WebhooksClient.CreateAsync(); // Initialize request argument(s) UpdateWebhookRequest request = new UpdateWebhookRequest { Webhook = new Webhook(), UpdateMask = new FieldMask(), }; // Make the request Webhook response = await webhooksClient.UpdateWebhookAsync(request); // End snippet }