/// <summary>Snippet for GetSecuritySettings</summary> public void GetSecuritySettings() { // Snippet: GetSecuritySettings(string, CallSettings) // Create client SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create(); // Initialize request argument(s) string name = "projects/[PROJECT]/locations/[LOCATION]/securitySettings/[SECURITY_SETTINGS]"; // Make the request SecuritySettings response = securitySettingsServiceClient.GetSecuritySettings(name); // End snippet }
/// <summary>Snippet for GetSecuritySettings</summary> public void GetSecuritySettingsResourceNames() { // Snippet: GetSecuritySettings(SecuritySettingsName, CallSettings) // Create client SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create(); // Initialize request argument(s) SecuritySettingsName name = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]"); // Make the request SecuritySettings response = securitySettingsServiceClient.GetSecuritySettings(name); // End snippet }
/// <summary>Snippet for GetSecuritySettings</summary> public void GetSecuritySettingsRequestObject() { // Snippet: GetSecuritySettings(GetSecuritySettingsRequest, CallSettings) // Create client SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create(); // Initialize request argument(s) GetSecuritySettingsRequest request = new GetSecuritySettingsRequest { SecuritySettingsName = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]"), }; // Make the request SecuritySettings response = securitySettingsServiceClient.GetSecuritySettings(request); // End snippet }