/// <summary>Snippet for UpdateScanConfig</summary> public void UpdateScanConfig() { // Snippet: UpdateScanConfig(ScanConfigName,ScanConfig,CallSettings) // Create client ContainerAnalysisV1Beta1Client containerAnalysisV1Beta1Client = ContainerAnalysisV1Beta1Client.Create(); // Initialize request argument(s) ScanConfigName name = new ScanConfigName("[PROJECT]", "[SCAN_CONFIG]"); ScanConfig scanConfig = new ScanConfig(); // Make the request ScanConfig response = containerAnalysisV1Beta1Client.UpdateScanConfig(name, scanConfig); // End snippet }
/// <summary>Snippet for UpdateScanConfig</summary> public void UpdateScanConfig_RequestObject() { // Snippet: UpdateScanConfig(UpdateScanConfigRequest,CallSettings) // Create client ContainerAnalysisV1Beta1Client containerAnalysisV1Beta1Client = ContainerAnalysisV1Beta1Client.Create(); // Initialize request argument(s) UpdateScanConfigRequest request = new UpdateScanConfigRequest { ScanConfigName = new ScanConfigName("[PROJECT]", "[SCAN_CONFIG]"), ScanConfig = new ScanConfig(), }; // Make the request ScanConfig response = containerAnalysisV1Beta1Client.UpdateScanConfig(request); // End snippet }