/// <summary>Snippet for UpdateSecuritySettingsAsync</summary> public async Task UpdateSecuritySettingsAsync() { // Snippet: UpdateSecuritySettingsAsync(SecuritySettings, FieldMask, CallSettings) // Additional: UpdateSecuritySettingsAsync(SecuritySettings, FieldMask, CancellationToken) // Create client SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync(); // Initialize request argument(s) SecuritySettings securitySettings = new SecuritySettings(); FieldMask updateMask = new FieldMask(); // Make the request SecuritySettings response = await securitySettingsServiceClient.UpdateSecuritySettingsAsync(securitySettings, updateMask); // End snippet }
/// <summary>Snippet for UpdateSecuritySettingsAsync</summary> public async Task UpdateSecuritySettingsRequestObjectAsync() { // Snippet: UpdateSecuritySettingsAsync(UpdateSecuritySettingsRequest, CallSettings) // Additional: UpdateSecuritySettingsAsync(UpdateSecuritySettingsRequest, CancellationToken) // Create client SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync(); // Initialize request argument(s) UpdateSecuritySettingsRequest request = new UpdateSecuritySettingsRequest { SecuritySettings = new SecuritySettings(), UpdateMask = new FieldMask(), }; // Make the request SecuritySettings response = await securitySettingsServiceClient.UpdateSecuritySettingsAsync(request); // End snippet }