# Class WebSecurityScannerClient (2.93.0)

2.93.0 (latest) 2.91.0 2.88.0 2.87.0 2.85.0 2.83.0 2.82.0 2.80.0 2.78.0 2.76.0 2.75.0 2.74.0 2.73.0 2.72.0 2.70.0 2.68.0 2.67.0 2.64.0 2.63.0 2.62.0 2.60.0 2.59.0 2.58.0 2.57.0 2.56.0 2.55.0 2.54.0 2.53.0 2.52.0 2.51.0 2.49.0 2.48.0 2.47.0 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.0 2.40.0 2.39.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.0 2.27.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.4 2.1.1 2.0.15

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

|---|---|
| [GitHub Repository](https://github.com/googleapis/google-cloud-java/tree/main/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerClient.java) | [Product Reference](https://cloud.google.com/security-scanner/docs/) |

Service Description: Cloud Web Security Scanner Service identifies security vulnerabilities in
web applications hosted on Google Cloud Platform. It crawls your application, and attempts to
exercise as many user inputs and event handlers as possible.

This class provides the ability to make remote calls to the backing service through method
calls that map to API methods. Sample code to get started:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       ScanConfig scanConfig = ScanConfig.newBuilder().build();
       ScanConfig response = webSecurityScannerClient.createScanConfig(parent, scanConfig);
     }
     
Note: close() needs to be called on the WebSecurityScannerClient object to clean up resources
such as threads. In the example above, try-with-resources is used, which automatically calls
close().

