code: public final ScanConfig updateScanConfig(String name, ScanConfig scanConfig) {
  
      UpdateScanConfigRequest request =
          UpdateScanConfigRequest.newBuilder().setName(name).setScanConfig(scanConfig).build();
      return updateScanConfig(request);
    }
docs: Updates the specified scan configuration.
  
  <p>Sample code:
  
  <pre><code>
  try (ContainerAnalysisV1Beta1Client containerAnalysisV1Beta1Client = ContainerAnalysisV1Beta1Client.create()) {
  ScanConfigName name = ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]");
  ScanConfig scanConfig = ScanConfig.newBuilder().build();
  ScanConfig response = containerAnalysisV1Beta1Client.updateScanConfig(name.toString(), scanConfig);
  }
  </code></pre>
  
  @param name The name of the scan configuration in the form of
  `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
  @param scanConfig The updated scan configuration.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails