code: public final ScanRun getScanRun(ScanRunName name) {
  
      GetScanRunRequest request =
          GetScanRunRequest.newBuilder().setName(name == null ? null : name.toString()).build();
      return getScanRun(request);
    }
docs: Gets a ScanRun.
  
  <p>Sample code:
  
  <pre><code>
  try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
  ScanRunName name = ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
  ScanRun response = webSecurityScannerClient.getScanRun(name);
  }
  </code></pre>
  
  @param name Required. The resource name of the ScanRun to be returned. The name follows the
  format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails