Class DlpServiceClient (3.47.0)

GitHub RepositoryProduct ReferenceREST DocumentationRPC Documentation

Service Description: The Cloud Data Loss Prevention (DLP) API is a service that allows clients to detect the presence of Personally Identifiable Information (PII) and other privacy-sensitive data in user-supplied, unstructured data streams, like text blocks or images. The service also includes methods for sensitive data redaction and scheduling of data scans on Google Cloud Platform based data sets.

To learn more about concepts and find how-to guides see https://cloud.google.com/sensitive-data-protection/docs/.

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 (DlpServiceClient dlpServiceClient = DlpServiceClient.create()) {
   InspectContentRequest request =
       InspectContentRequest.newBuilder()
           .setParent(ProjectName.of("[PROJECT]").toString())
           .setInspectConfig(InspectConfig.newBuilder().build())
           .setItem(ContentItem.newBuilder().build())
           .setInspectTemplateName("inspectTemplateName1828857433")
           .setLocationId("locationId1541836720")
           .build();
   InspectContentResponse response = dlpServiceClient.inspectContent(request);
 }
 

Note: close() needs to be called on the DlpServiceClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

Methods
Method Description Method Variants

InspectContent

Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size.

When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.

For how to guides, see https://cloud.google.com/sensitive-data-protection/docs/inspecting-images and https://cloud.google.com/sensitive-data-protection/docs/inspecting-text,

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • inspectContent(InspectContentRequest request)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • inspectContentCallable()

RedactImage

Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images to learn more.

When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • redactImage(RedactImageRequest request)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • redactImageCallable()

DeidentifyContent

De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/sensitive-data-protection/docs/deidentify-sensitive-data to learn more.

When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • deidentifyContent(DeidentifyContentRequest request)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • deidentifyContentCallable()

ReidentifyContent

Re-identifies content that has been de-identified. See https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • reidentifyContent(ReidentifyContentRequest request)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • reidentifyContentCallable()

ListInfoTypes

Returns a list of the sensitive information types that DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listInfoTypes(ListInfoTypesRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listInfoTypes(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.

  • listInfoTypesCallable()

CreateInspectTemplate

Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • createInspectTemplate(CreateInspectTemplateRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • createInspectTemplate(LocationName parent, InspectTemplate inspectTemplate)

  • createInspectTemplate(OrganizationLocationName parent, InspectTemplate inspectTemplate)

  • createInspectTemplate(OrganizationName parent, InspectTemplate inspectTemplate)

  • createInspectTemplate(ProjectName parent, InspectTemplate inspectTemplate)

  • createInspectTemplate(String parent, InspectTemplate inspectTemplate)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • createInspectTemplateCallable()

UpdateInspectTemplate

Updates the InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • updateInspectTemplate(UpdateInspectTemplateRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • updateInspectTemplate(InspectTemplateName name, InspectTemplate inspectTemplate, FieldMask updateMask)

  • updateInspectTemplate(String name, InspectTemplate inspectTemplate, 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.

  • updateInspectTemplateCallable()

GetInspectTemplate

Gets an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getInspectTemplate(GetInspectTemplateRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • getInspectTemplate(InspectTemplateName name)

  • getInspectTemplate(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.

  • getInspectTemplateCallable()

ListInspectTemplates

Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listInspectTemplates(ListInspectTemplatesRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listInspectTemplates(LocationName parent)

  • listInspectTemplates(OrganizationLocationName parent)

  • listInspectTemplates(OrganizationName parent)

  • listInspectTemplates(ProjectName parent)

  • listInspectTemplates(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.

  • listInspectTemplatesPagedCallable()

  • listInspectTemplatesCallable()

DeleteInspectTemplate

Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • deleteInspectTemplate(DeleteInspectTemplateRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • deleteInspectTemplate(InspectTemplateName name)

  • deleteInspectTemplate(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.

  • deleteInspectTemplateCallable()

CreateDeidentifyTemplate

Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • createDeidentifyTemplate(CreateDeidentifyTemplateRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • createDeidentifyTemplate(LocationName parent, DeidentifyTemplate deidentifyTemplate)

  • createDeidentifyTemplate(OrganizationLocationName parent, DeidentifyTemplate deidentifyTemplate)

  • createDeidentifyTemplate(OrganizationName parent, DeidentifyTemplate deidentifyTemplate)

  • createDeidentifyTemplate(ProjectName parent, DeidentifyTemplate deidentifyTemplate)

  • createDeidentifyTemplate(String parent, DeidentifyTemplate deidentifyTemplate)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • createDeidentifyTemplateCallable()

UpdateDeidentifyTemplate

Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • updateDeidentifyTemplate(UpdateDeidentifyTemplateRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • updateDeidentifyTemplate(DeidentifyTemplateName name, DeidentifyTemplate deidentifyTemplate, FieldMask updateMask)

  • updateDeidentifyTemplate(String name, DeidentifyTemplate deidentifyTemplate, 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.

  • updateDeidentifyTemplateCallable()

GetDeidentifyTemplate

Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getDeidentifyTemplate(GetDeidentifyTemplateRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • getDeidentifyTemplate(DeidentifyTemplateName name)

  • getDeidentifyTemplate(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.

  • getDeidentifyTemplateCallable()

ListDeidentifyTemplates

Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listDeidentifyTemplates(ListDeidentifyTemplatesRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listDeidentifyTemplates(LocationName parent)

  • listDeidentifyTemplates(OrganizationLocationName parent)

  • listDeidentifyTemplates(OrganizationName parent)

  • listDeidentifyTemplates(ProjectName parent)

  • listDeidentifyTemplates(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.

  • listDeidentifyTemplatesPagedCallable()

  • listDeidentifyTemplatesCallable()

DeleteDeidentifyTemplate

Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • deleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • deleteDeidentifyTemplate(DeidentifyTemplateName name)

  • deleteDeidentifyTemplate(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.

  • deleteDeidentifyTemplateCallable()

CreateJobTrigger

Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • createJobTrigger(CreateJobTriggerRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • createJobTrigger(LocationName parent, JobTrigger jobTrigger)

  • createJobTrigger(ProjectName parent, JobTrigger jobTrigger)

  • createJobTrigger(String parent, JobTrigger jobTrigger)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • createJobTriggerCallable()

UpdateJobTrigger

Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • updateJobTrigger(UpdateJobTriggerRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • updateJobTrigger(JobTriggerName name, JobTrigger jobTrigger, FieldMask updateMask)

  • updateJobTrigger(String name, JobTrigger jobTrigger, 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.

  • updateJobTriggerCallable()

HybridInspectJobTrigger

Inspect hybrid content and store findings to a trigger. The inspection will be processed asynchronously. To review the findings monitor the jobs within the trigger.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • hybridInspectJobTrigger(HybridInspectJobTriggerRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • hybridInspectJobTrigger(JobTriggerName name)

  • hybridInspectJobTrigger(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.

  • hybridInspectJobTriggerCallable()

GetJobTrigger

Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getJobTrigger(GetJobTriggerRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • getJobTrigger(JobTriggerName name)

  • getJobTrigger(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.

  • getJobTriggerCallable()

ListJobTriggers

Lists job triggers. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listJobTriggers(ListJobTriggersRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listJobTriggers(LocationName parent)

  • listJobTriggers(ProjectName parent)

  • listJobTriggers(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.

  • listJobTriggersPagedCallable()

  • listJobTriggersCallable()

DeleteJobTrigger

Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • deleteJobTrigger(DeleteJobTriggerRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • deleteJobTrigger(JobTriggerName name)

  • deleteJobTrigger(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.

  • deleteJobTriggerCallable()

ActivateJobTrigger

Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • activateJobTrigger(ActivateJobTriggerRequest request)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • activateJobTriggerCallable()

CreateDiscoveryConfig

Creates a config for discovery to scan and profile storage.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • createDiscoveryConfig(CreateDiscoveryConfigRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • createDiscoveryConfig(LocationName parent, DiscoveryConfig discoveryConfig)

  • createDiscoveryConfig(String parent, DiscoveryConfig discoveryConfig)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • createDiscoveryConfigCallable()

UpdateDiscoveryConfig

Updates a discovery configuration.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • updateDiscoveryConfig(UpdateDiscoveryConfigRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • updateDiscoveryConfig(DiscoveryConfigName name, DiscoveryConfig discoveryConfig, FieldMask updateMask)

  • updateDiscoveryConfig(String name, DiscoveryConfig discoveryConfig, 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.

  • updateDiscoveryConfigCallable()

GetDiscoveryConfig

Gets a discovery configuration.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getDiscoveryConfig(GetDiscoveryConfigRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • getDiscoveryConfig(DiscoveryConfigName name)

  • getDiscoveryConfig(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.

  • getDiscoveryConfigCallable()

ListDiscoveryConfigs

Lists discovery configurations.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listDiscoveryConfigs(ListDiscoveryConfigsRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listDiscoveryConfigs(LocationName parent)

  • listDiscoveryConfigs(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.

  • listDiscoveryConfigsPagedCallable()

  • listDiscoveryConfigsCallable()

DeleteDiscoveryConfig

Deletes a discovery configuration.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • deleteDiscoveryConfig(DeleteDiscoveryConfigRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • deleteDiscoveryConfig(DiscoveryConfigName name)

  • deleteDiscoveryConfig(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.

  • deleteDiscoveryConfigCallable()

CreateDlpJob

Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.

When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • createDlpJob(CreateDlpJobRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • createDlpJob(LocationName parent, InspectJobConfig inspectJob)

  • createDlpJob(LocationName parent, RiskAnalysisJobConfig riskJob)

  • createDlpJob(ProjectName parent, InspectJobConfig inspectJob)

  • createDlpJob(ProjectName parent, RiskAnalysisJobConfig riskJob)

  • createDlpJob(String parent, InspectJobConfig inspectJob)

  • createDlpJob(String parent, RiskAnalysisJobConfig riskJob)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • createDlpJobCallable()

ListDlpJobs

Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listDlpJobs(ListDlpJobsRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listDlpJobs(LocationName parent)

  • listDlpJobs(ProjectName parent)

  • listDlpJobs(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.

  • listDlpJobsPagedCallable()

  • listDlpJobsCallable()

GetDlpJob

Gets the latest state of a long-running DlpJob. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getDlpJob(GetDlpJobRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • getDlpJob(DlpJobName name)

  • getDlpJob(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.

  • getDlpJobCallable()

DeleteDlpJob

Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • deleteDlpJob(DeleteDlpJobRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • deleteDlpJob(DlpJobName name)

  • deleteDlpJob(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.

  • deleteDlpJobCallable()

CancelDlpJob

Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • cancelDlpJob(CancelDlpJobRequest request)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • cancelDlpJobCallable()

CreateStoredInfoType

Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • createStoredInfoType(CreateStoredInfoTypeRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • createStoredInfoType(LocationName parent, StoredInfoTypeConfig config)

  • createStoredInfoType(OrganizationLocationName parent, StoredInfoTypeConfig config)

  • createStoredInfoType(OrganizationName parent, StoredInfoTypeConfig config)

  • createStoredInfoType(ProjectName parent, StoredInfoTypeConfig config)

  • createStoredInfoType(String parent, StoredInfoTypeConfig config)

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

  • createStoredInfoTypeCallable()

UpdateStoredInfoType

Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • updateStoredInfoType(UpdateStoredInfoTypeRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • updateStoredInfoType(StoredInfoTypeName name, StoredInfoTypeConfig config, FieldMask updateMask)

  • updateStoredInfoType(String name, StoredInfoTypeConfig config, 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.

  • updateStoredInfoTypeCallable()

GetStoredInfoType

Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getStoredInfoType(GetStoredInfoTypeRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • getStoredInfoType(StoredInfoTypeName name)

  • getStoredInfoType(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.

  • getStoredInfoTypeCallable()

ListStoredInfoTypes

Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listStoredInfoTypes(ListStoredInfoTypesRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listStoredInfoTypes(LocationName parent)

  • listStoredInfoTypes(OrganizationLocationName parent)

  • listStoredInfoTypes(OrganizationName parent)

  • listStoredInfoTypes(ProjectName parent)

  • listStoredInfoTypes(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.

  • listStoredInfoTypesPagedCallable()

  • listStoredInfoTypesCallable()

DeleteStoredInfoType

Deletes a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • deleteStoredInfoType(DeleteStoredInfoTypeRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • deleteStoredInfoType(StoredInfoTypeName name)

  • deleteStoredInfoType(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.

  • deleteStoredInfoTypeCallable()

ListProjectDataProfiles

Lists project data profiles for an organization.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listProjectDataProfiles(ListProjectDataProfilesRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listProjectDataProfiles(LocationName parent)

  • listProjectDataProfiles(OrganizationLocationName parent)

  • listProjectDataProfiles(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.

  • listProjectDataProfilesPagedCallable()

  • listProjectDataProfilesCallable()

ListTableDataProfiles

Lists table data profiles for an organization.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listTableDataProfiles(ListTableDataProfilesRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listTableDataProfiles(LocationName parent)

  • listTableDataProfiles(OrganizationLocationName parent)

  • listTableDataProfiles(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.

  • listTableDataProfilesPagedCallable()

  • listTableDataProfilesCallable()

ListColumnDataProfiles

Lists column data profiles for an organization.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • listColumnDataProfiles(ListColumnDataProfilesRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • listColumnDataProfiles(LocationName parent)

  • listColumnDataProfiles(OrganizationLocationName parent)

  • listColumnDataProfiles(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.

  • listColumnDataProfilesPagedCallable()

  • listColumnDataProfilesCallable()

GetProjectDataProfile

Gets a project data profile.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getProjectDataProfile(GetProjectDataProfileRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • getProjectDataProfile(ProjectDataProfileName name)

  • getProjectDataProfile(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.

  • getProjectDataProfileCallable()

GetTableDataProfile

Gets a table data profile.

Request object method variants only take one parameter, a request object, which must be constructed before the call.

  • getTableDataProfile(GetTableDataProfileRequest request)

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

  • getTableDataProfile(TableDataProfileName name)

  • getTableDataProfile(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.

  • getTableDataProfileCallable()

GetColumnDataProfile

Gets a column data profile.

Request object method variants only take one parameter, a request ob