/// <summary>Snippet for DeleteSecuritySettingsAsync</summary> public async Task DeleteSecuritySettingsResourceNamesAsync() { // Snippet: DeleteSecuritySettingsAsync(SecuritySettingsName, CallSettings) // Additional: DeleteSecuritySettingsAsync(SecuritySettingsName, CancellationToken) // Create client SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync(); // Initialize request argument(s) SecuritySettingsName name = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]"); // Make the request await securitySettingsServiceClient.DeleteSecuritySettingsAsync(name); // End snippet }
/// <summary>Snippet for DeleteSecuritySettingsAsync</summary> public async Task DeleteSecuritySettingsAsync() { // Snippet: DeleteSecuritySettingsAsync(string, CallSettings) // Additional: DeleteSecuritySettingsAsync(string, CancellationToken) // Create client SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync(); // Initialize request argument(s) string name = "projects/[PROJECT]/locations/[LOCATION]/securitySettings/[SECURITY_SETTINGS]"; // Make the request await securitySettingsServiceClient.DeleteSecuritySettingsAsync(name); // End snippet }