public static final class DlpServiceGrpc.DlpServiceStub extends AbstractAsyncStub<DlpServiceGrpc.DlpServiceStub>
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/.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
DlpServiceGrpc.DlpServiceStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
activateJobTrigger(ActivateJobTriggerRequest request, StreamObserver<DlpJob> responseObserver)
public void activateJobTrigger(ActivateJobTriggerRequest request, StreamObserver<DlpJob> responseObserver)
Activate a job trigger. Causes the immediate execute of a trigger
instead of waiting on the trigger event to occur.
Parameters
build(Channel channel, CallOptions callOptions)
protected DlpServiceGrpc.DlpServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
cancelDlpJob(CancelDlpJobRequest request, StreamObserver<Empty> responseObserver)
public void cancelDlpJob(CancelDlpJobRequest request, StreamObserver<Empty> responseObserver)
Parameters
createDeidentifyTemplate(CreateDeidentifyTemplateRequest request, StreamObserver<DeidentifyTemplate> responseObserver)
public void createDeidentifyTemplate(CreateDeidentifyTemplateRequest request, StreamObserver<DeidentifyTemplate> responseObserver)
Parameters
createDlpJob(CreateDlpJobRequest request, StreamObserver<DlpJob> responseObserver)
public void createDlpJob(CreateDlpJobRequest request, StreamObserver<DlpJob> responseObserver)
Parameters
createInspectTemplate(CreateInspectTemplateRequest request, StreamObserver<InspectTemplate> responseObserver)
public void createInspectTemplate(CreateInspectTemplateRequest request, StreamObserver<InspectTemplate> responseObserver)
Parameters
createJobTrigger(CreateJobTriggerRequest request, StreamObserver<JobTrigger> responseObserver)
public void createJobTrigger(CreateJobTriggerRequest request, StreamObserver<JobTrigger> responseObserver)
Parameters
createStoredInfoType(CreateStoredInfoTypeRequest request, StreamObserver<StoredInfoType> responseObserver)
public void createStoredInfoType(CreateStoredInfoTypeRequest request, StreamObserver<StoredInfoType> responseObserver)
Parameters
deidentifyContent(DeidentifyContentRequest request, StreamObserver<DeidentifyContentResponse> responseObserver)
public void deidentifyContent(DeidentifyContentRequest request, StreamObserver<DeidentifyContentResponse> responseObserver)
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.
Parameters
deleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request, StreamObserver<Empty> responseObserver)
public void deleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request, StreamObserver<Empty> responseObserver)
Parameters
deleteDlpJob(DeleteDlpJobRequest request, StreamObserver<Empty> responseObserver)
public void deleteDlpJob(DeleteDlpJobRequest request, StreamObserver<Empty> responseObserver)
Parameters
deleteInspectTemplate(DeleteInspectTemplateRequest request, StreamObserver<Empty> responseObserver)
public void deleteInspectTemplate(DeleteInspectTemplateRequest request, StreamObserver<Empty> responseObserver)
Parameters
deleteJobTrigger(DeleteJobTriggerRequest request, StreamObserver<Empty> responseObserver)
public void deleteJobTrigger(DeleteJobTriggerRequest request, StreamObserver<Empty> responseObserver)
Parameters
deleteStoredInfoType(DeleteStoredInfoTypeRequest request, StreamObserver<Empty> responseObserver)
public void deleteStoredInfoType(DeleteStoredInfoTypeRequest request, StreamObserver<Empty> responseObserver)
Parameters
finishDlpJob(FinishDlpJobRequest request, StreamObserver<Empty> responseObserver)
public void finishDlpJob(FinishDlpJobRequest request, StreamObserver<Empty> responseObserver)
Finish a running hybrid DlpJob. Triggers the finalization steps and running
of any enabled actions that have not yet run.
Parameters
getDeidentifyTemplate(GetDeidentifyTemplateRequest request, StreamObserver<DeidentifyTemplate> responseObserver)
public void getDeidentifyTemplate(GetDeidentifyTemplateRequest request, StreamObserver<DeidentifyTemplate> responseObserver)
Parameters
getDlpJob(GetDlpJobRequest request, StreamObserver<DlpJob> responseObserver)
public void getDlpJob(GetDlpJobRequest request, StreamObserver<DlpJob> responseObserver)
Parameters
getInspectTemplate(GetInspectTemplateRequest request, StreamObserver<InspectTemplate> responseObserver)
public void getInspectTemplate(GetInspectTemplateRequest request, StreamObserver<InspectTemplate> responseObserver)
Parameters
getJobTrigger(GetJobTriggerRequest request, StreamObserver<JobTrigger> responseObserver)
public void getJobTrigger(GetJobTriggerRequest request, StreamObserver<JobTrigger> responseObserver)
Parameters
getStoredInfoType(GetStoredInfoTypeRequest request, StreamObserver<StoredInfoType> responseObserver)
public void getStoredInfoType(GetStoredInfoTypeRequest request, StreamObserver<StoredInfoType> responseObserver)
Parameters
hybridInspectDlpJob(HybridInspectDlpJobRequest request, StreamObserver<HybridInspectResponse> responseObserver)
public void hybridInspectDlpJob(HybridInspectDlpJobRequest request, StreamObserver<HybridInspectResponse> responseObserver)
Inspect hybrid content and store findings to a job.
To review the findings, inspect the job. Inspection will occur
asynchronously.
Parameters
hybridInspectJobTrigger(HybridInspectJobTriggerRequest request, StreamObserver<HybridInspectResponse> responseObserver)
public void hybridInspectJobTrigger(HybridInspectJobTriggerRequest request, StreamObserver<HybridInspectResponse> responseObserver)
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.
Parameters
inspectContent(InspectContentRequest request, StreamObserver<InspectContentResponse> responseObserver)
public void inspectContent(InspectContentRequest request, StreamObserver<InspectContentResponse> responseObserver)
Parameters
listDeidentifyTemplates(ListDeidentifyTemplatesRequest request, StreamObserver<ListDeidentifyTemplatesResponse> responseObserver)
public void listDeidentifyTemplates(ListDeidentifyTemplatesRequest request, StreamObserver<ListDeidentifyTemplatesResponse> responseObserver)
Parameters
listDlpJobs(ListDlpJobsRequest request, StreamObserver<ListDlpJobsResponse> responseObserver)
public void listDlpJobs(ListDlpJobsRequest request, StreamObserver<ListDlpJobsResponse> responseObserver)
Parameters
listInfoTypes(ListInfoTypesRequest request, StreamObserver<ListInfoTypesResponse> responseObserver)
public void listInfoTypes(ListInfoTypesRequest request, StreamObserver<ListInfoTypesResponse> responseObserver)
Parameters
listInspectTemplates(ListInspectTemplatesRequest request, StreamObserver<ListInspectTemplatesResponse> responseObserver)
public void listInspectTemplates(ListInspectTemplatesRequest request, StreamObserver<ListInspectTemplatesResponse> responseObserver)
Parameters
listJobTriggers(ListJobTriggersRequest request, StreamObserver<ListJobTriggersResponse> responseObserver)
public void listJobTriggers(ListJobTriggersRequest request, StreamObserver<ListJobTriggersResponse> responseObserver)
Parameters
listStoredInfoTypes(ListStoredInfoTypesRequest request, StreamObserver<ListStoredInfoTypesResponse> responseObserver)
public void listStoredInfoTypes(ListStoredInfoTypesRequest request, StreamObserver<ListStoredInfoTypesResponse> responseObserver)
Parameters
redactImage(RedactImageRequest request, StreamObserver<RedactImageResponse> responseObserver)
public void redactImage(RedactImageRequest request, StreamObserver<RedactImageResponse> responseObserver)
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.
Parameters
reidentifyContent(ReidentifyContentRequest request, StreamObserver<ReidentifyContentResponse> responseObserver)
public void reidentifyContent(ReidentifyContentRequest request, StreamObserver<ReidentifyContentResponse> responseObserver)
Parameters
updateDeidentifyTemplate(UpdateDeidentifyTemplateRequest request, StreamObserver<DeidentifyTemplate> responseObserver)
public void updateDeidentifyTemplate(UpdateDeidentifyTemplateRequest request, StreamObserver<DeidentifyTemplate> responseObserver)
Parameters
updateInspectTemplate(UpdateInspectTemplateRequest request, StreamObserver<InspectTemplate> responseObserver)
public void updateInspectTemplate(UpdateInspectTemplateRequest request, StreamObserver<InspectTemplate> responseObserver)
Parameters
updateJobTrigger(UpdateJobTriggerRequest request, StreamObserver<JobTrigger> responseObserver)
public void updateJobTrigger(UpdateJobTriggerRequest request, StreamObserver<JobTrigger> responseObserver)
Parameters
updateStoredInfoType(UpdateStoredInfoTypeRequest request, StreamObserver<StoredInfoType> responseObserver)
public void updateStoredInfoType(UpdateStoredInfoTypeRequest request, StreamObserver<StoredInfoType> responseObserver)
Parameters