public static final class DlpServiceGrpc.DlpServiceStub extends io.grpc.stub.AbstractStub<DlpServiceGrpc.DlpServiceStub>
The 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.
| Modifier and Type | Method and Description |
|---|---|
void |
analyzeDataSourceRisk(AnalyzeDataSourceRiskRequest request,
io.grpc.stub.StreamObserver<DlpJob> responseObserver)
Schedules a job to compute risk analysis metrics over content in a Google
Cloud Platform repository.
|
protected DlpServiceGrpc.DlpServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
cancelDlpJob(CancelDlpJobRequest request,
io.grpc.stub.StreamObserver<Empty> responseObserver)
Starts asynchronous cancellation on a long-running DlpJob.
|
void |
createDeidentifyTemplate(CreateDeidentifyTemplateRequest request,
io.grpc.stub.StreamObserver<DeidentifyTemplate> responseObserver)
Creates an Deidentify template for re-using frequently used configuration
for Deidentifying content, images, and storage.
|
void |
createInspectTemplate(CreateInspectTemplateRequest request,
io.grpc.stub.StreamObserver<InspectTemplate> responseObserver)
Creates an inspect template for re-using frequently used configuration
for inspecting content, images, and storage.
|
void |
createJobTrigger(CreateJobTriggerRequest request,
io.grpc.stub.StreamObserver<JobTrigger> responseObserver)
Creates a job to run DLP actions such as scanning storage for sensitive
information on a set schedule.
|
void |
deidentifyContent(DeidentifyContentRequest request,
io.grpc.stub.StreamObserver<DeidentifyContentResponse> responseObserver)
De-identifies potentially sensitive info from a ContentItem.
|
void |
deleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request,
io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes inspect templates.
|
void |
deleteDlpJob(DeleteDlpJobRequest request,
io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes a long-running DlpJob.
|
void |
deleteInspectTemplate(DeleteInspectTemplateRequest request,
io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes inspect templates.
|
void |
deleteJobTrigger(DeleteJobTriggerRequest request,
io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes a job trigger.
|
void |
getDeidentifyTemplate(GetDeidentifyTemplateRequest request,
io.grpc.stub.StreamObserver<DeidentifyTemplate> responseObserver)
Gets an inspect template.
|
void |
getDlpJob(GetDlpJobRequest request,
io.grpc.stub.StreamObserver<DlpJob> responseObserver)
Gets the latest state of a long-running DlpJob.
|
void |
getInspectTemplate(GetInspectTemplateRequest request,
io.grpc.stub.StreamObserver<InspectTemplate> responseObserver)
Gets an inspect template.
|
void |
getJobTrigger(GetJobTriggerRequest request,
io.grpc.stub.StreamObserver<JobTrigger> responseObserver)
Gets a job trigger.
|
void |
inspectContent(InspectContentRequest request,
io.grpc.stub.StreamObserver<InspectContentResponse> responseObserver)
Finds potentially sensitive info in content.
|
void |
inspectDataSource(InspectDataSourceRequest request,
io.grpc.stub.StreamObserver<DlpJob> responseObserver)
Schedules a job scanning content in a Google Cloud Platform data
repository.
|
void |
listDeidentifyTemplates(ListDeidentifyTemplatesRequest request,
io.grpc.stub.StreamObserver<ListDeidentifyTemplatesResponse> responseObserver)
Lists inspect templates.
|
void |
listDlpJobs(ListDlpJobsRequest request,
io.grpc.stub.StreamObserver<ListDlpJobsResponse> responseObserver)
Lists DlpJobs that match the specified filter in the request.
|
void |
listInfoTypes(ListInfoTypesRequest request,
io.grpc.stub.StreamObserver<ListInfoTypesResponse> responseObserver)
Returns sensitive information types DLP supports.
|
void |
listInspectTemplates(ListInspectTemplatesRequest request,
io.grpc.stub.StreamObserver<ListInspectTemplatesResponse> responseObserver)
Lists inspect templates.
|
void |
listJobTriggers(ListJobTriggersRequest request,
io.grpc.stub.StreamObserver<ListJobTriggersResponse> responseObserver)
Lists job triggers.
|
void |
redactImage(RedactImageRequest request,
io.grpc.stub.StreamObserver<RedactImageResponse> responseObserver)
Redacts potentially sensitive info from an image.
|
void |
reidentifyContent(ReidentifyContentRequest request,
io.grpc.stub.StreamObserver<ReidentifyContentResponse> responseObserver)
Re-identify content that has been de-identified.
|
void |
updateDeidentifyTemplate(UpdateDeidentifyTemplateRequest request,
io.grpc.stub.StreamObserver<DeidentifyTemplate> responseObserver)
Updates the inspect template.
|
void |
updateInspectTemplate(UpdateInspectTemplateRequest request,
io.grpc.stub.StreamObserver<InspectTemplate> responseObserver)
Updates the inspect template.
|
void |
updateJobTrigger(UpdateJobTriggerRequest request,
io.grpc.stub.StreamObserver<JobTrigger> responseObserver)
Updates a job trigger.
|
protected DlpServiceGrpc.DlpServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<DlpServiceGrpc.DlpServiceStub>public void inspectContent(InspectContentRequest request, io.grpc.stub.StreamObserver<InspectContentResponse> responseObserver)
Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. [How-to guide for text](/dlp/docs/inspecting-text), [How-to guide for images](/dlp/docs/inspecting-images)
public void redactImage(RedactImageRequest request, io.grpc.stub.StreamObserver<RedactImageResponse> responseObserver)
Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. [How-to guide](/dlp/docs/redacting-sensitive-data-images)
public void deidentifyContent(DeidentifyContentRequest request, io.grpc.stub.StreamObserver<DeidentifyContentResponse> responseObserver)
De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. [How-to guide](/dlp/docs/deidentify-sensitive-data)
public void reidentifyContent(ReidentifyContentRequest request, io.grpc.stub.StreamObserver<ReidentifyContentResponse> responseObserver)
Re-identify content that has been de-identified.
public void inspectDataSource(InspectDataSourceRequest request, io.grpc.stub.StreamObserver<DlpJob> responseObserver)
Schedules a job scanning content in a Google Cloud Platform data repository. [How-to guide](/dlp/docs/inspecting-storage)
public void analyzeDataSourceRisk(AnalyzeDataSourceRiskRequest request, io.grpc.stub.StreamObserver<DlpJob> responseObserver)
Schedules a job to compute risk analysis metrics over content in a Google Cloud Platform repository. [How-to guide](/dlp/docs/compute-risk-analysis)
public void listInfoTypes(ListInfoTypesRequest request, io.grpc.stub.StreamObserver<ListInfoTypesResponse> responseObserver)
Returns sensitive information types DLP supports.
public void createInspectTemplate(CreateInspectTemplateRequest request, io.grpc.stub.StreamObserver<InspectTemplate> responseObserver)
Creates an inspect template for re-using frequently used configuration for inspecting content, images, and storage.
public void updateInspectTemplate(UpdateInspectTemplateRequest request, io.grpc.stub.StreamObserver<InspectTemplate> responseObserver)
Updates the inspect template.
public void getInspectTemplate(GetInspectTemplateRequest request, io.grpc.stub.StreamObserver<InspectTemplate> responseObserver)
Gets an inspect template.
public void listInspectTemplates(ListInspectTemplatesRequest request, io.grpc.stub.StreamObserver<ListInspectTemplatesResponse> responseObserver)
Lists inspect templates.
public void deleteInspectTemplate(DeleteInspectTemplateRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes inspect templates.
public void createDeidentifyTemplate(CreateDeidentifyTemplateRequest request, io.grpc.stub.StreamObserver<DeidentifyTemplate> responseObserver)
Creates an Deidentify template for re-using frequently used configuration for Deidentifying content, images, and storage.
public void updateDeidentifyTemplate(UpdateDeidentifyTemplateRequest request, io.grpc.stub.StreamObserver<DeidentifyTemplate> responseObserver)
Updates the inspect template.
public void getDeidentifyTemplate(GetDeidentifyTemplateRequest request, io.grpc.stub.StreamObserver<DeidentifyTemplate> responseObserver)
Gets an inspect template.
public void listDeidentifyTemplates(ListDeidentifyTemplatesRequest request, io.grpc.stub.StreamObserver<ListDeidentifyTemplatesResponse> responseObserver)
Lists inspect templates.
public void deleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes inspect templates.
public void createJobTrigger(CreateJobTriggerRequest request, io.grpc.stub.StreamObserver<JobTrigger> responseObserver)
Creates a job to run DLP actions such as scanning storage for sensitive information on a set schedule.
public void updateJobTrigger(UpdateJobTriggerRequest request, io.grpc.stub.StreamObserver<JobTrigger> responseObserver)
Updates a job trigger.
public void getJobTrigger(GetJobTriggerRequest request, io.grpc.stub.StreamObserver<JobTrigger> responseObserver)
Gets a job trigger.
public void listJobTriggers(ListJobTriggersRequest request, io.grpc.stub.StreamObserver<ListJobTriggersResponse> responseObserver)
Lists job triggers.
public void deleteJobTrigger(DeleteJobTriggerRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes a job trigger.
public void listDlpJobs(ListDlpJobsRequest request, io.grpc.stub.StreamObserver<ListDlpJobsResponse> responseObserver)
Lists DlpJobs that match the specified filter in the request.
public void getDlpJob(GetDlpJobRequest request, io.grpc.stub.StreamObserver<DlpJob> responseObserver)
Gets the latest state of a long-running DlpJob.
public void deleteDlpJob(DeleteDlpJobRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be cancelled if possible.
public void cancelDlpJob(CancelDlpJobRequest request, io.grpc.stub.StreamObserver<Empty> responseObserver)
Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed.