Google Cloud Data Loss Prevention v2 API - Class DlpService.DlpServiceBase (4.13.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 > 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
Name Description
request ActivateJobTriggerRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDlpJob

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 CancelDlpJobRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

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 CreateConnectionRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskConnection

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 CreateDeidentifyTemplateRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDeidentifyTemplate

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 CreateDiscoveryConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDiscoveryConfig

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 CreateDlpJobRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDlpJob

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 CreateInspectTemplateRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskInspectTemplate

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 CreateJobTriggerRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskJobTrigger

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 CreateStoredInfoTypeRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskStoredInfoType

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 DeidentifyContentRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDeidentifyContentResponse

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 DeleteConnectionRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

The response to send back to the client (wrapped by a task).

DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

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 DeleteDiscoveryConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

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 DeleteDlpJobRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

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 DeleteFileStoreDataProfileRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

The response to send back to the client (wrapped by a task).

DeleteInspectTemplate(DeleteInspectTemplateRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

The response to send back to the client (wrapped by a task).

DeleteJobTrigger(DeleteJobTriggerRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

The response to send back to the client (wrapped by a task).

DeleteStoredInfoType(DeleteStoredInfoTypeRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

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 DeleteTableDataProfileRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

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 FinishDlpJobRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

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 GetColumnDataProfileRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskColumnDataProfile

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 GetConnectionRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskConnection

The response to send back to the client (wrapped by a task).

GetDeidentifyTemplate(GetDeidentifyTemplateRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDeidentifyTemplate

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 GetDiscoveryConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDiscoveryConfig

The response to send back to the client (wrapped by a task).

GetDlpJob(GetDlpJobRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDlpJob

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 GetFileStoreDataProfileRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskFileStoreDataProfile

The response to send back to the client (wrapped by a task).

GetInspectTemplate(GetInspectTemplateRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskInspectTemplate

The response to send back to the client (wrapped by a task).

GetJobTrigger(GetJobTriggerRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskJobTrigger

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 GetProjectDataProfileRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskProjectDataProfile

The response to send back to the client (wrapped by a task).

GetStoredInfoType(GetStoredInfoTypeRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskStoredInfoType

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 GetTableDataProfileRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskTableDataProfile

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 HybridInspectDlpJobRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskHybridInspectResponse

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 HybridInspectJobTriggerRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskHybridInspectResponse

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 InspectContentRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskInspectContentResponse

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 ListColumnDataProfilesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListColumnDataProfilesResponse

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 ListConnectionsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListConnectionsResponse

The response to send back to the client (wrapped by a task).

ListDeidentifyTemplates(ListDeidentifyTemplatesRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListDeidentifyTemplatesResponse

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 ListDiscoveryConfigsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListDiscoveryConfigsResponse

The response to send back to the client (wrapped by a task).

ListDlpJobs(ListDlpJobsRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListDlpJobsResponse

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 ListFileStoreDataProfilesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListFileStoreDataProfilesResponse

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 DLP API supports. See https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to learn more.

Parameters
Name Description
request ListInfoTypesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListInfoTypesResponse

The response to send back to the client (wrapped by a task).

ListInspectTemplates(ListInspectTemplatesRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListInspectTemplatesResponse

The response to send back to the client (wrapped by a task).

ListJobTriggers(ListJobTriggersRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListJobTriggersResponse

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 ListProjectDataProfilesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListProjectDataProfilesResponse

The response to send back to the client (wrapped by a task).

ListStoredInfoTypes(ListStoredInfoTypesRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListStoredInfoTypesResponse

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 ListTableDataProfilesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListTableDataProfilesResponse

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.

Parameters
Name Description
request RedactImageRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskRedactImageResponse

The response to send back to the client (wrapped by a task).

ReidentifyContent(ReidentifyContentRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskReidentifyContentResponse

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 SearchConnectionsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskSearchConnectionsResponse

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 UpdateConnectionRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskConnection

The response to send back to the client (wrapped by a task).

UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDeidentifyTemplate

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 UpdateDiscoveryConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDiscoveryConfig

The response to send back to the client (wrapped by a task).

UpdateInspectTemplate(UpdateInspectTemplateRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskInspectTemplate

The response to send back to the client (wrapped by a task).

UpdateJobTrigger(UpdateJobTriggerRequest, ServerCallContext)

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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskJobTrigger

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 UpdateStoredInfoTypeRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskStoredInfoType

The response to send back to the client (wrapped by a task).