Google Cloud Data Loss Prevention v2 API - Class DlpService.DlpServiceBase (4.5.0)

Stay organized with collections Save and categorize content based on your preferences.
[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

Inheritance

Object > DlpService.DlpServiceBase

Namespace

Google.Cloud.Dlp.V2

Assembly

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.

Parameters
NameDescription
requestActivateJobTriggerRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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.

Parameters
NameDescription
requestCancelDlpJobRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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.

Parameters
NameDescription
requestCreateDeidentifyTemplateRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns