[BindServiceMethod(typeof(DlpService), "BindService")]
public abstract class DlpServiceBase
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class DlpService.DlpServiceBase.
Base class for server-side implementations of DlpService
Namespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Methods
ActivateJobTrigger(ActivateJobTriggerRequest, ServerCallContext)
public virtual Task<DlpJob> ActivateJobTrigger(ActivateJobTriggerRequest request, ServerCallContext context)
Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.
Name | Description |
request | ActivateJobTriggerRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Type | Description |
Task<DlpJob> | The response to send back to the client (wrapped by a task). |
CancelDlpJob(CancelDlpJobRequest, ServerCallContext)
public virtual Task<Empty> CancelDlpJob(CancelDlpJobRequest request, ServerCallContext context)
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.
Name | Description |
request | CancelDlpJobRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Type | Description |
Task<Empty> | The response to send back to the client (wrapped by a task). |
CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest, ServerCallContext)
public virtual Task<DeidentifyTemplate> CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest request, ServerCallContext context)
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.
Name | Description |
request | CreateDeidentifyTemplateRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |