Class DataScanServiceSettings.Builder (1.91.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static class DataScanServiceSettings.Builder extends ClientSettings.Builder<DataScanServiceSettings,DataScanServiceSettings.Builder>
Builder for DataScanServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(DataScanServiceSettings settings)
protected Builder(DataScanServiceSettings settings)
Builder(DataScanServiceStubSettings.Builder stubSettings)
protected Builder(DataScanServiceStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public DataScanServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
build()
public DataScanServiceSettings build()
Overrides
cancelDataScanJobSettings()
public UnaryCallSettings.Builder<CancelDataScanJobRequest,CancelDataScanJobResponse> cancelDataScanJobSettings()
Returns the builder for the settings used for calls to cancelDataScanJob.
createDataScanOperationSettings()
public OperationCallSettings.Builder<CreateDataScanRequest,DataScan,OperationMetadata> createDataScanOperationSettings()
Returns the builder for the settings used for calls to createDataScan.
createDataScanSettings()
public UnaryCallSettings.Builder<CreateDataScanRequest,Operation> createDataScanSettings()
Returns the builder for the settings used for calls to createDataScan.
deleteDataScanOperationSettings()
public OperationCallSettings.Builder<DeleteDataScanRequest,Empty,OperationMetadata> deleteDataScanOperationSettings()
Returns the builder for the settings used for calls to deleteDataScan.
deleteDataScanSettings()
public UnaryCallSettings.Builder<DeleteDataScanRequest,Operation> deleteDataScanSettings()
Returns the builder for the settings used for calls to deleteDataScan.
generateDataQualityRulesSettings()
public UnaryCallSettings.Builder<GenerateDataQualityRulesRequest,GenerateDataQualityRulesResponse> generateDataQualityRulesSettings()
Returns the builder for the settings used for calls to generateDataQualityRules.
getDataScanJobSettings()
public UnaryCallSettings.Builder<GetDataScanJobRequest,DataScanJob> getDataScanJobSettings()
Returns the builder for the settings used for calls to getDataScanJob.
getDataScanSettings()
public UnaryCallSettings.Builder<GetDataScanRequest,DataScan> getDataScanSettings()
Returns the builder for the settings used for calls to getDataScan.
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
| Returns |
| Type |
Description |
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
|
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
| Returns |
| Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getStubSettingsBuilder()
public DataScanServiceStubSettings.Builder getStubSettingsBuilder()
listDataScanJobsSettings()
public PagedCallSettings.Builder<ListDataScanJobsRequest,ListDataScanJobsResponse,DataScanServiceClient.ListDataScanJobsPagedResponse> listDataScanJobsSettings()
Returns the builder for the settings used for calls to listDataScanJobs.
listDataScansSettings()
public PagedCallSettings.Builder<ListDataScansRequest,ListDataScansResponse,DataScanServiceClient.ListDataScansPagedResponse> listDataScansSettings()
Returns the builder for the settings used for calls to listDataScans.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DataScanServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
runDataScanSettings()
public UnaryCallSettings.Builder<RunDataScanRequest,RunDataScanResponse> runDataScanSettings()
Returns the builder for the settings used for calls to runDataScan.
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
| Returns |
| Type |
Description |
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
| Returns |
| Type |
Description |
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|
updateDataScanOperationSettings()
public OperationCallSettings.Builder<UpdateDataScanRequest,DataScan,OperationMetadata> updateDataScanOperationSettings()
Returns the builder for the settings used for calls to updateDataScan.
updateDataScanSettings()
public UnaryCallSettings.Builder<UpdateDataScanRequest,Operation> updateDataScanSettings()
Returns the builder for the settings used for calls to updateDataScan.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-18 UTC.
[null,null,["Last updated 2026-06-18 UTC."],[],[]]