Class DlpService.DlpServiceClient (3.3.0)

public class DlpServiceClient : ClientBase<DlpService.DlpServiceClient>

Client for DlpService

Inheritance

Object > ClientBase > ClientBase<DlpService.DlpServiceClient> > DlpService.DlpServiceClient

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

DlpServiceClient()

protected DlpServiceClient()

Protected parameterless constructor to allow creation of test doubles.

DlpServiceClient(CallInvoker)

public DlpServiceClient(CallInvoker callInvoker)

Creates a new client for DlpService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

DlpServiceClient(Channel)

[Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
public DlpServiceClient(Channel channel)

Creates a new client using a channel.

Parameter
NameDescription
channelGrpc.Core.Channel

The channel to use to make remote calls.

DlpServiceClient(ChannelBase)

public DlpServiceClient(ChannelBase channel)

Creates a new client for DlpService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

DlpServiceClient(ClientBase.ClientBaseConfiguration)

protected DlpServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

ActivateJobTrigger(ActivateJobTriggerRequest, CallOptions)

public virtual DlpJob ActivateJobTrigger(ActivateJobTriggerRequest request, CallOptions options)

Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.

Parameters
NameDescription
requestActivateJobTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DlpJob

The response received from the server.

ActivateJobTrigger(ActivateJobTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual DlpJob ActivateJobTrigger(ActivateJobTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.

Parameters
NameDescription
requestActivateJobTriggerRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DlpJob

The response received from the server.

ActivateJobTriggerAsync(ActivateJobTriggerRequest, CallOptions)

public virtual AsyncUnaryCall<DlpJob> ActivateJobTriggerAsync(ActivateJobTriggerRequest request, CallOptions options)

Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.

Parameters
NameDescription
requestActivateJobTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<DlpJob>

The call object.

ActivateJobTriggerAsync(ActivateJobTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<DlpJob> ActivateJobTriggerAsync(ActivateJobTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.

Parameters
NameDescription
requestActivateJobTriggerRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<DlpJob>

The call object.

CancelDlpJob(CancelDlpJobRequest, CallOptions)

public virtual Empty CancelDlpJob(CancelDlpJobRequest request, CallOptions options)

Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.

Parameters
NameDescription
requestCancelDlpJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

CancelDlpJob(CancelDlpJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty CancelDlpJob(CancelDlpJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.

Parameters
NameDescription
requestCancelDlpJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

CancelDlpJobAsync(CancelDlpJobRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> CancelDlpJobAsync(CancelDlpJobRequest request, CallOptions options)

Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.

Parameters
NameDescription
requestCancelDlpJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

CancelDlpJobAsync(CancelDlpJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> CancelDlpJobAsync(CancelDlpJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.

Parameters
NameDescription
requestCancelDlpJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest, CallOptions)

public virtual DeidentifyTemplate CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest request, CallOptions options)

Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestCreateDeidentifyTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DeidentifyTemplate

The response received from the server.

CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual DeidentifyTemplate CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestCreateDeidentifyTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DeidentifyTemplate

The response received from the server.

CreateDeidentifyTemplateAsync(CreateDeidentifyTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<DeidentifyTemplate> CreateDeidentifyTemplateAsync(CreateDeidentifyTemplateRequest request, CallOptions options)

Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestCreateDeidentifyTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<DeidentifyTemplate>

The call object.

CreateDeidentifyTemplateAsync(CreateDeidentifyTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<DeidentifyTemplate> CreateDeidentifyTemplateAsync(CreateDeidentifyTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestCreateDeidentifyTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<DeidentifyTemplate>

The call object.

CreateDlpJob(CreateDlpJobRequest, CallOptions)

public virtual DlpJob CreateDlpJob(CreateDlpJobRequest request, CallOptions options)

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DlpJob

The response received from the server.

CreateDlpJob(CreateDlpJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual DlpJob CreateDlpJob(CreateDlpJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DlpJob

The response received from the server.

CreateDlpJobAsync(CreateDlpJobRequest, CallOptions)

public virtual AsyncUnaryCall<DlpJob> CreateDlpJobAsync(CreateDlpJobRequest request, CallOptions options)

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<DlpJob>

The call object.

CreateDlpJobAsync(CreateDlpJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<DlpJob> CreateDlpJobAsync(CreateDlpJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<DlpJob>

The call object.

CreateInspectTemplate(CreateInspectTemplateRequest, CallOptions)

public virtual InspectTemplate CreateInspectTemplate(CreateInspectTemplateRequest request, CallOptions options)

Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestCreateInspectTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InspectTemplate

The response received from the server.

CreateInspectTemplate(CreateInspectTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual InspectTemplate CreateInspectTemplate(CreateInspectTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestCreateInspectTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
InspectTemplate

The response received from the server.

CreateInspectTemplateAsync(CreateInspectTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<InspectTemplate> CreateInspectTemplateAsync(CreateInspectTemplateRequest request, CallOptions options)

Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestCreateInspectTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<InspectTemplate>

The call object.

CreateInspectTemplateAsync(CreateInspectTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<InspectTemplate> CreateInspectTemplateAsync(CreateInspectTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestCreateInspectTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<InspectTemplate>

The call object.

CreateJobTrigger(CreateJobTriggerRequest, CallOptions)

public virtual JobTrigger CreateJobTrigger(CreateJobTriggerRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateJobTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
JobTrigger

The response received from the server.

CreateJobTrigger(CreateJobTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual JobTrigger CreateJobTrigger(CreateJobTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestCreateJobTriggerRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
JobTrigger

The response received from the server.

CreateJobTriggerAsync(CreateJobTriggerRequest, CallOptions)

public virtual AsyncUnaryCall<JobTrigger> CreateJobTriggerAsync(CreateJobTriggerRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateJobTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<JobTrigger>

The call object.

CreateJobTriggerAsync(CreateJobTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<JobTrigger> CreateJobTriggerAsync(CreateJobTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestCreateJobTriggerRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<JobTrigger>

The call object.

CreateStoredInfoType(CreateStoredInfoTypeRequest, CallOptions)

public virtual StoredInfoType CreateStoredInfoType(CreateStoredInfoTypeRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateStoredInfoTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
StoredInfoType

The response received from the server.

CreateStoredInfoType(CreateStoredInfoTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual StoredInfoType CreateStoredInfoType(CreateStoredInfoTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestCreateStoredInfoTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
StoredInfoType

The response received from the server.

CreateStoredInfoTypeAsync(CreateStoredInfoTypeRequest, CallOptions)

public virtual AsyncUnaryCall<StoredInfoType> CreateStoredInfoTypeAsync(CreateStoredInfoTypeRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateStoredInfoTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<StoredInfoType>

The call object.

CreateStoredInfoTypeAsync(CreateStoredInfoTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<StoredInfoType> CreateStoredInfoTypeAsync(CreateStoredInfoTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestCreateStoredInfoTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<StoredInfoType>

The call object.

DeidentifyContent(DeidentifyContentRequest, CallOptions)

public virtual DeidentifyContentResponse DeidentifyContent(DeidentifyContentRequest request, CallOptions options)

De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to learn more.

When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.

Parameters
NameDescription
requestDeidentifyContentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DeidentifyContentResponse

The response received from the server.

DeidentifyContent(DeidentifyContentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual DeidentifyContentResponse DeidentifyContent(DeidentifyContentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to learn more.

When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.

Parameters
NameDescription
requestDeidentifyContentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DeidentifyContentResponse

The response received from the server.

DeidentifyContentAsync(DeidentifyContentRequest, CallOptions)

public virtual AsyncUnaryCall<DeidentifyContentResponse> DeidentifyContentAsync(DeidentifyContentRequest request, CallOptions options)

De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to learn more.

When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.

Parameters
NameDescription
requestDeidentifyContentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<DeidentifyContentResponse>

The call object.

DeidentifyContentAsync(DeidentifyContentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<DeidentifyContentResponse> DeidentifyContentAsync(DeidentifyContentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to learn more.

When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.

Parameters
NameDescription
requestDeidentifyContentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<DeidentifyContentResponse>

The call object.

DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest, CallOptions)

public virtual Empty DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request, CallOptions options)

Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestDeleteDeidentifyTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestDeleteDeidentifyTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteDeidentifyTemplateAsync(DeleteDeidentifyTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteDeidentifyTemplateAsync(DeleteDeidentifyTemplateRequest request, CallOptions options)

Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestDeleteDeidentifyTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteDeidentifyTemplateAsync(DeleteDeidentifyTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteDeidentifyTemplateAsync(DeleteDeidentifyTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestDeleteDeidentifyTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteDlpJob(DeleteDlpJobRequest, CallOptions)

public virtual Empty DeleteDlpJob(DeleteDlpJobRequest request, CallOptions options)

Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be cancelled if possible. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.

Parameters
NameDescription
requestDeleteDlpJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteDlpJob(DeleteDlpJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteDlpJob(DeleteDlpJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be cancelled if possible. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.

Parameters
NameDescription
requestDeleteDlpJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteDlpJobAsync(DeleteDlpJobRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteDlpJobAsync(DeleteDlpJobRequest request, CallOptions options)

Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be cancelled if possible. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.

Parameters
NameDescription
requestDeleteDlpJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteDlpJobAsync(DeleteDlpJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteDlpJobAsync(DeleteDlpJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be cancelled if possible. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.

Parameters
NameDescription
requestDeleteDlpJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteInspectTemplate(DeleteInspectTemplateRequest, CallOptions)

public virtual Empty DeleteInspectTemplate(DeleteInspectTemplateRequest request, CallOptions options)

Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestDeleteInspectTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteInspectTemplate(DeleteInspectTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteInspectTemplate(DeleteInspectTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestDeleteInspectTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteInspectTemplateAsync(DeleteInspectTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteInspectTemplateAsync(DeleteInspectTemplateRequest request, CallOptions options)

Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestDeleteInspectTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteInspectTemplateAsync(DeleteInspectTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteInspectTemplateAsync(DeleteInspectTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestDeleteInspectTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteJobTrigger(DeleteJobTriggerRequest, CallOptions)

public virtual Empty DeleteJobTrigger(DeleteJobTriggerRequest request, CallOptions options)

Deletes a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestDeleteJobTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteJobTrigger(DeleteJobTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteJobTrigger(DeleteJobTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestDeleteJobTriggerRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteJobTriggerAsync(DeleteJobTriggerRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteJobTriggerAsync(DeleteJobTriggerRequest request, CallOptions options)

Deletes a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestDeleteJobTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteJobTriggerAsync(DeleteJobTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteJobTriggerAsync(DeleteJobTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestDeleteJobTriggerRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteStoredInfoType(DeleteStoredInfoTypeRequest, CallOptions)

public virtual Empty DeleteStoredInfoType(DeleteStoredInfoTypeRequest request, CallOptions options)

Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

Parameters
NameDescription
requestDeleteStoredInfoTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteStoredInfoType(DeleteStoredInfoTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteStoredInfoType(DeleteStoredInfoTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

Parameters
NameDescription
requestDeleteStoredInfoTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteStoredInfoTypeAsync(DeleteStoredInfoTypeRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteStoredInfoTypeAsync(DeleteStoredInfoTypeRequest request, CallOptions options)

Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

Parameters
NameDescription
requestDeleteStoredInfoTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteStoredInfoTypeAsync(DeleteStoredInfoTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteStoredInfoTypeAsync(DeleteStoredInfoTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

Parameters
NameDescription
requestDeleteStoredInfoTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

FinishDlpJob(FinishDlpJobRequest, CallOptions)

public virtual Empty FinishDlpJob(FinishDlpJobRequest request, CallOptions options)

Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.

Parameters
NameDescription
requestFinishDlpJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

FinishDlpJob(FinishDlpJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty FinishDlpJob(FinishDlpJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.

Parameters
NameDescription
requestFinishDlpJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

FinishDlpJobAsync(FinishDlpJobRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> FinishDlpJobAsync(FinishDlpJobRequest request, CallOptions options)

Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.

Parameters
NameDescription
requestFinishDlpJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

FinishDlpJobAsync(FinishDlpJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> FinishDlpJobAsync(FinishDlpJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.

Parameters
NameDescription
requestFinishDlpJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

GetDeidentifyTemplate(GetDeidentifyTemplateRequest, CallOptions)

public virtual DeidentifyTemplate GetDeidentifyTemplate(GetDeidentifyTemplateRequest request, CallOptions options)

Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestGetDeidentifyTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DeidentifyTemplate

The response received from the server.

GetDeidentifyTemplate(GetDeidentifyTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual DeidentifyTemplate GetDeidentifyTemplate(GetDeidentifyTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestGetDeidentifyTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DeidentifyTemplate

The response received from the server.

GetDeidentifyTemplateAsync(GetDeidentifyTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<DeidentifyTemplate> GetDeidentifyTemplateAsync(GetDeidentifyTemplateRequest request, CallOptions options)

Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestGetDeidentifyTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<DeidentifyTemplate>

The call object.

GetDeidentifyTemplateAsync(GetDeidentifyTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<DeidentifyTemplate> GetDeidentifyTemplateAsync(GetDeidentifyTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestGetDeidentifyTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<DeidentifyTemplate>

The call object.

GetDlpJob(GetDlpJobRequest, CallOptions)

public virtual DlpJob GetDlpJob(GetDlpJobRequest request, CallOptions options)

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

Parameters
NameDescription
requestGetDlpJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DlpJob

The response received from the server.

GetDlpJob(GetDlpJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual DlpJob GetDlpJob(GetDlpJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestGetDlpJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DlpJob

The response received from the server.

GetDlpJobAsync(GetDlpJobRequest, CallOptions)

public virtual AsyncUnaryCall<DlpJob> GetDlpJobAsync(GetDlpJobRequest request, CallOptions options)

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

Parameters
NameDescription
requestGetDlpJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<DlpJob>

The call object.

GetDlpJobAsync(GetDlpJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<DlpJob> GetDlpJobAsync(GetDlpJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestGetDlpJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<DlpJob>

The call object.

GetInspectTemplate(GetInspectTemplateRequest, CallOptions)

public virtual InspectTemplate GetInspectTemplate(GetInspectTemplateRequest request, CallOptions options)

Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestGetInspectTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InspectTemplate

The response received from the server.

GetInspectTemplate(GetInspectTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual InspectTemplate GetInspectTemplate(GetInspectTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestGetInspectTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
InspectTemplate

The response received from the server.

GetInspectTemplateAsync(GetInspectTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<InspectTemplate> GetInspectTemplateAsync(GetInspectTemplateRequest request, CallOptions options)

Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestGetInspectTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<InspectTemplate>

The call object.

GetInspectTemplateAsync(GetInspectTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<InspectTemplate> GetInspectTemplateAsync(GetInspectTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestGetInspectTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<InspectTemplate>

The call object.

GetJobTrigger(GetJobTriggerRequest, CallOptions)

public virtual JobTrigger GetJobTrigger(GetJobTriggerRequest request, CallOptions options)

Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestGetJobTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
JobTrigger

The response received from the server.

GetJobTrigger(GetJobTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual JobTrigger GetJobTrigger(GetJobTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestGetJobTriggerRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
JobTrigger

The response received from the server.

GetJobTriggerAsync(GetJobTriggerRequest, CallOptions)

public virtual AsyncUnaryCall<JobTrigger> GetJobTriggerAsync(GetJobTriggerRequest request, CallOptions options)

Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestGetJobTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<JobTrigger>

The call object.

GetJobTriggerAsync(GetJobTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<JobTrigger> GetJobTriggerAsync(GetJobTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestGetJobTriggerRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<JobTrigger>

The call object.

GetStoredInfoType(GetStoredInfoTypeRequest, CallOptions)

public virtual StoredInfoType GetStoredInfoType(GetStoredInfoTypeRequest request, CallOptions options)

Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

Parameters
NameDescription
requestGetStoredInfoTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
StoredInfoType

The response received from the server.

GetStoredInfoType(GetStoredInfoTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual StoredInfoType GetStoredInfoType(GetStoredInfoTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

Parameters
NameDescription
requestGetStoredInfoTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
StoredInfoType

The response received from the server.

GetStoredInfoTypeAsync(GetStoredInfoTypeRequest, CallOptions)

public virtual AsyncUnaryCall<StoredInfoType> GetStoredInfoTypeAsync(GetStoredInfoTypeRequest request, CallOptions options)

Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

Parameters
NameDescription
requestGetStoredInfoTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<StoredInfoType>

The call object.

GetStoredInfoTypeAsync(GetStoredInfoTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<StoredInfoType> GetStoredInfoTypeAsync(GetStoredInfoTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

Parameters
NameDescription
requestGetStoredInfoTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<StoredInfoType>

The call object.

HybridInspectDlpJob(HybridInspectDlpJobRequest, CallOptions)

public virtual HybridInspectResponse HybridInspectDlpJob(HybridInspectDlpJobRequest request, CallOptions options)

Inspect hybrid content and store findings to a job. To review the findings inspect the job. Inspection will occur asynchronously. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.

Parameters
NameDescription
requestHybridInspectDlpJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
HybridInspectResponse

The response received from the server.

HybridInspectDlpJob(HybridInspectDlpJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual HybridInspectResponse HybridInspectDlpJob(HybridInspectDlpJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Inspect hybrid content and store findings to a job. To review the findings inspect the job. Inspection will occur asynchronously. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.

Parameters
NameDescription
requestHybridInspectDlpJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
HybridInspectResponse

The response received from the server.

HybridInspectDlpJobAsync(HybridInspectDlpJobRequest, CallOptions)

public virtual AsyncUnaryCall<HybridInspectResponse> HybridInspectDlpJobAsync(HybridInspectDlpJobRequest request, CallOptions options)

Inspect hybrid content and store findings to a job. To review the findings inspect the job. Inspection will occur asynchronously. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.

Parameters
NameDescription
requestHybridInspectDlpJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<HybridInspectResponse>

The call object.

HybridInspectDlpJobAsync(HybridInspectDlpJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<HybridInspectResponse> HybridInspectDlpJobAsync(HybridInspectDlpJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Inspect hybrid content and store findings to a job. To review the findings inspect the job. Inspection will occur asynchronously. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.

Parameters
NameDescription
requestHybridInspectDlpJobRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<HybridInspectResponse>

The call object.

HybridInspectJobTrigger(HybridInspectJobTriggerRequest, CallOptions)

public virtual HybridInspectResponse HybridInspectJobTrigger(HybridInspectJobTriggerRequest request, CallOptions options)

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. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.

Parameters
NameDescription
requestHybridInspectJobTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
HybridInspectResponse

The response received from the server.

HybridInspectJobTrigger(HybridInspectJobTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual HybridInspectResponse HybridInspectJobTrigger(HybridInspectJobTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.

Parameters
NameDescription
requestHybridInspectJobTriggerRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
HybridInspectResponse

The response received from the server.

HybridInspectJobTriggerAsync(HybridInspectJobTriggerRequest, CallOptions)

public virtual AsyncUnaryCall<HybridInspectResponse> HybridInspectJobTriggerAsync(HybridInspectJobTriggerRequest request, CallOptions options)

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. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.

Parameters
NameDescription
requestHybridInspectJobTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<HybridInspectResponse>

The call object.

HybridInspectJobTriggerAsync(HybridInspectJobTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<HybridInspectResponse> HybridInspectJobTriggerAsync(HybridInspectJobTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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. Early access feature is in a pre-release state and might change or have limited support. For more information, see https://cloud.google.com/products#product-launch-stages.

Parameters
NameDescription
requestHybridInspectJobTriggerRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<HybridInspectResponse>

The call object.

InspectContent(InspectContentRequest, CallOptions)

public virtual InspectContentResponse InspectContent(InspectContentRequest request, CallOptions options)

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

Parameters
NameDescription
requestInspectContentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InspectContentResponse

The response received from the server.

InspectContent(InspectContentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual InspectContentResponse InspectContent(InspectContentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestInspectContentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
InspectContentResponse

The response received from the server.

InspectContentAsync(InspectContentRequest, CallOptions)

public virtual AsyncUnaryCall<InspectContentResponse> InspectContentAsync(InspectContentRequest request, CallOptions options)

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

Parameters
NameDescription
requestInspectContentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<InspectContentResponse>

The call object.

InspectContentAsync(InspectContentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<InspectContentResponse> InspectContentAsync(InspectContentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestInspectContentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<InspectContentResponse>

The call object.

ListDeidentifyTemplates(ListDeidentifyTemplatesRequest, CallOptions)

public virtual ListDeidentifyTemplatesResponse ListDeidentifyTemplates(ListDeidentifyTemplatesRequest request, CallOptions options)

Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestListDeidentifyTemplatesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDeidentifyTemplatesResponse

The response received from the server.

ListDeidentifyTemplates(ListDeidentifyTemplatesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListDeidentifyTemplatesResponse ListDeidentifyTemplates(ListDeidentifyTemplatesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestListDeidentifyTemplatesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListDeidentifyTemplatesResponse

The response received from the server.

ListDeidentifyTemplatesAsync(ListDeidentifyTemplatesRequest, CallOptions)

public virtual AsyncUnaryCall<ListDeidentifyTemplatesResponse> ListDeidentifyTemplatesAsync(ListDeidentifyTemplatesRequest request, CallOptions options)

Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestListDeidentifyTemplatesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListDeidentifyTemplatesResponse>

The call object.

ListDeidentifyTemplatesAsync(ListDeidentifyTemplatesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListDeidentifyTemplatesResponse> ListDeidentifyTemplatesAsync(ListDeidentifyTemplatesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists DeidentifyTemplates. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestListDeidentifyTemplatesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListDeidentifyTemplatesResponse>

The call object.

ListDlpJobs(ListDlpJobsRequest, CallOptions)

public virtual ListDlpJobsResponse ListDlpJobs(ListDlpJobsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListDlpJobsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDlpJobsResponse

The response received from the server.

ListDlpJobs(ListDlpJobsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListDlpJobsResponse ListDlpJobs(ListDlpJobsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestListDlpJobsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListDlpJobsResponse

The response received from the server.

ListDlpJobsAsync(ListDlpJobsRequest, CallOptions)

public virtual AsyncUnaryCall<ListDlpJobsResponse> ListDlpJobsAsync(ListDlpJobsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListDlpJobsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListDlpJobsResponse>

The call object.

ListDlpJobsAsync(ListDlpJobsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListDlpJobsResponse> ListDlpJobsAsync(ListDlpJobsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestListDlpJobsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListDlpJobsResponse>

The call object.

ListInfoTypes(ListInfoTypesRequest, CallOptions)

public virtual ListInfoTypesResponse ListInfoTypes(ListInfoTypesRequest request, CallOptions options)

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

Parameters
NameDescription
requestListInfoTypesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListInfoTypesResponse

The response received from the server.

ListInfoTypes(ListInfoTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListInfoTypesResponse ListInfoTypes(ListInfoTypesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestListInfoTypesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListInfoTypesResponse

The response received from the server.

ListInfoTypesAsync(ListInfoTypesRequest, CallOptions)

public virtual AsyncUnaryCall<ListInfoTypesResponse> ListInfoTypesAsync(ListInfoTypesRequest request, CallOptions options)

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

Parameters
NameDescription
requestListInfoTypesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListInfoTypesResponse>

The call object.

ListInfoTypesAsync(ListInfoTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListInfoTypesResponse> ListInfoTypesAsync(ListInfoTypesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestListInfoTypesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListInfoTypesResponse>

The call object.

ListInspectTemplates(ListInspectTemplatesRequest, CallOptions)

public virtual ListInspectTemplatesResponse ListInspectTemplates(ListInspectTemplatesRequest request, CallOptions options)

Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestListInspectTemplatesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListInspectTemplatesResponse

The response received from the server.

ListInspectTemplates(ListInspectTemplatesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListInspectTemplatesResponse ListInspectTemplates(ListInspectTemplatesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestListInspectTemplatesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListInspectTemplatesResponse

The response received from the server.

ListInspectTemplatesAsync(ListInspectTemplatesRequest, CallOptions)

public virtual AsyncUnaryCall<ListInspectTemplatesResponse> ListInspectTemplatesAsync(ListInspectTemplatesRequest request, CallOptions options)

Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestListInspectTemplatesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListInspectTemplatesResponse>

The call object.

ListInspectTemplatesAsync(ListInspectTemplatesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListInspectTemplatesResponse> ListInspectTemplatesAsync(ListInspectTemplatesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestListInspectTemplatesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListInspectTemplatesResponse>

The call object.

ListJobTriggers(ListJobTriggersRequest, CallOptions)

public virtual ListJobTriggersResponse ListJobTriggers(ListJobTriggersRequest request, CallOptions options)

Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestListJobTriggersRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListJobTriggersResponse

The response received from the server.

ListJobTriggers(ListJobTriggersRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListJobTriggersResponse ListJobTriggers(ListJobTriggersRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestListJobTriggersRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListJobTriggersResponse

The response received from the server.

ListJobTriggersAsync(ListJobTriggersRequest, CallOptions)

public virtual AsyncUnaryCall<ListJobTriggersResponse> ListJobTriggersAsync(ListJobTriggersRequest request, CallOptions options)

Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestListJobTriggersRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListJobTriggersResponse>

The call object.

ListJobTriggersAsync(ListJobTriggersRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListJobTriggersResponse> ListJobTriggersAsync(ListJobTriggersRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestListJobTriggersRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListJobTriggersResponse>

The call object.

ListStoredInfoTypes(ListStoredInfoTypesRequest, CallOptions)

public virtual ListStoredInfoTypesResponse ListStoredInfoTypes(ListStoredInfoTypesRequest request, CallOptions options)

Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

Parameters
NameDescription
requestListStoredInfoTypesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListStoredInfoTypesResponse

The response received from the server.

ListStoredInfoTypes(ListStoredInfoTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListStoredInfoTypesResponse ListStoredInfoTypes(ListStoredInfoTypesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

Parameters
NameDescription
requestListStoredInfoTypesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListStoredInfoTypesResponse

The response received from the server.

ListStoredInfoTypesAsync(ListStoredInfoTypesRequest, CallOptions)

public virtual AsyncUnaryCall<ListStoredInfoTypesResponse> ListStoredInfoTypesAsync(ListStoredInfoTypesRequest request, CallOptions options)

Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

Parameters
NameDescription
requestListStoredInfoTypesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListStoredInfoTypesResponse>

The call object.

ListStoredInfoTypesAsync(ListStoredInfoTypesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListStoredInfoTypesResponse> ListStoredInfoTypesAsync(ListStoredInfoTypesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

Parameters
NameDescription
requestListStoredInfoTypesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListStoredInfoTypesResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override DlpService.DlpServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
DlpService.DlpServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Dlp.V2.DlpService.DlpServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

RedactImage(RedactImageRequest, CallOptions)

public virtual RedactImageResponse RedactImage(RedactImageRequest request, CallOptions options)

Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to learn more.

When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.

Parameters
NameDescription
requestRedactImageRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
RedactImageResponse

The response received from the server.

RedactImage(RedactImageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual RedactImageResponse RedactImage(RedactImageRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to learn more.

When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.

Parameters
NameDescription
requestRedactImageRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
RedactImageResponse

The response received from the server.

RedactImageAsync(RedactImageRequest, CallOptions)

public virtual AsyncUnaryCall<RedactImageResponse> RedactImageAsync(RedactImageRequest request, CallOptions options)

Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to learn more.

When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.

Parameters
NameDescription
requestRedactImageRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<RedactImageResponse>

The call object.

RedactImageAsync(RedactImageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<RedactImageResponse> RedactImageAsync(RedactImageRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to learn more.

When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.

Parameters
NameDescription
requestRedactImageRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<RedactImageResponse>

The call object.

ReidentifyContent(ReidentifyContentRequest, CallOptions)

public virtual ReidentifyContentResponse ReidentifyContent(ReidentifyContentRequest request, CallOptions options)

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

Parameters
NameDescription
requestReidentifyContentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ReidentifyContentResponse

The response received from the server.

ReidentifyContent(ReidentifyContentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ReidentifyContentResponse ReidentifyContent(ReidentifyContentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestReidentifyContentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ReidentifyContentResponse

The response received from the server.

ReidentifyContentAsync(ReidentifyContentRequest, CallOptions)

public virtual AsyncUnaryCall<ReidentifyContentResponse> ReidentifyContentAsync(ReidentifyContentRequest request, CallOptions options)

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

Parameters
NameDescription
requestReidentifyContentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ReidentifyContentResponse>

The call object.

ReidentifyContentAsync(ReidentifyContentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ReidentifyContentResponse> ReidentifyContentAsync(ReidentifyContentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestReidentifyContentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ReidentifyContentResponse>

The call object.

UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest, CallOptions)

public virtual DeidentifyTemplate UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest request, CallOptions options)

Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestUpdateDeidentifyTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DeidentifyTemplate

The response received from the server.

UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual DeidentifyTemplate UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestUpdateDeidentifyTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DeidentifyTemplate

The response received from the server.

UpdateDeidentifyTemplateAsync(UpdateDeidentifyTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<DeidentifyTemplate> UpdateDeidentifyTemplateAsync(UpdateDeidentifyTemplateRequest request, CallOptions options)

Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestUpdateDeidentifyTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<DeidentifyTemplate>

The call object.

UpdateDeidentifyTemplateAsync(UpdateDeidentifyTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<DeidentifyTemplate> UpdateDeidentifyTemplateAsync(UpdateDeidentifyTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

Parameters
NameDescription
requestUpdateDeidentifyTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<DeidentifyTemplate>

The call object.

UpdateInspectTemplate(UpdateInspectTemplateRequest, CallOptions)

public virtual InspectTemplate UpdateInspectTemplate(UpdateInspectTemplateRequest request, CallOptions options)

Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestUpdateInspectTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
InspectTemplate

The response received from the server.

UpdateInspectTemplate(UpdateInspectTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual InspectTemplate UpdateInspectTemplate(UpdateInspectTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestUpdateInspectTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
InspectTemplate

The response received from the server.

UpdateInspectTemplateAsync(UpdateInspectTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<InspectTemplate> UpdateInspectTemplateAsync(UpdateInspectTemplateRequest request, CallOptions options)

Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestUpdateInspectTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<InspectTemplate>

The call object.

UpdateInspectTemplateAsync(UpdateInspectTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<InspectTemplate> UpdateInspectTemplateAsync(UpdateInspectTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

Parameters
NameDescription
requestUpdateInspectTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<InspectTemplate>

The call object.

UpdateJobTrigger(UpdateJobTriggerRequest, CallOptions)

public virtual JobTrigger UpdateJobTrigger(UpdateJobTriggerRequest request, CallOptions options)

Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestUpdateJobTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
JobTrigger

The response received from the server.

UpdateJobTrigger(UpdateJobTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual JobTrigger UpdateJobTrigger(UpdateJobTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestUpdateJobTriggerRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
JobTrigger

The response received from the server.

UpdateJobTriggerAsync(UpdateJobTriggerRequest, CallOptions)

public virtual AsyncUnaryCall<JobTrigger> UpdateJobTriggerAsync(UpdateJobTriggerRequest request, CallOptions options)

Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestUpdateJobTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<JobTrigger>

The call object.

UpdateJobTriggerAsync(UpdateJobTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<JobTrigger> UpdateJobTriggerAsync(UpdateJobTriggerRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

Parameters
NameDescription
requestUpdateJobTriggerRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<JobTrigger>

The call object.

UpdateStoredInfoType(UpdateStoredInfoTypeRequest, CallOptions)

public virtual StoredInfoType UpdateStoredInfoType(UpdateStoredInfoTypeRequest request, CallOptions options)

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

Parameters
NameDescription
requestUpdateStoredInfoTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
StoredInfoType

The response received from the server.

UpdateStoredInfoType(UpdateStoredInfoTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual StoredInfoType UpdateStoredInfoType(UpdateStoredInfoTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestUpdateStoredInfoTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
StoredInfoType

The response received from the server.

UpdateStoredInfoTypeAsync(UpdateStoredInfoTypeRequest, CallOptions)

public virtual AsyncUnaryCall<StoredInfoType> UpdateStoredInfoTypeAsync(UpdateStoredInfoTypeRequest request, CallOptions options)

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

Parameters
NameDescription
requestUpdateStoredInfoTypeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<StoredInfoType>

The call object.

UpdateStoredInfoTypeAsync(UpdateStoredInfoTypeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<StoredInfoType> UpdateStoredInfoTypeAsync(UpdateStoredInfoTypeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestUpdateStoredInfoTypeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<StoredInfoType>

The call object.