| Method | Description | Method Variants |
|---|---|---|
| CreateScanConfig | Creates a new ScanConfig. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - createScanConfig(CreateScanConfigRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - createScanConfig(ProjectName parent, ScanConfig scanConfig) - createScanConfig(String parent, ScanConfig scanConfig) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - createScanConfigCallable() |
| DeleteScanConfig | Deletes an existing ScanConfig and its child resources. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - deleteScanConfig(DeleteScanConfigRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - deleteScanConfig(ScanConfigName name) - deleteScanConfig(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - deleteScanConfigCallable() |
| GetScanConfig | Gets a ScanConfig. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getScanConfig(GetScanConfigRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - getScanConfig(ScanConfigName name) - getScanConfig(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getScanConfigCallable() |
| ListScanConfigs | Lists ScanConfigs under a given project. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - listScanConfigs(ListScanConfigsRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - listScanConfigs(ProjectName parent) - listScanConfigs(String parent) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - listScanConfigsPagedCallable() - listScanConfigsCallable() |
| UpdateScanConfig | Updates a ScanConfig. This method support partial update of a ScanConfig. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - updateScanConfig(UpdateScanConfigRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - updateScanConfig(ScanConfig scanConfig, FieldMask updateMask) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - updateScanConfigCallable() |
| StartScanRun | Start a ScanRun according to the given ScanConfig. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - startScanRun(StartScanRunRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - startScanRun(ScanConfigName name) - startScanRun(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - startScanRunCallable() |
| GetScanRun | Gets a ScanRun. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getScanRun(GetScanRunRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - getScanRun(ScanRunName name) - getScanRun(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getScanRunCallable() |
| ListScanRuns | Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - listScanRuns(ListScanRunsRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - listScanRuns(ScanConfigName parent) - listScanRuns(String parent) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - listScanRunsPagedCallable() - listScanRunsCallable() |
| StopScanRun | Stops a ScanRun. The stopped ScanRun is returned. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - stopScanRun(StopScanRunRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - stopScanRun(ScanRunName name) - stopScanRun(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - stopScanRunCallable() |
| ListCrawledUrls | List CrawledUrls under a given ScanRun. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - listCrawledUrls(ListCrawledUrlsRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - listCrawledUrls(ScanRunName parent) - listCrawledUrls(String parent) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - listCrawledUrlsPagedCallable() - listCrawledUrlsCallable() |
| GetFinding | Gets a Finding. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - getFinding(GetFindingRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - getFinding(FindingName name) - getFinding(String name) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - getFindingCallable() |
| ListFindings | List Findings under a given ScanRun. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - listFindings(ListFindingsRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - listFindings(ScanRunName parent, String filter) - listFindings(String parent, String filter) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - listFindingsPagedCallable() - listFindingsCallable() |
| ListFindingTypeStats | List all FindingTypeStats under a given ScanRun. | Request object method variants only take one parameter, a request object, which must be constructed before the call. - listFindingTypeStats(ListFindingTypeStatsRequest request) "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. - listFindingTypeStats(ScanRunName parent) - listFindingTypeStats(String parent) Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. - listFindingTypeStatsCallable() |
[Methods]

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with
these names, this class includes a format method for each type of name, and additionally a parse
method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of WebSecurityScannerSettings to
create(). For example:

To customize credentials:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     WebSecurityScannerSettings webSecurityScannerSettings =
         WebSecurityScannerSettings.newBuilder()
             .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
             .build();
     WebSecurityScannerClient webSecurityScannerClient =
         WebSecurityScannerClient.create(webSecurityScannerSettings);
     
To customize the endpoint:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     WebSecurityScannerSettings webSecurityScannerSettings =
         WebSecurityScannerSettings.newBuilder().setEndpoint(myEndpoint).build();
     WebSecurityScannerClient webSecurityScannerClient =
         WebSecurityScannerClient.create(webSecurityScannerSettings);
     
To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over
the wire:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     WebSecurityScannerSettings webSecurityScannerSettings =
         WebSecurityScannerSettings.newHttpJsonBuilder().build();
     WebSecurityScannerClient webSecurityScannerClient =
         WebSecurityScannerClient.create(webSecurityScannerSettings);
     
Please refer to the GitHub repository's samples for more quickstart code snippets.

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> WebSecurityScannerClient

## Static Methods

### create()

    public static final WebSecurityScannerClient create()

Constructs an instance of WebSecurityScannerClient with default settings.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### create(WebSecurityScannerSettings settings)

    public static final WebSecurityScannerClient create(WebSecurityScannerSettings settings)

Constructs an instance of WebSecurityScannerClient, using the given settings. The channels are
created based on the settings passed in, or defaults for any settings that are not set.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `settings` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerSettings` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### create(WebSecurityScannerStub stub)

    public static final WebSecurityScannerClient create(WebSecurityScannerStub stub)

Constructs an instance of WebSecurityScannerClient, using the given stub for making calls. This
is for advanced usage - prefer using create(WebSecurityScannerSettings).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `stub` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.stub.WebSecurityScannerStub` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient` |   |

## Constructors

### WebSecurityScannerClient(WebSecurityScannerSettings settings)

    protected WebSecurityScannerClient(WebSecurityScannerSettings settings)

Constructs an instance of WebSecurityScannerClient, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `settings` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerSettings` |

### WebSecurityScannerClient(WebSecurityScannerStub stub)

    protected WebSecurityScannerClient(WebSecurityScannerStub stub)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `stub` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.stub.WebSecurityScannerStub` |

## Methods

### awaitTermination(long duration, TimeUnit unit)

    public boolean awaitTermination(long duration, TimeUnit unit)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `duration` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |
| `unit` | `https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html` |   |

### close()

    public final void close()

### createScanConfig(CreateScanConfigRequest request)

    public final ScanConfig createScanConfig(CreateScanConfigRequest request)

Creates a new ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       CreateScanConfigRequest request =
           CreateScanConfigRequest.newBuilder()
               .setParent(ProjectName.of("[PROJECT]").toString())
               .setScanConfig(ScanConfig.newBuilder().build())
               .build();
       ScanConfig response = webSecurityScannerClient.createScanConfig(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.CreateScanConfigRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfig` |   |

### createScanConfig(ProjectName parent, ScanConfig scanConfig)

    public final ScanConfig createScanConfig(ProjectName parent, ScanConfig scanConfig)

Creates a new ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       ScanConfig scanConfig = ScanConfig.newBuilder().build();
       ScanConfig response = webSecurityScannerClient.createScanConfig(parent, scanConfig);
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ProjectName` Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'. |
| `scanConfig` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfig` Required. The ScanConfig to be created. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfig` |   |

### createScanConfig(String parent, ScanConfig scanConfig)

    public final ScanConfig createScanConfig(String parent, ScanConfig scanConfig)

Creates a new ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       ScanConfig scanConfig = ScanConfig.newBuilder().build();
       ScanConfig response = webSecurityScannerClient.createScanConfig(parent, scanConfig);
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'. |
| `scanConfig` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfig` Required. The ScanConfig to be created. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfig` |   |

### createScanConfigCallable()

    public final UnaryCallable<CreateScanConfigRequest,ScanConfig> createScanConfigCallable()

Creates a new ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       CreateScanConfigRequest request =
           CreateScanConfigRequest.newBuilder()
               .setParent(ProjectName.of("[PROJECT]").toString())
               .setScanConfig(ScanConfig.newBuilder().build())
               .build();
       ApiFuture<ScanConfig> future =
           webSecurityScannerClient.createScanConfigCallable().futureCall(request);
       // Do something.
       ScanConfig response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.CreateScanConfigRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfig>` |   |

### deleteScanConfig(DeleteScanConfigRequest request)

    public final void deleteScanConfig(DeleteScanConfigRequest request)

Deletes an existing ScanConfig and its child resources.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       DeleteScanConfigRequest request =
           DeleteScanConfigRequest.newBuilder()
               .setName(ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]").toString())
               .build();
       webSecurityScannerClient.deleteScanConfig(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.DeleteScanConfigRequest` The request object containing all of the parameters for the API call. |

### deleteScanConfig(ScanConfigName name)

    public final void deleteScanConfig(ScanConfigName name)

Deletes an existing ScanConfig and its child resources.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ScanConfigName name = ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]");
       webSecurityScannerClient.deleteScanConfig(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfigName` Required. The resource name of the ScanConfig to be deleted. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. |

### deleteScanConfig(String name)

    public final void deleteScanConfig(String name)

Deletes an existing ScanConfig and its child resources.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       String name = ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]").toString();
       webSecurityScannerClient.deleteScanConfig(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The resource name of the ScanConfig to be deleted. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. |

### deleteScanConfigCallable()

    public final UnaryCallable<DeleteScanConfigRequest,Empty> deleteScanConfigCallable()

Deletes an existing ScanConfig and its child resources.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       DeleteScanConfigRequest request =
           DeleteScanConfigRequest.newBuilder()
               .setName(ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]").toString())
               .build();
       ApiFuture<Empty> future =
           webSecurityScannerClient.deleteScanConfigCallable().futureCall(request);
       // Do something.
       future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.DeleteScanConfigRequest,https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html>` |   |

### getFinding(FindingName name)

    public final Finding getFinding(FindingName name)

Gets a Finding.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       FindingName name = FindingName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]", "[FINDING]");
       Finding response = webSecurityScannerClient.getFinding(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.FindingName` Required. The resource name of the Finding to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.Finding` |   |

### getFinding(GetFindingRequest request)

    public final Finding getFinding(GetFindingRequest request)

Gets a Finding.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       GetFindingRequest request =
           GetFindingRequest.newBuilder()
               .setName(
                   FindingName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]", "[FINDING]")
                       .toString())
               .build();
       Finding response = webSecurityScannerClient.getFinding(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.GetFindingRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.Finding` |   |

### getFinding(String name)

    public final Finding getFinding(String name)

Gets a Finding.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       String name =
           FindingName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]", "[FINDING]").toString();
       Finding response = webSecurityScannerClient.getFinding(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The resource name of the Finding to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.Finding` |   |

### getFindingCallable()

    public final UnaryCallable<GetFindingRequest,Finding> getFindingCallable()

Gets a Finding.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       GetFindingRequest request =
           GetFindingRequest.newBuilder()
               .setName(
                   FindingName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]", "[FINDING]")
                       .toString())
               .build();
       ApiFuture<Finding> future = webSecurityScannerClient.getFindingCallable().futureCall(request);
       // Do something.
       Finding response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.GetFindingRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.Finding>` |   |

### getScanConfig(GetScanConfigRequest request)

    public final ScanConfig getScanConfig(GetScanConfigRequest request)

Gets a ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       GetScanConfigRequest request =
           GetScanConfigRequest.newBuilder()
               .setName(ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]").toString())
               .build();
       ScanConfig response = webSecurityScannerClient.getScanConfig(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.GetScanConfigRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfig` |   |

### getScanConfig(ScanConfigName name)

    public final ScanConfig getScanConfig(ScanConfigName name)

Gets a ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ScanConfigName name = ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]");
       ScanConfig response = webSecurityScannerClient.getScanConfig(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfigName` Required. The resource name of the ScanConfig to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfig` |   |

### getScanConfig(String name)

    public final ScanConfig getScanConfig(String name)

Gets a ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       String name = ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]").toString();
       ScanConfig response = webSecurityScannerClient.getScanConfig(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The resource name of the ScanConfig to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfig` |   |

### getScanConfigCallable()

    public final UnaryCallable<GetScanConfigRequest,ScanConfig> getScanConfigCallable()

Gets a ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       GetScanConfigRequest request =
           GetScanConfigRequest.newBuilder()
               .setName(ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]").toString())
               .build();
       ApiFuture<ScanConfig> future =
           webSecurityScannerClient.getScanConfigCallable().futureCall(request);
       // Do something.
       ScanConfig response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.GetScanConfigRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfig>` |   |

### getScanRun(GetScanRunRequest request)

    public final ScanRun getScanRun(GetScanRunRequest request)

Gets a ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       GetScanRunRequest request =
           GetScanRunRequest.newBuilder()
               .setName(ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString())
               .build();
       ScanRun response = webSecurityScannerClient.getScanRun(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.GetScanRunRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRun` |   |

### getScanRun(ScanRunName name)

    public final ScanRun getScanRun(ScanRunName name)

Gets a ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ScanRunName name = ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
       ScanRun response = webSecurityScannerClient.getScanRun(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRunName` Required. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRun` |   |

### getScanRun(String name)

    public final ScanRun getScanRun(String name)

Gets a ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       String name = ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString();
       ScanRun response = webSecurityScannerClient.getScanRun(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRun` |   |

### getScanRunCallable()

    public final UnaryCallable<GetScanRunRequest,ScanRun> getScanRunCallable()

Gets a ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       GetScanRunRequest request =
           GetScanRunRequest.newBuilder()
               .setName(ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString())
               .build();
       ApiFuture<ScanRun> future = webSecurityScannerClient.getScanRunCallable().futureCall(request);
       // Do something.
       ScanRun response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.GetScanRunRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRun>` |   |

### getSettings()

    public final WebSecurityScannerSettings getSettings()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerSettings` |   |

### getStub()

    public WebSecurityScannerStub getStub()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.stub.WebSecurityScannerStub` |   |

### isShutdown()

    public boolean isShutdown()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### isTerminated()

    public boolean isTerminated()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### listCrawledUrls(ListCrawledUrlsRequest request)

    public final WebSecurityScannerClient.ListCrawledUrlsPagedResponse listCrawledUrls(ListCrawledUrlsRequest request)

List CrawledUrls under a given ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ListCrawledUrlsRequest request =
           ListCrawledUrlsRequest.newBuilder()
               .setParent(ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString())
               .setPageToken("pageToken873572522")
               .setPageSize(883849137)
               .build();
       for (CrawledUrl element : webSecurityScannerClient.listCrawledUrls(request).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListCrawledUrlsPagedResponse` |   |

### listCrawledUrls(ScanRunName parent)

    public final WebSecurityScannerClient.ListCrawledUrlsPagedResponse listCrawledUrls(ScanRunName parent)

List CrawledUrls under a given ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ScanRunName parent = ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
       for (CrawledUrl element : webSecurityScannerClient.listCrawledUrls(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRunName` Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListCrawledUrlsPagedResponse` |   |

### listCrawledUrls(String parent)

    public final WebSecurityScannerClient.ListCrawledUrlsPagedResponse listCrawledUrls(String parent)

List CrawledUrls under a given ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       String parent = ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString();
       for (CrawledUrl element : webSecurityScannerClient.listCrawledUrls(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListCrawledUrlsPagedResponse` |   |

### listCrawledUrlsCallable()

    public final UnaryCallable<ListCrawledUrlsRequest,ListCrawledUrlsResponse> listCrawledUrlsCallable()

List CrawledUrls under a given ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ListCrawledUrlsRequest request =
           ListCrawledUrlsRequest.newBuilder()
               .setParent(ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString())
               .setPageToken("pageToken873572522")
               .setPageSize(883849137)
               .build();
       while (true) {
         ListCrawledUrlsResponse response =
             webSecurityScannerClient.listCrawledUrlsCallable().call(request);
         for (CrawledUrl element : response.getCrawledUrlsList()) {
           // doThingsWith(element);
         }
         String nextPageToken = response.getNextPageToken();
         if (!Strings.isNullOrEmpty(nextPageToken)) {
           request = request.toBuilder().setPageToken(nextPageToken).build();
         } else {
           break;
         }
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsResponse>` |   |

### listCrawledUrlsPagedCallable()

    public final UnaryCallable<ListCrawledUrlsRequest,WebSecurityScannerClient.ListCrawledUrlsPagedResponse> listCrawledUrlsPagedCallable()

List CrawledUrls under a given ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ListCrawledUrlsRequest request =
           ListCrawledUrlsRequest.newBuilder()
               .setParent(ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString())
               .setPageToken("pageToken873572522")
               .setPageSize(883849137)
               .build();
       ApiFuture<CrawledUrl> future =
           webSecurityScannerClient.listCrawledUrlsPagedCallable().futureCall(request);
       // Do something.
       for (CrawledUrl element : future.get().iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListCrawledUrlsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListCrawledUrlsPagedResponse>` |   |

### listFindingTypeStats(ListFindingTypeStatsRequest request)

    public final ListFindingTypeStatsResponse listFindingTypeStats(ListFindingTypeStatsRequest request)

List all FindingTypeStats under a given ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ListFindingTypeStatsRequest request =
           ListFindingTypeStatsRequest.newBuilder()
               .setParent(ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString())
               .build();
       ListFindingTypeStatsResponse response =
           webSecurityScannerClient.listFindingTypeStats(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsResponse` |   |

### listFindingTypeStats(ScanRunName parent)

    public final ListFindingTypeStatsResponse listFindingTypeStats(ScanRunName parent)

List all FindingTypeStats under a given ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ScanRunName parent = ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
       ListFindingTypeStatsResponse response = webSecurityScannerClient.listFindingTypeStats(parent);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRunName` Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsResponse` |   |

### listFindingTypeStats(String parent)

    public final ListFindingTypeStatsResponse listFindingTypeStats(String parent)

List all FindingTypeStats under a given ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       String parent = ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString();
       ListFindingTypeStatsResponse response = webSecurityScannerClient.listFindingTypeStats(parent);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsResponse` |   |

### listFindingTypeStatsCallable()

    public final UnaryCallable<ListFindingTypeStatsRequest,ListFindingTypeStatsResponse> listFindingTypeStatsCallable()

List all FindingTypeStats under a given ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ListFindingTypeStatsRequest request =
           ListFindingTypeStatsRequest.newBuilder()
               .setParent(ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString())
               .build();
       ApiFuture<ListFindingTypeStatsResponse> future =
           webSecurityScannerClient.listFindingTypeStatsCallable().futureCall(request);
       // Do something.
       ListFindingTypeStatsResponse response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListFindingTypeStatsResponse>` |   |

### listFindings(ListFindingsRequest request)

    public final WebSecurityScannerClient.ListFindingsPagedResponse listFindings(ListFindingsRequest request)

List Findings under a given ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ListFindingsRequest request =
           ListFindingsRequest.newBuilder()
               .setParent(ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString())
               .setFilter("filter-1274492040")
               .setPageToken("pageToken873572522")
               .setPageSize(883849137)
               .build();
       for (Finding element : webSecurityScannerClient.listFindings(request).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListFindingsRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListFindingsPagedResponse` |   |

### listFindings(ScanRunName parent, String filter)

    public final WebSecurityScannerClient.ListFindingsPagedResponse listFindings(ScanRunName parent, String filter)

List Findings under a given ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ScanRunName parent = ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
       String filter = "filter-1274492040";
       for (Finding element : webSecurityScannerClient.listFindings(parent, filter).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRunName` Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. |
| `filter` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The filter expression. The expression must be in the format: \<field\> \<operator\> \<value\>. Supported field: 'finding_type'. Supported operator: '='. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListFindingsPagedResponse` |   |

### listFindings(String parent, String filter)

    public final WebSecurityScannerClient.ListFindingsPagedResponse listFindings(String parent, String filter)

List Findings under a given ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       String parent = ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString();
       String filter = "filter-1274492040";
       for (Finding element : webSecurityScannerClient.listFindings(parent, filter).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. |
| `filter` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The filter expression. The expression must be in the format: \<field\> \<operator\> \<value\>. Supported field: 'finding_type'. Supported operator: '='. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListFindingsPagedResponse` |   |

### listFindingsCallable()

    public final UnaryCallable<ListFindingsRequest,ListFindingsResponse> listFindingsCallable()

List Findings under a given ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ListFindingsRequest request =
           ListFindingsRequest.newBuilder()
               .setParent(ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString())
               .setFilter("filter-1274492040")
               .setPageToken("pageToken873572522")
               .setPageSize(883849137)
               .build();
       while (true) {
         ListFindingsResponse response =
             webSecurityScannerClient.listFindingsCallable().call(request);
         for (Finding element : response.getFindingsList()) {
           // doThingsWith(element);
         }
         String nextPageToken = response.getNextPageToken();
         if (!Strings.isNullOrEmpty(nextPageToken)) {
           request = request.toBuilder().setPageToken(nextPageToken).build();
         } else {
           break;
         }
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListFindingsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListFindingsResponse>` |   |

### listFindingsPagedCallable()

    public final UnaryCallable<ListFindingsRequest,WebSecurityScannerClient.ListFindingsPagedResponse> listFindingsPagedCallable()

List Findings under a given ScanRun.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ListFindingsRequest request =
           ListFindingsRequest.newBuilder()
               .setParent(ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString())
               .setFilter("filter-1274492040")
               .setPageToken("pageToken873572522")
               .setPageSize(883849137)
               .build();
       ApiFuture<Finding> future =
           webSecurityScannerClient.listFindingsPagedCallable().futureCall(request);
       // Do something.
       for (Finding element : future.get().iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListFindingsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListFindingsPagedResponse>` |   |

### listScanConfigs(ListScanConfigsRequest request)

    public final WebSecurityScannerClient.ListScanConfigsPagedResponse listScanConfigs(ListScanConfigsRequest request)

Lists ScanConfigs under a given project.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ListScanConfigsRequest request =
           ListScanConfigsRequest.newBuilder()
               .setParent(ProjectName.of("[PROJECT]").toString())
               .setPageToken("pageToken873572522")
               .setPageSize(883849137)
               .build();
       for (ScanConfig element : webSecurityScannerClient.listScanConfigs(request).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListScanConfigsRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListScanConfigsPagedResponse` |   |

### listScanConfigs(ProjectName parent)

    public final WebSecurityScannerClient.ListScanConfigsPagedResponse listScanConfigs(ProjectName parent)

Lists ScanConfigs under a given project.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ProjectName parent = ProjectName.of("[PROJECT]");
       for (ScanConfig element : webSecurityScannerClient.listScanConfigs(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ProjectName` Required. The parent resource name, which should be a project resource name in the format 'projects/{projectId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListScanConfigsPagedResponse` |   |

### listScanConfigs(String parent)

    public final WebSecurityScannerClient.ListScanConfigsPagedResponse listScanConfigs(String parent)

Lists ScanConfigs under a given project.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       String parent = ProjectName.of("[PROJECT]").toString();
       for (ScanConfig element : webSecurityScannerClient.listScanConfigs(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent resource name, which should be a project resource name in the format 'projects/{projectId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListScanConfigsPagedResponse` |   |

### listScanConfigsCallable()

    public final UnaryCallable<ListScanConfigsRequest,ListScanConfigsResponse> listScanConfigsCallable()

Lists ScanConfigs under a given project.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ListScanConfigsRequest request =
           ListScanConfigsRequest.newBuilder()
               .setParent(ProjectName.of("[PROJECT]").toString())
               .setPageToken("pageToken873572522")
               .setPageSize(883849137)
               .build();
       while (true) {
         ListScanConfigsResponse response =
             webSecurityScannerClient.listScanConfigsCallable().call(request);
         for (ScanConfig element : response.getScanConfigsList()) {
           // doThingsWith(element);
         }
         String nextPageToken = response.getNextPageToken();
         if (!Strings.isNullOrEmpty(nextPageToken)) {
           request = request.toBuilder().setPageToken(nextPageToken).build();
         } else {
           break;
         }
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListScanConfigsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListScanConfigsResponse>` |   |

### listScanConfigsPagedCallable()

    public final UnaryCallable<ListScanConfigsRequest,WebSecurityScannerClient.ListScanConfigsPagedResponse> listScanConfigsPagedCallable()

Lists ScanConfigs under a given project.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ListScanConfigsRequest request =
           ListScanConfigsRequest.newBuilder()
               .setParent(ProjectName.of("[PROJECT]").toString())
               .setPageToken("pageToken873572522")
               .setPageSize(883849137)
               .build();
       ApiFuture<ScanConfig> future =
           webSecurityScannerClient.listScanConfigsPagedCallable().futureCall(request);
       // Do something.
       for (ScanConfig element : future.get().iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListScanConfigsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListScanConfigsPagedResponse>` |   |

### listScanRuns(ListScanRunsRequest request)

    public final WebSecurityScannerClient.ListScanRunsPagedResponse listScanRuns(ListScanRunsRequest request)

Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ListScanRunsRequest request =
           ListScanRunsRequest.newBuilder()
               .setParent(ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]").toString())
               .setPageToken("pageToken873572522")
               .setPageSize(883849137)
               .build();
       for (ScanRun element : webSecurityScannerClient.listScanRuns(request).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListScanRunsRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListScanRunsPagedResponse` |   |

### listScanRuns(ScanConfigName parent)

    public final WebSecurityScannerClient.ListScanRunsPagedResponse listScanRuns(ScanConfigName parent)

Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ScanConfigName parent = ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]");
       for (ScanRun element : webSecurityScannerClient.listScanRuns(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfigName` Required. The parent resource name, which should be a scan resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListScanRunsPagedResponse` |   |

### listScanRuns(String parent)

    public final WebSecurityScannerClient.ListScanRunsPagedResponse listScanRuns(String parent)

Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       String parent = ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]").toString();
       for (ScanRun element : webSecurityScannerClient.listScanRuns(parent).iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The parent resource name, which should be a scan resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListScanRunsPagedResponse` |   |

### listScanRunsCallable()

    public final UnaryCallable<ListScanRunsRequest,ListScanRunsResponse> listScanRunsCallable()

Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ListScanRunsRequest request =
           ListScanRunsRequest.newBuilder()
               .setParent(ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]").toString())
               .setPageToken("pageToken873572522")
               .setPageSize(883849137)
               .build();
       while (true) {
         ListScanRunsResponse response =
             webSecurityScannerClient.listScanRunsCallable().call(request);
         for (ScanRun element : response.getScanRunsList()) {
           // doThingsWith(element);
         }
         String nextPageToken = response.getNextPageToken();
         if (!Strings.isNullOrEmpty(nextPageToken)) {
           request = request.toBuilder().setPageToken(nextPageToken).build();
         } else {
           break;
         }
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListScanRunsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListScanRunsResponse>` |   |

### listScanRunsPagedCallable()

    public final UnaryCallable<ListScanRunsRequest,WebSecurityScannerClient.ListScanRunsPagedResponse> listScanRunsPagedCallable()

Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ListScanRunsRequest request =
           ListScanRunsRequest.newBuilder()
               .setParent(ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]").toString())
               .setPageToken("pageToken873572522")
               .setPageSize(883849137)
               .build();
       ApiFuture<ScanRun> future =
           webSecurityScannerClient.listScanRunsPagedCallable().futureCall(request);
       // Do something.
       for (ScanRun element : future.get().iterateAll()) {
         // doThingsWith(element);
       }
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ListScanRunsRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClient.ListScanRunsPagedResponse>` |   |

### shutdown()

    public void shutdown()

### shutdownNow()

    public void shutdownNow()

### startScanRun(ScanConfigName name)

    public final ScanRun startScanRun(ScanConfigName name)

Start a ScanRun according to the given ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ScanConfigName name = ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]");
       ScanRun response = webSecurityScannerClient.startScanRun(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfigName` Required. The resource name of the ScanConfig to be used. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRun` |   |

### startScanRun(StartScanRunRequest request)

    public final ScanRun startScanRun(StartScanRunRequest request)

Start a ScanRun according to the given ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       StartScanRunRequest request =
           StartScanRunRequest.newBuilder()
               .setName(ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]").toString())
               .build();
       ScanRun response = webSecurityScannerClient.startScanRun(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.StartScanRunRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRun` |   |

### startScanRun(String name)

    public final ScanRun startScanRun(String name)

Start a ScanRun according to the given ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       String name = ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]").toString();
       ScanRun response = webSecurityScannerClient.startScanRun(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The resource name of the ScanConfig to be used. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRun` |   |

### startScanRunCallable()

    public final UnaryCallable<StartScanRunRequest,ScanRun> startScanRunCallable()

Start a ScanRun according to the given ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       StartScanRunRequest request =
           StartScanRunRequest.newBuilder()
               .setName(ScanConfigName.of("[PROJECT]", "[SCAN_CONFIG]").toString())
               .build();
       ApiFuture<ScanRun> future =
           webSecurityScannerClient.startScanRunCallable().futureCall(request);
       // Do something.
       ScanRun response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.StartScanRunRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRun>` |   |

### stopScanRun(ScanRunName name)

    public final ScanRun stopScanRun(ScanRunName name)

Stops a ScanRun. The stopped ScanRun is returned.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ScanRunName name = ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]");
       ScanRun response = webSecurityScannerClient.stopScanRun(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRunName` Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRun` |   |

### stopScanRun(StopScanRunRequest request)

    public final ScanRun stopScanRun(StopScanRunRequest request)

Stops a ScanRun. The stopped ScanRun is returned.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       StopScanRunRequest request =
           StopScanRunRequest.newBuilder()
               .setName(ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString())
               .build();
       ScanRun response = webSecurityScannerClient.stopScanRun(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.StopScanRunRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRun` |   |

### stopScanRun(String name)

    public final ScanRun stopScanRun(String name)

Stops a ScanRun. The stopped ScanRun is returned.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       String name = ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString();
       ScanRun response = webSecurityScannerClient.stopScanRun(name);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRun` |   |

### stopScanRunCallable()

    public final UnaryCallable<StopScanRunRequest,ScanRun> stopScanRunCallable()

Stops a ScanRun. The stopped ScanRun is returned.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       StopScanRunRequest request =
           StopScanRunRequest.newBuilder()
               .setName(ScanRunName.of("[PROJECT]", "[SCAN_CONFIG]", "[SCAN_RUN]").toString())
               .build();
       ApiFuture<ScanRun> future =
           webSecurityScannerClient.stopScanRunCallable().futureCall(request);
       // Do something.
       ScanRun response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.StopScanRunRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanRun>` |   |

### updateScanConfig(ScanConfig scanConfig, FieldMask updateMask)

    public final ScanConfig updateScanConfig(ScanConfig scanConfig, FieldMask updateMask)

Updates a ScanConfig. This method support partial update of a ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       ScanConfig scanConfig = ScanConfig.newBuilder().build();
       FieldMask updateMask = FieldMask.newBuilder().build();
       ScanConfig response = webSecurityScannerClient.updateScanConfig(scanConfig, updateMask);
     }
     
| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `scanConfig` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfig` Required. The ScanConfig to be updated. The name field must be set to identify the resource to be updated. The values of fields not covered by the mask will be ignored. |
| `updateMask` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMask.html` Required. The update mask applies to the resource. For the `FieldMask` definition, see <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask> |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfig` |   |

### updateScanConfig(UpdateScanConfigRequest request)

    public final ScanConfig updateScanConfig(UpdateScanConfigRequest request)

Updates a ScanConfig. This method support partial update of a ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       UpdateScanConfigRequest request =
           UpdateScanConfigRequest.newBuilder()
               .setScanConfig(ScanConfig.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       ScanConfig response = webSecurityScannerClient.updateScanConfig(request);
     }
     
| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.UpdateScanConfigRequest` The request object containing all of the parameters for the API call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfig` |   |

### updateScanConfigCallable()

    public final UnaryCallable<UpdateScanConfigRequest,ScanConfig> updateScanConfigCallable()

Updates a ScanConfig. This method support partial update of a ScanConfig.

Sample code:


     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     try (WebSecurityScannerClient webSecurityScannerClient = WebSecurityScannerClient.create()) {
       UpdateScanConfigRequest request =
           UpdateScanConfigRequest.newBuilder()
               .setScanConfig(ScanConfig.newBuilder().build())
               .setUpdateMask(FieldMask.newBuilder().build())
               .build();
       ApiFuture<ScanConfig> future =
           webSecurityScannerClient.updateScanConfigCallable().futureCall(request);
       // Do something.
       ScanConfig response = future.get();
     }
     
| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.rpc.UnaryCallable.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.UpdateScanConfigRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/com.google.cloud.websecurityscanner.v1alpha.ScanConfig>` |   |