public static final class DlpServiceGrpc.DlpServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<DlpServiceGrpc.DlpServiceBlockingStub>
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/dlp/docs/.
| Modifier and Type | Method and Description |
|---|---|
DlpJob |
activateJobTrigger(ActivateJobTriggerRequest request)
Activate a job trigger.
|
protected DlpServiceGrpc.DlpServiceBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.protobuf.Empty |
cancelDlpJob(CancelDlpJobRequest request)
Starts asynchronous cancellation on a long-running DlpJob.
|
DeidentifyTemplate |
createDeidentifyTemplate(CreateDeidentifyTemplateRequest request)
Creates a DeidentifyTemplate for reusing frequently used configuration
for de-identifying content, images, and storage.
|
DiscoveryConfig |
createDiscoveryConfig(CreateDiscoveryConfigRequest request)
Creates a config for discovery to scan and profile storage.
|
DlpJob |
createDlpJob(CreateDlpJobRequest request)
Creates a new job to inspect storage or calculate risk metrics.
|
InspectTemplate |
createInspectTemplate(CreateInspectTemplateRequest request)
Creates an InspectTemplate for reusing frequently used configuration
for inspecting content, images, and storage.
|
JobTrigger |
createJobTrigger(CreateJobTriggerRequest request)
Creates a job trigger to run DLP actions such as scanning storage for
sensitive information on a set schedule.
|
StoredInfoType |
createStoredInfoType(CreateStoredInfoTypeRequest request)
Creates a pre-built stored infoType to be used for inspection.
|
DeidentifyContentResponse |
deidentifyContent(DeidentifyContentRequest request)
De-identifies potentially sensitive info from a ContentItem.
|
com.google.protobuf.Empty |
deleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request)
Deletes a DeidentifyTemplate.
|
com.google.protobuf.Empty |
deleteDiscoveryConfig(DeleteDiscoveryConfigRequest request)
Deletes a discovery configuration.
|
com.google.protobuf.Empty |
deleteDlpJob(DeleteDlpJobRequest request)
Deletes a long-running DlpJob.
|
com.google.protobuf.Empty |
deleteInspectTemplate(DeleteInspectTemplateRequest request)
Deletes an InspectTemplate.
|
com.google.protobuf.Empty |
deleteJobTrigger(DeleteJobTriggerRequest request)
Deletes a job trigger.
|
com.google.protobuf.Empty |
deleteStoredInfoType(DeleteStoredInfoTypeRequest request)
Deletes a stored infoType.
|
com.google.protobuf.Empty |
finishDlpJob(FinishDlpJobRequest request)
Finish a running hybrid DlpJob.
|
DeidentifyTemplate |
getDeidentifyTemplate(GetDeidentifyTemplateRequest request)
Gets a DeidentifyTemplate.
|
DiscoveryConfig |
getDiscoveryConfig(GetDiscoveryConfigRequest request)
Gets a discovery configuration.
|
DlpJob |
getDlpJob(GetDlpJobRequest request)
Gets the latest state of a long-running DlpJob.
|
InspectTemplate |
getInspectTemplate(GetInspectTemplateRequest request)
Gets an InspectTemplate.
|
JobTrigger |
getJobTrigger(GetJobTriggerRequest request)
Gets a job trigger.
|
StoredInfoType |
getStoredInfoType(GetStoredInfoTypeRequest request)
Gets a stored infoType.
|
HybridInspectResponse |
hybridInspectDlpJob(HybridInspectDlpJobRequest request)
Inspect hybrid content and store findings to a job.
|
HybridInspectResponse |
hybridInspectJobTrigger(HybridInspectJobTriggerRequest request)
Inspect hybrid content and store findings to a trigger.
|
InspectContentResponse |
inspectContent(InspectContentRequest request)
Finds potentially sensitive info in content.
|
ListDeidentifyTemplatesResponse |
listDeidentifyTemplates(ListDeidentifyTemplatesRequest request)
Lists DeidentifyTemplates.
|
ListDiscoveryConfigsResponse |
listDiscoveryConfigs(ListDiscoveryConfigsRequest request)
Lists discovery configurations.
|
ListDlpJobsResponse |
listDlpJobs(ListDlpJobsRequest request)
Lists DlpJobs that match the specified filter in the request.
|
ListInfoTypesResponse |
listInfoTypes(ListInfoTypesRequest request)
Returns a list of the sensitive information types that DLP API
supports.
|
ListInspectTemplatesResponse |
listInspectTemplates(ListInspectTemplatesRequest request)
Lists InspectTemplates.
|
ListJobTriggersResponse |
listJobTriggers(ListJobTriggersRequest request)
Lists job triggers.
|
ListStoredInfoTypesResponse |
listStoredInfoTypes(ListStoredInfoTypesRequest request)
Lists stored infoTypes.
|
RedactImageResponse |
redactImage(RedactImageRequest request)
Redacts potentially sensitive info from an image.
|
ReidentifyContentResponse |
reidentifyContent(ReidentifyContentRequest request)
Re-identifies content that has been de-identified.
|
DeidentifyTemplate |
updateDeidentifyTemplate(UpdateDeidentifyTemplateRequest request)
Updates the DeidentifyTemplate.
|
DiscoveryConfig |
updateDiscoveryConfig(UpdateDiscoveryConfigRequest request)
Updates a discovery configuration.
|
InspectTemplate |
updateInspectTemplate(UpdateInspectTemplateRequest request)
Updates the InspectTemplate.
|
JobTrigger |
updateJobTrigger(UpdateJobTriggerRequest request)
Updates a job trigger.
|
StoredInfoType |
updateStoredInfoType(UpdateStoredInfoTypeRequest request)
Updates the stored infoType by creating a new version.
|
protected DlpServiceGrpc.DlpServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<DlpServiceGrpc.DlpServiceBlockingStub>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/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,
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/dlp/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.
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/dlp/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.
public ReidentifyContentResponse reidentifyContent(ReidentifyContentRequest request)
Re-identifies content that has been de-identified. See https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example to learn more.
public ListInfoTypesResponse listInfoTypes(ListInfoTypesRequest request)
Returns a list of the sensitive information types that DLP API supports. See https://cloud.google.com/dlp/docs/infotypes-reference to learn more.
public InspectTemplate createInspectTemplate(CreateInspectTemplateRequest request)
Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
public InspectTemplate updateInspectTemplate(UpdateInspectTemplateRequest request)
Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
public InspectTemplate getInspectTemplate(GetInspectTemplateRequest request)
Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
public ListInspectTemplatesResponse listInspectTemplates(ListInspectTemplatesRequest request)
Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
public com.google.protobuf.Empty deleteInspectTemplate(DeleteInspectTemplateRequest request)
Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
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/dlp/docs/creating-templates-deid to learn more.
public DeidentifyTemplate updateDeidentifyTemplate(UpdateDeidentifyTemplateRequest request)
Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
public DeidentifyTemplate getDeidentifyTemplate(GetDeidentifyTemplateRequest request)
Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
public ListDeidentifyTemplatesResponse listDeidentifyTemplates(ListDeidentifyTemplatesRequest request)
Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
public com.google.protobuf.Empty deleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request)
Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
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/dlp/docs/creating-job-triggers to learn more.
public JobTrigger updateJobTrigger(UpdateJobTriggerRequest request)
Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
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.
public JobTrigger getJobTrigger(GetJobTriggerRequest request)
Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
public ListJobTriggersResponse listJobTriggers(ListJobTriggersRequest request)
Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
public com.google.protobuf.Empty deleteJobTrigger(DeleteJobTriggerRequest request)
Deletes a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
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.
public DiscoveryConfig createDiscoveryConfig(CreateDiscoveryConfigRequest request)
Creates a config for discovery to scan and profile storage.
public DiscoveryConfig updateDiscoveryConfig(UpdateDiscoveryConfigRequest request)
Updates a discovery configuration.
public DiscoveryConfig getDiscoveryConfig(GetDiscoveryConfigRequest request)
Gets a discovery configuration.
public ListDiscoveryConfigsResponse listDiscoveryConfigs(ListDiscoveryConfigsRequest request)
Lists discovery configurations.
public com.google.protobuf.Empty deleteDiscoveryConfig(DeleteDiscoveryConfigRequest request)
Deletes a discovery configuration.
public DlpJob createDlpJob(CreateDlpJobRequest request)
Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/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.
public ListDlpJobsResponse listDlpJobs(ListDlpJobsRequest request)
Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
public DlpJob getDlpJob(GetDlpJobRequest request)
Gets the latest state of a long-running DlpJob. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
public com.google.protobuf.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/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
public com.google.protobuf.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/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
public StoredInfoType createStoredInfoType(CreateStoredInfoTypeRequest request)
Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
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/dlp/docs/creating-stored-infotypes to learn more.
public StoredInfoType getStoredInfoType(GetStoredInfoTypeRequest request)
Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
public ListStoredInfoTypesResponse listStoredInfoTypes(ListStoredInfoTypesRequest request)
Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
public com.google.protobuf.Empty deleteStoredInfoType(DeleteStoredInfoTypeRequest request)
Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
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.
public com.google.protobuf.Empty finishDlpJob(FinishDlpJobRequest request)
Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run.
Copyright © 2023 Google LLC. All rights reserved.