code: public final ListScanRunsPagedResponse listScanRuns(ScanConfigName parent) {
      ListScanRunsRequest request =
          ListScanRunsRequest.newBuilder()
              .setParent(parent == null ? null : parent.toString())
              .build();
      return listScanRuns(request);
    }
docs: Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
  
  <p>Sample code:
  
  <pre><code>
  try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
  ScanConfigName parent = ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]");
  for (ScanRun element : webSecurityScannerClient.listScanRuns(parent).iterateAll()) {
  // doThingsWith(element);
  }
  }
  </code></pre>
  
  @param parent Required. The parent resource name, which should be a scan resource name in the
  format 'projects/{projectId}/scanConfigs/{scanConfigId}'.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails