code: public final ScanConfig createScanConfig(String parent, ScanConfig scanConfig) {
  
      CreateScanConfigRequest request =
          CreateScanConfigRequest.newBuilder().setParent(parent).setScanConfig(scanConfig).build();
      return createScanConfig(request);
    }
docs: Creates a new ScanConfig.
  
  <p>Sample code:
  
  <pre><code>
  try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
  ProjectName parent = ProjectName.of("[PROJECT]");
  ScanConfig scanConfig = ScanConfig.newBuilder().build();
  ScanConfig response = webSecurityScannerClient.createScanConfig(parent.toString(), scanConfig);
  }
  </code></pre>
  
  @param parent Required. The parent resource name where the scan is created, which should be a
  project resource name in the format 'projects/{projectId}'.
  @param scanConfig Required. The ScanConfig to be created.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails