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

4.26.0 (latest) 4.25.0 4.24.0 4.23.0 4.22.0 4.21.0 4.20.0 4.19.0 4.18.0 4.17.0 4.16.0 4.15.0 4.14.0 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.5.0 3.4.0 3.3.0 3.2.0 2.16.0 2.15.0

    [BindServiceMethod(typeof(DlpService), "BindService")]
    public abstract class DlpService.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](https://learn.microsoft.com/dotnet/api/system.object) \> DlpService.DlpServiceBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dlp.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/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** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ActivateJobTriggerRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.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/sensitive-data-protection/docs/inspecting-storage>
and
<https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.CancelDlpJobRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### CreateConnection(CreateConnectionRequest, ServerCallContext)

    public virtual Task<Connection> CreateConnection(CreateConnectionRequest request, ServerCallContext context)

Create a Connection to an external data source.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.CreateConnectionRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.Connection` | 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/sensitive-data-protection/docs/creating-templates-deid>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.CreateDeidentifyTemplateRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DeidentifyTemplate` | The response to send back to the client (wrapped by a task). |

### CreateDiscoveryConfig(CreateDiscoveryConfigRequest, ServerCallContext)

    public virtual Task<DiscoveryConfig> CreateDiscoveryConfig(CreateDiscoveryConfigRequest request, ServerCallContext context)

Creates a config for discovery to scan and profile storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.CreateDiscoveryConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DiscoveryConfig` | The response to send back to the client (wrapped by a task). |

### CreateDlpJob(CreateDlpJobRequest, ServerCallContext)

    public virtual Task<DlpJob> CreateDlpJob(CreateDlpJobRequest request, ServerCallContext context)

Creates a new job to inspect storage or calculate risk metrics.
See
<https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage>
and
<https://cloud.google.com/sensitive-data-protection/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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.CreateDlpJobRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DlpJob` | The response to send back to the client (wrapped by a task). |

### CreateInspectTemplate(CreateInspectTemplateRequest, ServerCallContext)

    public virtual Task<InspectTemplate> CreateInspectTemplate(CreateInspectTemplateRequest request, ServerCallContext context)

Creates an InspectTemplate for reusing frequently used configuration
for inspecting content, images, and storage.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-templates>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.CreateInspectTemplateRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectTemplate` | The response to send back to the client (wrapped by a task). |

### CreateJobTrigger(CreateJobTriggerRequest, ServerCallContext)

    public virtual Task<JobTrigger> CreateJobTrigger(CreateJobTriggerRequest request, ServerCallContext context)

Creates a job trigger to run DLP actions such as scanning storage for
sensitive information on a set schedule.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.CreateJobTriggerRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.JobTrigger` | The response to send back to the client (wrapped by a task). |

### CreateStoredInfoType(CreateStoredInfoTypeRequest, ServerCallContext)

    public virtual Task<StoredInfoType> CreateStoredInfoType(CreateStoredInfoTypeRequest request, ServerCallContext context)

Creates a pre-built stored infoType to be used for inspection.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.CreateStoredInfoTypeRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.StoredInfoType` | The response to send back to the client (wrapped by a task). |

### DeidentifyContent(DeidentifyContentRequest, ServerCallContext)

    public virtual Task<DeidentifyContentResponse> DeidentifyContent(DeidentifyContentRequest request, ServerCallContext context)

De-identifies potentially sensitive info from a ContentItem.
This method has limits on input size and output size.
See
<https://cloud.google.com/sensitive-data-protection/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** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DeidentifyContentRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DeidentifyContentResponse` | The response to send back to the client (wrapped by a task). |

### DeleteConnection(DeleteConnectionRequest, ServerCallContext)

    public virtual Task<Empty> DeleteConnection(DeleteConnectionRequest request, ServerCallContext context)

Delete a Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DeleteConnectionRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest, ServerCallContext)

    public virtual Task<Empty> DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request, ServerCallContext context)

Deletes a DeidentifyTemplate.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DeleteDeidentifyTemplateRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### DeleteDiscoveryConfig(DeleteDiscoveryConfigRequest, ServerCallContext)

    public virtual Task<Empty> DeleteDiscoveryConfig(DeleteDiscoveryConfigRequest request, ServerCallContext context)

Deletes a discovery configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DeleteDiscoveryConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### DeleteDlpJob(DeleteDlpJobRequest, ServerCallContext)

    public virtual Task<Empty> DeleteDlpJob(DeleteDlpJobRequest request, ServerCallContext context)

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/sensitive-data-protection/docs/inspecting-storage>
and
<https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DeleteDlpJobRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### DeleteFileStoreDataProfile(DeleteFileStoreDataProfileRequest, ServerCallContext)

    public virtual Task<Empty> DeleteFileStoreDataProfile(DeleteFileStoreDataProfileRequest request, ServerCallContext context)

Delete a FileStoreDataProfile. Will not prevent the profile from being
regenerated if the resource is still included in a discovery configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DeleteFileStoreDataProfileRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### DeleteInspectTemplate(DeleteInspectTemplateRequest, ServerCallContext)

    public virtual Task<Empty> DeleteInspectTemplate(DeleteInspectTemplateRequest request, ServerCallContext context)

Deletes an InspectTemplate.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-templates>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DeleteInspectTemplateRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### DeleteJobTrigger(DeleteJobTriggerRequest, ServerCallContext)

    public virtual Task<Empty> DeleteJobTrigger(DeleteJobTriggerRequest request, ServerCallContext context)

Deletes a job trigger.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DeleteJobTriggerRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### DeleteStoredInfoType(DeleteStoredInfoTypeRequest, ServerCallContext)

    public virtual Task<Empty> DeleteStoredInfoType(DeleteStoredInfoTypeRequest request, ServerCallContext context)

Deletes a stored infoType.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DeleteStoredInfoTypeRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### DeleteTableDataProfile(DeleteTableDataProfileRequest, ServerCallContext)

    public virtual Task<Empty> DeleteTableDataProfile(DeleteTableDataProfileRequest request, ServerCallContext context)

Delete a TableDataProfile. Will not prevent the profile from being
regenerated if the table is still included in a discovery configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DeleteTableDataProfileRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### FinishDlpJob(FinishDlpJobRequest, ServerCallContext)

    public virtual Task<Empty> FinishDlpJob(FinishDlpJobRequest request, ServerCallContext context)

Finish a running hybrid DlpJob. Triggers the finalization steps and running
of any enabled actions that have not yet run.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.FinishDlpJobRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### GetColumnDataProfile(GetColumnDataProfileRequest, ServerCallContext)

    public virtual Task<ColumnDataProfile> GetColumnDataProfile(GetColumnDataProfileRequest request, ServerCallContext context)

Gets a column data profile.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.GetColumnDataProfileRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ColumnDataProfile` | The response to send back to the client (wrapped by a task). |

### GetConnection(GetConnectionRequest, ServerCallContext)

    public virtual Task<Connection> GetConnection(GetConnectionRequest request, ServerCallContext context)

Get a Connection by name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.GetConnectionRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.Connection` | The response to send back to the client (wrapped by a task). |

### GetDeidentifyTemplate(GetDeidentifyTemplateRequest, ServerCallContext)

    public virtual Task<DeidentifyTemplate> GetDeidentifyTemplate(GetDeidentifyTemplateRequest request, ServerCallContext context)

Gets a DeidentifyTemplate.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.GetDeidentifyTemplateRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DeidentifyTemplate` | The response to send back to the client (wrapped by a task). |

### GetDiscoveryConfig(GetDiscoveryConfigRequest, ServerCallContext)

    public virtual Task<DiscoveryConfig> GetDiscoveryConfig(GetDiscoveryConfigRequest request, ServerCallContext context)

Gets a discovery configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.GetDiscoveryConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DiscoveryConfig` | The response to send back to the client (wrapped by a task). |

### GetDlpJob(GetDlpJobRequest, ServerCallContext)

    public virtual Task<DlpJob> GetDlpJob(GetDlpJobRequest request, ServerCallContext context)

Gets the latest state of a long-running DlpJob.
See
<https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage>
and
<https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.GetDlpJobRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DlpJob` | The response to send back to the client (wrapped by a task). |

### GetFileStoreDataProfile(GetFileStoreDataProfileRequest, ServerCallContext)

    public virtual Task<FileStoreDataProfile> GetFileStoreDataProfile(GetFileStoreDataProfileRequest request, ServerCallContext context)

Gets a file store data profile.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.GetFileStoreDataProfileRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.FileStoreDataProfile` | The response to send back to the client (wrapped by a task). |

### GetInspectTemplate(GetInspectTemplateRequest, ServerCallContext)

    public virtual Task<InspectTemplate> GetInspectTemplate(GetInspectTemplateRequest request, ServerCallContext context)

Gets an InspectTemplate.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-templates>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.GetInspectTemplateRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectTemplate` | The response to send back to the client (wrapped by a task). |

### GetJobTrigger(GetJobTriggerRequest, ServerCallContext)

    public virtual Task<JobTrigger> GetJobTrigger(GetJobTriggerRequest request, ServerCallContext context)

Gets a job trigger.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.GetJobTriggerRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.JobTrigger` | The response to send back to the client (wrapped by a task). |

### GetProjectDataProfile(GetProjectDataProfileRequest, ServerCallContext)

    public virtual Task<ProjectDataProfile> GetProjectDataProfile(GetProjectDataProfileRequest request, ServerCallContext context)

Gets a project data profile.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.GetProjectDataProfileRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ProjectDataProfile` | The response to send back to the client (wrapped by a task). |

### GetStoredInfoType(GetStoredInfoTypeRequest, ServerCallContext)

    public virtual Task<StoredInfoType> GetStoredInfoType(GetStoredInfoTypeRequest request, ServerCallContext context)

Gets a stored infoType.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.GetStoredInfoTypeRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.StoredInfoType` | The response to send back to the client (wrapped by a task). |

### GetTableDataProfile(GetTableDataProfileRequest, ServerCallContext)

    public virtual Task<TableDataProfile> GetTableDataProfile(GetTableDataProfileRequest request, ServerCallContext context)

Gets a table data profile.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.GetTableDataProfileRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.TableDataProfile` | The response to send back to the client (wrapped by a task). |

### HybridInspectDlpJob(HybridInspectDlpJobRequest, ServerCallContext)

    public virtual Task<HybridInspectResponse> HybridInspectDlpJob(HybridInspectDlpJobRequest request, ServerCallContext context)

Inspect hybrid content and store findings to a job.
To review the findings, inspect the job. Inspection will occur
asynchronously.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.HybridInspectDlpJobRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.HybridInspectResponse` | The response to send back to the client (wrapped by a task). |

### HybridInspectJobTrigger(HybridInspectJobTriggerRequest, ServerCallContext)

    public virtual Task<HybridInspectResponse> HybridInspectJobTrigger(HybridInspectJobTriggerRequest request, ServerCallContext context)

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** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.HybridInspectJobTriggerRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.HybridInspectResponse` | The response to send back to the client (wrapped by a task). |

### InspectContent(InspectContentRequest, ServerCallContext)

    public virtual Task<InspectContentResponse> InspectContent(InspectContentRequest request, ServerCallContext context)

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/sensitive-data-protection/docs/inspecting-images>
and
<https://cloud.google.com/sensitive-data-protection/docs/inspecting-text>,

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectContentRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectContentResponse` | The response to send back to the client (wrapped by a task). |

### ListColumnDataProfiles(ListColumnDataProfilesRequest, ServerCallContext)

    public virtual Task<ListColumnDataProfilesResponse> ListColumnDataProfiles(ListColumnDataProfilesRequest request, ServerCallContext context)

Lists column data profiles for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListColumnDataProfilesRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListColumnDataProfilesResponse` | The response to send back to the client (wrapped by a task). |

### ListConnections(ListConnectionsRequest, ServerCallContext)

    public virtual Task<ListConnectionsResponse> ListConnections(ListConnectionsRequest request, ServerCallContext context)

Lists Connections in a parent. Use SearchConnections to see all connections
within an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListConnectionsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListConnectionsResponse` | The response to send back to the client (wrapped by a task). |

### ListDeidentifyTemplates(ListDeidentifyTemplatesRequest, ServerCallContext)

    public virtual Task<ListDeidentifyTemplatesResponse> ListDeidentifyTemplates(ListDeidentifyTemplatesRequest request, ServerCallContext context)

Lists DeidentifyTemplates.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListDeidentifyTemplatesRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListDeidentifyTemplatesResponse` | The response to send back to the client (wrapped by a task). |

### ListDiscoveryConfigs(ListDiscoveryConfigsRequest, ServerCallContext)

    public virtual Task<ListDiscoveryConfigsResponse> ListDiscoveryConfigs(ListDiscoveryConfigsRequest request, ServerCallContext context)

Lists discovery configurations.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListDiscoveryConfigsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListDiscoveryConfigsResponse` | The response to send back to the client (wrapped by a task). |

### ListDlpJobs(ListDlpJobsRequest, ServerCallContext)

    public virtual Task<ListDlpJobsResponse> ListDlpJobs(ListDlpJobsRequest request, ServerCallContext context)

Lists DlpJobs that match the specified filter in the request.
See
<https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage>
and
<https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListDlpJobsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListDlpJobsResponse` | The response to send back to the client (wrapped by a task). |

### ListFileStoreDataProfiles(ListFileStoreDataProfilesRequest, ServerCallContext)

    public virtual Task<ListFileStoreDataProfilesResponse> ListFileStoreDataProfiles(ListFileStoreDataProfilesRequest request, ServerCallContext context)

Lists file store data profiles for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListFileStoreDataProfilesRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListFileStoreDataProfilesResponse` | The response to send back to the client (wrapped by a task). |

### ListInfoTypes(ListInfoTypesRequest, ServerCallContext)

    public virtual Task<ListInfoTypesResponse> ListInfoTypes(ListInfoTypesRequest request, ServerCallContext context)

Returns a list of the sensitive information types that the DLP API
supports. See
<https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListInfoTypesRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListInfoTypesResponse` | The response to send back to the client (wrapped by a task). |

### ListInspectTemplates(ListInspectTemplatesRequest, ServerCallContext)

    public virtual Task<ListInspectTemplatesResponse> ListInspectTemplates(ListInspectTemplatesRequest request, ServerCallContext context)

Lists InspectTemplates.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-templates>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListInspectTemplatesRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListInspectTemplatesResponse` | The response to send back to the client (wrapped by a task). |

### ListJobTriggers(ListJobTriggersRequest, ServerCallContext)

    public virtual Task<ListJobTriggersResponse> ListJobTriggers(ListJobTriggersRequest request, ServerCallContext context)

Lists job triggers.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListJobTriggersRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListJobTriggersResponse` | The response to send back to the client (wrapped by a task). |

### ListProjectDataProfiles(ListProjectDataProfilesRequest, ServerCallContext)

    public virtual Task<ListProjectDataProfilesResponse> ListProjectDataProfiles(ListProjectDataProfilesRequest request, ServerCallContext context)

Lists project data profiles for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListProjectDataProfilesRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListProjectDataProfilesResponse` | The response to send back to the client (wrapped by a task). |

### ListStoredInfoTypes(ListStoredInfoTypesRequest, ServerCallContext)

    public virtual Task<ListStoredInfoTypesResponse> ListStoredInfoTypes(ListStoredInfoTypesRequest request, ServerCallContext context)

Lists stored infoTypes.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListStoredInfoTypesRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListStoredInfoTypesResponse` | The response to send back to the client (wrapped by a task). |

### ListTableDataProfiles(ListTableDataProfilesRequest, ServerCallContext)

    public virtual Task<ListTableDataProfilesResponse> ListTableDataProfiles(ListTableDataProfilesRequest request, ServerCallContext context)

Lists table data profiles for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListTableDataProfilesRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ListTableDataProfilesResponse` | The response to send back to the client (wrapped by a task). |

### RedactImage(RedactImageRequest, ServerCallContext)

    public virtual Task<RedactImageResponse> RedactImage(RedactImageRequest request, ServerCallContext context)

Redacts potentially sensitive info from an image.
This method has limits on input size, processing time, and output size.
See
<https://cloud.google.com/sensitive-data-protection/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.

Only the first frame of each multiframe image is redacted. Metadata and
other frames are omitted in the response.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.RedactImageRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.RedactImageResponse` | The response to send back to the client (wrapped by a task). |

### ReidentifyContent(ReidentifyContentRequest, ServerCallContext)

    public virtual Task<ReidentifyContentResponse> ReidentifyContent(ReidentifyContentRequest request, ServerCallContext context)

Re-identifies content that has been de-identified.
See
<https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ReidentifyContentRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ReidentifyContentResponse` | The response to send back to the client (wrapped by a task). |

### SearchConnections(SearchConnectionsRequest, ServerCallContext)

    public virtual Task<SearchConnectionsResponse> SearchConnections(SearchConnectionsRequest request, ServerCallContext context)

Searches for Connections in a parent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.SearchConnectionsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.SearchConnectionsResponse` | The response to send back to the client (wrapped by a task). |

### UpdateConnection(UpdateConnectionRequest, ServerCallContext)

    public virtual Task<Connection> UpdateConnection(UpdateConnectionRequest request, ServerCallContext context)

Update a Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.UpdateConnectionRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.Connection` | The response to send back to the client (wrapped by a task). |

### UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest, ServerCallContext)

    public virtual Task<DeidentifyTemplate> UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest request, ServerCallContext context)

Updates the DeidentifyTemplate.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.UpdateDeidentifyTemplateRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DeidentifyTemplate` | The response to send back to the client (wrapped by a task). |

### UpdateDiscoveryConfig(UpdateDiscoveryConfigRequest, ServerCallContext)

    public virtual Task<DiscoveryConfig> UpdateDiscoveryConfig(UpdateDiscoveryConfigRequest request, ServerCallContext context)

Updates a discovery configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.UpdateDiscoveryConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DiscoveryConfig` | The response to send back to the client (wrapped by a task). |

### UpdateInspectTemplate(UpdateInspectTemplateRequest, ServerCallContext)

    public virtual Task<InspectTemplate> UpdateInspectTemplate(UpdateInspectTemplateRequest request, ServerCallContext context)

Updates the InspectTemplate.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-templates>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.UpdateInspectTemplateRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.InspectTemplate` | The response to send back to the client (wrapped by a task). |

### UpdateJobTrigger(UpdateJobTriggerRequest, ServerCallContext)

    public virtual Task<JobTrigger> UpdateJobTrigger(UpdateJobTriggerRequest request, ServerCallContext context)

Updates a job trigger.
See
<https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.UpdateJobTriggerRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.JobTrigger` | The response to send back to the client (wrapped by a task). |

### UpdateStoredInfoType(UpdateStoredInfoTypeRequest, ServerCallContext)

    public virtual Task<StoredInfoType> UpdateStoredInfoType(UpdateStoredInfoTypeRequest request, ServerCallContext context)

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/sensitive-data-protection/docs/creating-stored-infotypes>
to learn more.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.UpdateStoredInfoTypeRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.StoredInfoType` | The response to send back to the client (wrapped by a task). |