- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class DlpServiceGrpc.DlpServiceBlockingStub extends AbstractBlockingStub<DlpServiceGrpc.DlpServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service DlpService.
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/.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > DlpServiceGrpc.DlpServiceBlockingStubMethods
activateJobTrigger(ActivateJobTriggerRequest request)
public DlpJob activateJobTrigger(ActivateJobTriggerRequest request)
Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.
Parameter | |
---|---|
Name | Description |
request |
ActivateJobTriggerRequest |
Returns | |
---|---|
Type | Description |
DlpJob |
build(Channel channel, CallOptions callOptions)
protected DlpServiceGrpc.DlpServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
DlpServiceGrpc.DlpServiceBlockingStub |
cancelDlpJob(CancelDlpJobRequest request)
public Empty cancelDlpJob(CancelDlpJobRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
CancelDlpJobRequest |
Returns | |
---|---|
Type | Description |
Empty |
createDeidentifyTemplate(CreateDeidentifyTemplateRequest request)
public DeidentifyTemplate createDeidentifyTemplate(CreateDeidentifyTemplateRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
CreateDeidentifyTemplateRequest |
Returns | |
---|---|
Type | Description |
DeidentifyTemplate |
createDiscoveryConfig(CreateDiscoveryConfigRequest request)
public DiscoveryConfig createDiscoveryConfig(CreateDiscoveryConfigRequest request)
Creates a config for discovery to scan and profile storage.
Parameter | |
---|---|
Name | Description |
request |
CreateDiscoveryConfigRequest |
Returns | |
---|---|
Type | Description |
DiscoveryConfig |
createDlpJob(CreateDlpJobRequest request)
public DlpJob createDlpJob(CreateDlpJobRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
CreateDlpJobRequest |
Returns | |
---|---|
Type | Description |
DlpJob |
createInspectTemplate(CreateInspectTemplateRequest request)
public InspectTemplate createInspectTemplate(CreateInspectTemplateRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
CreateInspectTemplateRequest |
Returns | |
---|---|
Type | Description |
InspectTemplate |
createJobTrigger(CreateJobTriggerRequest request)
public JobTrigger createJobTrigger(CreateJobTriggerRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
CreateJobTriggerRequest |
Returns | |
---|---|
Type | Description |
JobTrigger |
createStoredInfoType(CreateStoredInfoTypeRequest request)
public StoredInfoType createStoredInfoType(CreateStoredInfoTypeRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
CreateStoredInfoTypeRequest |
Returns | |
---|---|
Type | Description |
StoredInfoType |
deidentifyContent(DeidentifyContentRequest request)
public DeidentifyContentResponse deidentifyContent(DeidentifyContentRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
DeidentifyContentRequest |
Returns | |
---|---|
Type | Description |
DeidentifyContentResponse |
deleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request)
public Empty deleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request)
Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Parameter | |
---|---|
Name | Description |
request |
DeleteDeidentifyTemplateRequest |
Returns | |
---|---|
Type | Description |
Empty |
deleteDiscoveryConfig(DeleteDiscoveryConfigRequest request)
public Empty deleteDiscoveryConfig(DeleteDiscoveryConfigRequest request)
Deletes a discovery configuration.
Parameter | |
---|---|
Name | Description |
request |
DeleteDiscoveryConfigRequest |
Returns | |
---|---|
Type | Description |
Empty |
deleteDlpJob(DeleteDlpJobRequest request)
public Empty deleteDlpJob(DeleteDlpJobRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
DeleteDlpJobRequest |
Returns | |
---|---|
Type | Description |
Empty |
deleteInspectTemplate(DeleteInspectTemplateRequest request)
public Empty deleteInspectTemplate(DeleteInspectTemplateRequest request)
Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Parameter | |
---|---|
Name | Description |
request |
DeleteInspectTemplateRequest |
Returns | |
---|---|
Type | Description |
Empty |
deleteJobTrigger(DeleteJobTriggerRequest request)
public Empty deleteJobTrigger(DeleteJobTriggerRequest request)
Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Parameter | |
---|---|
Name | Description |
request |
DeleteJobTriggerRequest |
Returns | |
---|---|
Type | Description |
Empty |
deleteStoredInfoType(DeleteStoredInfoTypeRequest request)
public Empty deleteStoredInfoType(DeleteStoredInfoTypeRequest request)
Deletes a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Parameter | |
---|---|
Name | Description |
request |
DeleteStoredInfoTypeRequest |
Returns | |
---|---|
Type | Description |
Empty |
finishDlpJob(FinishDlpJobRequest request)
public Empty finishDlpJob(FinishDlpJobRequest request)
Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run.
Parameter | |
---|---|
Name | Description |
request |
FinishDlpJobRequest |
Returns | |
---|---|
Type | Description |
Empty |
getColumnDataProfile(GetColumnDataProfileRequest request)
public ColumnDataProfile getColumnDataProfile(GetColumnDataProfileRequest request)
Gets a column data profile.
Parameter | |
---|---|
Name | Description |
request |
GetColumnDataProfileRequest |
Returns | |
---|---|
Type | Description |
ColumnDataProfile |
getDeidentifyTemplate(GetDeidentifyTemplateRequest request)
public DeidentifyTemplate getDeidentifyTemplate(GetDeidentifyTemplateRequest request)
Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Parameter | |
---|---|
Name | Description |
request |
GetDeidentifyTemplateRequest |
Returns | |
---|---|
Type | Description |
DeidentifyTemplate |
getDiscoveryConfig(GetDiscoveryConfigRequest request)
public DiscoveryConfig getDiscoveryConfig(GetDiscoveryConfigRequest request)
Gets a discovery configuration.
Parameter | |
---|---|
Name | Description |
request |
GetDiscoveryConfigRequest |
Returns | |
---|---|
Type | Description |
DiscoveryConfig |
getDlpJob(GetDlpJobRequest request)
public DlpJob getDlpJob(GetDlpJobRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
GetDlpJobRequest |
Returns | |
---|---|
Type | Description |
DlpJob |
getInspectTemplate(GetInspectTemplateRequest request)
public InspectTemplate getInspectTemplate(GetInspectTemplateRequest request)
Gets an InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Parameter | |
---|---|
Name | Description |
request |
GetInspectTemplateRequest |
Returns | |
---|---|
Type | Description |
InspectTemplate |
getJobTrigger(GetJobTriggerRequest request)
public JobTrigger getJobTrigger(GetJobTriggerRequest request)
Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Parameter | |
---|---|
Name | Description |
request |
GetJobTriggerRequest |
Returns | |
---|---|
Type | Description |
JobTrigger |
getProjectDataProfile(GetProjectDataProfileRequest request)
public ProjectDataProfile getProjectDataProfile(GetProjectDataProfileRequest request)
Gets a project data profile.
Parameter | |
---|---|
Name | Description |
request |
GetProjectDataProfileRequest |
Returns | |
---|---|
Type | Description |
ProjectDataProfile |
getStoredInfoType(GetStoredInfoTypeRequest request)
public StoredInfoType getStoredInfoType(GetStoredInfoTypeRequest request)
Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Parameter | |
---|---|
Name | Description |
request |
GetStoredInfoTypeRequest |
Returns | |
---|---|
Type | Description |
StoredInfoType |
getTableDataProfile(GetTableDataProfileRequest request)
public TableDataProfile getTableDataProfile(GetTableDataProfileRequest request)
Gets a table data profile.
Parameter | |
---|---|
Name | Description |
request |
GetTableDataProfileRequest |
Returns | |
---|---|
Type | Description |
TableDataProfile |
hybridInspectDlpJob(HybridInspectDlpJobRequest request)
public HybridInspectResponse hybridInspectDlpJob(HybridInspectDlpJobRequest request)
Inspect hybrid content and store findings to a job. To review the findings, inspect the job. Inspection will occur asynchronously.
Parameter | |
---|---|
Name | Description |
request |
HybridInspectDlpJobRequest |
Returns | |
---|---|
Type | Description |
HybridInspectResponse |
hybridInspectJobTrigger(HybridInspectJobTriggerRequest request)
public HybridInspectResponse hybridInspectJobTrigger(HybridInspectJobTriggerRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
HybridInspectJobTriggerRequest |
Returns | |
---|---|
Type | Description |
HybridInspectResponse |
inspectContent(InspectContentRequest request)
public InspectContentResponse inspectContent(InspectContentRequest request)
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,
Parameter | |
---|---|
Name | Description |
request |
InspectContentRequest |
Returns | |
---|---|
Type | Description |
InspectContentResponse |
listColumnDataProfiles(ListColumnDataProfilesRequest request)
public ListColumnDataProfilesResponse listColumnDataProfiles(ListColumnDataProfilesRequest request)
Lists data profiles for an organization.
Parameter | |
---|---|
Name | Description |
request |
ListColumnDataProfilesRequest |
Returns | |
---|---|
Type | Description |
ListColumnDataProfilesResponse |
listDeidentifyTemplates(ListDeidentifyTemplatesRequest request)
public ListDeidentifyTemplatesResponse listDeidentifyTemplates(ListDeidentifyTemplatesRequest request)
Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Parameter | |
---|---|
Name | Description |
request |
ListDeidentifyTemplatesRequest |
Returns | |
---|---|
Type | Description |
ListDeidentifyTemplatesResponse |
listDiscoveryConfigs(ListDiscoveryConfigsRequest request)
public ListDiscoveryConfigsResponse listDiscoveryConfigs(ListDiscoveryConfigsRequest request)
Lists discovery configurations.
Parameter | |
---|---|
Name | Description |
request |
ListDiscoveryConfigsRequest |
Returns | |
---|---|
Type | Description |
ListDiscoveryConfigsResponse |
listDlpJobs(ListDlpJobsRequest request)
public ListDlpJobsResponse listDlpJobs(ListDlpJobsRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
ListDlpJobsRequest |
Returns | |
---|---|
Type | Description |
ListDlpJobsResponse |
listInfoTypes(ListInfoTypesRequest request)
public ListInfoTypesResponse listInfoTypes(ListInfoTypesRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
ListInfoTypesRequest |
Returns | |
---|---|
Type | Description |
ListInfoTypesResponse |
listInspectTemplates(ListInspectTemplatesRequest request)
public ListInspectTemplatesResponse listInspectTemplates(ListInspectTemplatesRequest request)
Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Parameter | |
---|---|
Name | Description |
request |
ListInspectTemplatesRequest |
Returns | |
---|---|
Type | Description |
ListInspectTemplatesResponse |
listJobTriggers(ListJobTriggersRequest request)
public ListJobTriggersResponse listJobTriggers(ListJobTriggersRequest request)
Lists job triggers. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Parameter | |
---|---|
Name | Description |
request |
ListJobTriggersRequest |
Returns | |
---|---|
Type | Description |
ListJobTriggersResponse |
listProjectDataProfiles(ListProjectDataProfilesRequest request)
public ListProjectDataProfilesResponse listProjectDataProfiles(ListProjectDataProfilesRequest request)
Lists data profiles for an organization.
Parameter | |
---|---|
Name | Description |
request |
ListProjectDataProfilesRequest |
Returns | |
---|---|
Type | Description |
ListProjectDataProfilesResponse |
listStoredInfoTypes(ListStoredInfoTypesRequest request)
public ListStoredInfoTypesResponse listStoredInfoTypes(ListStoredInfoTypesRequest request)
Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn more.
Parameter | |
---|---|
Name | Description |
request |
ListStoredInfoTypesRequest |
Returns | |
---|---|
Type | Description |
ListStoredInfoTypesResponse |
listTableDataProfiles(ListTableDataProfilesRequest request)
public ListTableDataProfilesResponse listTableDataProfiles(ListTableDataProfilesRequest request)
Lists data profiles for an organization.
Parameter | |
---|---|
Name | Description |
request |
ListTableDataProfilesRequest |
Returns | |
---|---|
Type | Description |
ListTableDataProfilesResponse |
redactImage(RedactImageRequest request)
public RedactImageResponse redactImage(RedactImageRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
RedactImageRequest |
Returns | |
---|---|
Type | Description |
RedactImageResponse |
reidentifyContent(ReidentifyContentRequest request)
public ReidentifyContentResponse reidentifyContent(ReidentifyContentRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
ReidentifyContentRequest |
Returns | |
---|---|
Type | Description |
ReidentifyContentResponse |
updateDeidentifyTemplate(UpdateDeidentifyTemplateRequest request)
public DeidentifyTemplate updateDeidentifyTemplate(UpdateDeidentifyTemplateRequest request)
Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid to learn more.
Parameter | |
---|---|
Name | Description |
request |
UpdateDeidentifyTemplateRequest |
Returns | |
---|---|
Type | Description |
DeidentifyTemplate |
updateDiscoveryConfig(UpdateDiscoveryConfigRequest request)
public DiscoveryConfig updateDiscoveryConfig(UpdateDiscoveryConfigRequest request)
Updates a discovery configuration.
Parameter | |
---|---|
Name | Description |
request |
UpdateDiscoveryConfigRequest |
Returns | |
---|---|
Type | Description |
DiscoveryConfig |
updateInspectTemplate(UpdateInspectTemplateRequest request)
public InspectTemplate updateInspectTemplate(UpdateInspectTemplateRequest request)
Updates the InspectTemplate. See https://cloud.google.com/sensitive-data-protection/docs/creating-templates to learn more.
Parameter | |
---|---|
Name | Description |
request |
UpdateInspectTemplateRequest |
Returns | |
---|---|
Type | Description |
InspectTemplate |
updateJobTrigger(UpdateJobTriggerRequest request)
public JobTrigger updateJobTrigger(UpdateJobTriggerRequest request)
Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Parameter | |
---|---|
Name | Description |
request |
UpdateJobTriggerRequest |
Returns | |
---|---|
Type | Description |
JobTrigger |
updateStoredInfoType(UpdateStoredInfoTypeRequest request)
public StoredInfoType updateStoredInfoType(UpdateStoredInfoTypeRequest request)
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.
Parameter | |
---|---|
Name | Description |
request |
UpdateStoredInfoTypeRequest |
Returns | |
---|---|
Type | Description |
StoredInfoType |