Class protos.google.privacy.dlp.v2.DlpService (5.3.0)

Represents a DlpService

Inheritance

$protobuf.rpc.Service > protos.google.privacy.dlp.v2.DlpService

Package

@google-cloud/dlp

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new DlpService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

activateJobTrigger(request, callback)

public activateJobTrigger(request: google.privacy.dlp.v2.IActivateJobTriggerRequest, callback: google.privacy.dlp.v2.DlpService.ActivateJobTriggerCallback): void;

Calls ActivateJobTrigger.

Parameters
Name Description
request IActivateJobTriggerRequest

ActivateJobTriggerRequest message or plain object

callback ActivateJobTriggerCallback

Node-style callback called with the error, if any, and DlpJob

Returns
Type Description
void

activateJobTrigger(request)

public activateJobTrigger(request: google.privacy.dlp.v2.IActivateJobTriggerRequest): Promise<google.privacy.dlp.v2.DlpJob>;

Calls ActivateJobTrigger.

Parameter
Name Description
request IActivateJobTriggerRequest

ActivateJobTriggerRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.DlpJob>

Promise

cancelDlpJob(request, callback)

public cancelDlpJob(request: google.privacy.dlp.v2.ICancelDlpJobRequest, callback: google.privacy.dlp.v2.DlpService.CancelDlpJobCallback): void;

Calls CancelDlpJob.

Parameters
Name Description
request ICancelDlpJobRequest

CancelDlpJobRequest message or plain object

callback CancelDlpJobCallback

Node-style callback called with the error, if any, and Empty

Returns
Type Description
void

cancelDlpJob(request)

public cancelDlpJob(request: google.privacy.dlp.v2.ICancelDlpJobRequest): Promise<google.protobuf.Empty>;

Calls CancelDlpJob.

Parameter
Name Description
request ICancelDlpJobRequest

CancelDlpJobRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DlpService;

Creates new DlpService service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
DlpService

RPC service. Useful where requests and/or responses are streamed.

createDeidentifyTemplate(request, callback)

public createDeidentifyTemplate(request: google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest, callback: google.privacy.dlp.v2.DlpService.CreateDeidentifyTemplateCallback): void;

Calls CreateDeidentifyTemplate.

Parameters
Name Description
request ICreateDeidentifyTemplateRequest

CreateDeidentifyTemplateRequest message or plain object

callback CreateDeidentifyTemplateCallback

Node-style callback called with the error, if any, and DeidentifyTemplate

Returns
Type Description
void

createDeidentifyTemplate(request)

public createDeidentifyTemplate(request: google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest): Promise<google.privacy.dlp.v2.DeidentifyTemplate>;

Calls CreateDeidentifyTemplate.

Parameter
Name Description
request ICreateDeidentifyTemplateRequest

CreateDeidentifyTemplateRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.DeidentifyTemplate>

Promise

createDiscoveryConfig(request, callback)

public createDiscoveryConfig(request: google.privacy.dlp.v2.ICreateDiscoveryConfigRequest, callback: google.privacy.dlp.v2.DlpService.CreateDiscoveryConfigCallback): void;

Calls CreateDiscoveryConfig.

Parameters
Name Description
request ICreateDiscoveryConfigRequest

CreateDiscoveryConfigRequest message or plain object

callback CreateDiscoveryConfigCallback

Node-style callback called with the error, if any, and DiscoveryConfig

Returns
Type Description
void

createDiscoveryConfig(request)

public createDiscoveryConfig(request: google.privacy.dlp.v2.ICreateDiscoveryConfigRequest): Promise<google.privacy.dlp.v2.DiscoveryConfig>;

Calls CreateDiscoveryConfig.

Parameter
Name Description
request ICreateDiscoveryConfigRequest

CreateDiscoveryConfigRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.DiscoveryConfig>

Promise

createDlpJob(request, callback)

public createDlpJob(request: google.privacy.dlp.v2.ICreateDlpJobRequest, callback: google.privacy.dlp.v2.DlpService.CreateDlpJobCallback): void;

Calls CreateDlpJob.

Parameters
Name Description
request ICreateDlpJobRequest

CreateDlpJobRequest message or plain object

callback CreateDlpJobCallback

Node-style callback called with the error, if any, and DlpJob

Returns
Type Description
void

createDlpJob(request)

public createDlpJob(request: google.privacy.dlp.v2.ICreateDlpJobRequest): Promise<google.privacy.dlp.v2.DlpJob>;

Calls CreateDlpJob.

Parameter
Name Description
request ICreateDlpJobRequest

CreateDlpJobRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.DlpJob>

Promise

createInspectTemplate(request, callback)

public createInspectTemplate(request: google.privacy.dlp.v2.ICreateInspectTemplateRequest, callback: google.privacy.dlp.v2.DlpService.CreateInspectTemplateCallback): void;

Calls CreateInspectTemplate.

Parameters
Name Description
request ICreateInspectTemplateRequest

CreateInspectTemplateRequest message or plain object

callback CreateInspectTemplateCallback

Node-style callback called with the error, if any, and InspectTemplate

Returns
Type Description
void

createInspectTemplate(request)

public createInspectTemplate(request: google.privacy.dlp.v2.ICreateInspectTemplateRequest): Promise<google.privacy.dlp.v2.InspectTemplate>;

Calls CreateInspectTemplate.

Parameter
Name Description
request ICreateInspectTemplateRequest

CreateInspectTemplateRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.InspectTemplate>

Promise

createJobTrigger(request, callback)

public createJobTrigger(request: google.privacy.dlp.v2.ICreateJobTriggerRequest, callback: google.privacy.dlp.v2.DlpService.CreateJobTriggerCallback): void;

Calls CreateJobTrigger.

Parameters
Name Description
request ICreateJobTriggerRequest

CreateJobTriggerRequest message or plain object

callback CreateJobTriggerCallback

Node-style callback called with the error, if any, and JobTrigger

Returns
Type Description
void

createJobTrigger(request)

public createJobTrigger(request: google.privacy.dlp.v2.ICreateJobTriggerRequest): Promise<google.privacy.dlp.v2.JobTrigger>;

Calls CreateJobTrigger.

Parameter
Name Description
request ICreateJobTriggerRequest

CreateJobTriggerRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.JobTrigger>

Promise

createStoredInfoType(request, callback)

public createStoredInfoType(request: google.privacy.dlp.v2.ICreateStoredInfoTypeRequest, callback: google.privacy.dlp.v2.DlpService.CreateStoredInfoTypeCallback): void;

Calls CreateStoredInfoType.

Parameters
Name Description
request ICreateStoredInfoTypeRequest

CreateStoredInfoTypeRequest message or plain object

callback CreateStoredInfoTypeCallback

Node-style callback called with the error, if any, and StoredInfoType

Returns
Type Description
void

createStoredInfoType(request)

public createStoredInfoType(request: google.privacy.dlp.v2.ICreateStoredInfoTypeRequest): Promise<google.privacy.dlp.v2.StoredInfoType>;

Calls CreateStoredInfoType.

Parameter
Name Description
request ICreateStoredInfoTypeRequest

CreateStoredInfoTypeRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.StoredInfoType>

Promise

deidentifyContent(request, callback)

public deidentifyContent(request: google.privacy.dlp.v2.IDeidentifyContentRequest, callback: google.privacy.dlp.v2.DlpService.DeidentifyContentCallback): void;

Calls DeidentifyContent.

Parameters
Name Description
request IDeidentifyContentRequest

DeidentifyContentRequest message or plain object

callback DeidentifyContentCallback

Node-style callback called with the error, if any, and DeidentifyContentResponse

Returns
Type Description
void

deidentifyContent(request)

public deidentifyContent(request: google.privacy.dlp.v2.IDeidentifyContentRequest): Promise<google.privacy.dlp.v2.DeidentifyContentResponse>;

Calls DeidentifyContent.

Parameter
Name Description
request IDeidentifyContentRequest

DeidentifyContentRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.DeidentifyContentResponse>

Promise

deleteDeidentifyTemplate(request, callback)

public deleteDeidentifyTemplate(request: google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest, callback: google.privacy.dlp.v2.DlpService.DeleteDeidentifyTemplateCallback): void;

Calls DeleteDeidentifyTemplate.

Parameters
Name Description
request IDeleteDeidentifyTemplateRequest

DeleteDeidentifyTemplateRequest message or plain object

callback DeleteDeidentifyTemplateCallback

Node-style callback called with the error, if any, and Empty

Returns
Type Description
void

deleteDeidentifyTemplate(request)

public deleteDeidentifyTemplate(request: google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest): Promise<google.protobuf.Empty>;

Calls DeleteDeidentifyTemplate.

Parameter
Name Description
request IDeleteDeidentifyTemplateRequest

DeleteDeidentifyTemplateRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

deleteDiscoveryConfig(request, callback)

public deleteDiscoveryConfig(request: google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest, callback: google.privacy.dlp.v2.DlpService.DeleteDiscoveryConfigCallback): void;

Calls DeleteDiscoveryConfig.

Parameters
Name Description
request IDeleteDiscoveryConfigRequest

DeleteDiscoveryConfigRequest message or plain object

callback DeleteDiscoveryConfigCallback

Node-style callback called with the error, if any, and Empty

Returns
Type Description
void

deleteDiscoveryConfig(request)

public deleteDiscoveryConfig(request: google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest): Promise<google.protobuf.Empty>;

Calls DeleteDiscoveryConfig.

Parameter
Name Description
request IDeleteDiscoveryConfigRequest

DeleteDiscoveryConfigRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

deleteDlpJob(request, callback)

public deleteDlpJob(request: google.privacy.dlp.v2.IDeleteDlpJobRequest, callback: google.privacy.dlp.v2.DlpService.DeleteDlpJobCallback): void;

Calls DeleteDlpJob.

Parameters
Name Description
request IDeleteDlpJobRequest

DeleteDlpJobRequest message or plain object

callback DeleteDlpJobCallback

Node-style callback called with the error, if any, and Empty

Returns
Type Description
void

deleteDlpJob(request)

public deleteDlpJob(request: google.privacy.dlp.v2.IDeleteDlpJobRequest): Promise<google.protobuf.Empty>;

Calls DeleteDlpJob.

Parameter
Name Description
request IDeleteDlpJobRequest

DeleteDlpJobRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

deleteInspectTemplate(request, callback)

public deleteInspectTemplate(request: google.privacy.dlp.v2.IDeleteInspectTemplateRequest, callback: google.privacy.dlp.v2.DlpService.DeleteInspectTemplateCallback): void;

Calls DeleteInspectTemplate.

Parameters
Name Description
request IDeleteInspectTemplateRequest

DeleteInspectTemplateRequest message or plain object

callback DeleteInspectTemplateCallback

Node-style callback called with the error, if any, and Empty

Returns
Type Description
void

deleteInspectTemplate(request)

public deleteInspectTemplate(request: google.privacy.dlp.v2.IDeleteInspectTemplateRequest): Promise<google.protobuf.Empty>;

Calls DeleteInspectTemplate.

Parameter
Name Description
request IDeleteInspectTemplateRequest

DeleteInspectTemplateRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

deleteJobTrigger(request, callback)

public deleteJobTrigger(request: google.privacy.dlp.v2.IDeleteJobTriggerRequest, callback: google.privacy.dlp.v2.DlpService.DeleteJobTriggerCallback): void;

Calls DeleteJobTrigger.

Parameters
Name Description
request IDeleteJobTriggerRequest

DeleteJobTriggerRequest message or plain object

callback DeleteJobTriggerCallback

Node-style callback called with the error, if any, and Empty

Returns
Type Description
void

deleteJobTrigger(request)

public deleteJobTrigger(request: google.privacy.dlp.v2.IDeleteJobTriggerRequest): Promise<google.protobuf.Empty>;

Calls DeleteJobTrigger.

Parameter
Name Description
request IDeleteJobTriggerRequest

DeleteJobTriggerRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

deleteStoredInfoType(request, callback)

public deleteStoredInfoType(request: google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest, callback: google.privacy.dlp.v2.DlpService.DeleteStoredInfoTypeCallback): void;

Calls DeleteStoredInfoType.

Parameters
Name Description
request IDeleteStoredInfoTypeRequest

DeleteStoredInfoTypeRequest message or plain object

callback DeleteStoredInfoTypeCallback

Node-style callback called with the error, if any, and Empty

Returns
Type Description
void

deleteStoredInfoType(request)

public deleteStoredInfoType(request: google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest): Promise<google.protobuf.Empty>;

Calls DeleteStoredInfoType.

Parameter
Name Description
request IDeleteStoredInfoTypeRequest

DeleteStoredInfoTypeRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

finishDlpJob(request, callback)

public finishDlpJob(request: google.privacy.dlp.v2.IFinishDlpJobRequest, callback: google.privacy.dlp.v2.DlpService.FinishDlpJobCallback): void;

Calls FinishDlpJob.

Parameters
Name Description
request IFinishDlpJobRequest

FinishDlpJobRequest message or plain object

callback FinishDlpJobCallback

Node-style callback called with the error, if any, and Empty

Returns
Type Description
void

finishDlpJob(request)

public finishDlpJob(request: google.privacy.dlp.v2.IFinishDlpJobRequest): Promise<google.protobuf.Empty>;

Calls FinishDlpJob.

Parameter
Name Description
request IFinishDlpJobRequest

FinishDlpJobRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

getColumnDataProfile(request, callback)

public getColumnDataProfile(request: google.privacy.dlp.v2.IGetColumnDataProfileRequest, callback: google.privacy.dlp.v2.DlpService.GetColumnDataProfileCallback): void;

Calls GetColumnDataProfile.

Parameters
Name Description
request IGetColumnDataProfileRequest

GetColumnDataProfileRequest message or plain object

callback GetColumnDataProfileCallback

Node-style callback called with the error, if any, and ColumnDataProfile

Returns
Type Description
void

getColumnDataProfile(request)

public getColumnDataProfile(request: google.privacy.dlp.v2.IGetColumnDataProfileRequest): Promise<google.privacy.dlp.v2.ColumnDataProfile>;

Calls GetColumnDataProfile.

Parameter
Name Description
request IGetColumnDataProfileRequest

GetColumnDataProfileRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.ColumnDataProfile>

Promise

getDeidentifyTemplate(request, callback)

public getDeidentifyTemplate(request: google.privacy.dlp.v2.IGetDeidentifyTemplateRequest, callback: google.privacy.dlp.v2.DlpService.GetDeidentifyTemplateCallback): void;

Calls GetDeidentifyTemplate.

Parameters
Name Description
request IGetDeidentifyTemplateRequest

GetDeidentifyTemplateRequest message or plain object

callback GetDeidentifyTemplateCallback

Node-style callback called with the error, if any, and DeidentifyTemplate

Returns
Type Description
void

getDeidentifyTemplate(request)

public getDeidentifyTemplate(request: google.privacy.dlp.v2.IGetDeidentifyTemplateRequest): Promise<google.privacy.dlp.v2.DeidentifyTemplate>;

Calls GetDeidentifyTemplate.

Parameter
Name Description
request IGetDeidentifyTemplateRequest

GetDeidentifyTemplateRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.DeidentifyTemplate>

Promise

getDiscoveryConfig(request, callback)

public getDiscoveryConfig(request: google.privacy.dlp.v2.IGetDiscoveryConfigRequest, callback: google.privacy.dlp.v2.DlpService.GetDiscoveryConfigCallback): void;

Calls GetDiscoveryConfig.

Parameters
Name Description
request IGetDiscoveryConfigRequest

GetDiscoveryConfigRequest message or plain object

callback GetDiscoveryConfigCallback

Node-style callback called with the error, if any, and DiscoveryConfig

Returns
Type Description
void

getDiscoveryConfig(request)

public getDiscoveryConfig(request: google.privacy.dlp.v2.IGetDiscoveryConfigRequest): Promise<google.privacy.dlp.v2.DiscoveryConfig>;

Calls GetDiscoveryConfig.

Parameter
Name Description
request IGetDiscoveryConfigRequest

GetDiscoveryConfigRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.DiscoveryConfig>

Promise

getDlpJob(request, callback)

public getDlpJob(request: google.privacy.dlp.v2.IGetDlpJobRequest, callback: google.privacy.dlp.v2.DlpService.GetDlpJobCallback): void;

Calls GetDlpJob.

Parameters
Name Description
request IGetDlpJobRequest

GetDlpJobRequest message or plain object

callback GetDlpJobCallback

Node-style callback called with the error, if any, and DlpJob

Returns
Type Description
void

getDlpJob(request)

public getDlpJob(request: google.privacy.dlp.v2.IGetDlpJobRequest): Promise<google.privacy.dlp.v2.DlpJob>;

Calls GetDlpJob.

Parameter
Name Description
request IGetDlpJobRequest

GetDlpJobRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.DlpJob>

Promise

getInspectTemplate(request, callback)

public getInspectTemplate(request: google.privacy.dlp.v2.IGetInspectTemplateRequest, callback: google.privacy.dlp.v2.DlpService.GetInspectTemplateCallback): void;

Calls GetInspectTemplate.

Parameters
Name Description
request IGetInspectTemplateRequest

GetInspectTemplateRequest message or plain object

callback GetInspectTemplateCallback

Node-style callback called with the error, if any, and InspectTemplate

Returns
Type Description
void

getInspectTemplate(request)

public getInspectTemplate(request: google.privacy.dlp.v2.IGetInspectTemplateRequest): Promise<google.privacy.dlp.v2.InspectTemplate>;

Calls GetInspectTemplate.

Parameter
Name Description
request IGetInspectTemplateRequest

GetInspectTemplateRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.InspectTemplate>

Promise

getJobTrigger(request, callback)

public getJobTrigger(request: google.privacy.dlp.v2.IGetJobTriggerRequest, callback: google.privacy.dlp.v2.DlpService.GetJobTriggerCallback): void;

Calls GetJobTrigger.

Parameters
Name Description
request IGetJobTriggerRequest

GetJobTriggerRequest message or plain object

callback GetJobTriggerCallback

Node-style callback called with the error, if any, and JobTrigger

Returns
Type Description
void

getJobTrigger(request)

public getJobTrigger(request: google.privacy.dlp.v2.IGetJobTriggerRequest): Promise<google.privacy.dlp.v2.JobTrigger>;

Calls GetJobTrigger.

Parameter
Name Description
request IGetJobTriggerRequest

GetJobTriggerRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.JobTrigger>

Promise

getProjectDataProfile(request, callback)

public getProjectDataProfile(request: google.privacy.dlp.v2.IGetProjectDataProfileRequest, callback: google.privacy.dlp.v2.DlpService.GetProjectDataProfileCallback): void;

Calls GetProjectDataProfile.

Parameters
Name Description
request IGetProjectDataProfileRequest

GetProjectDataProfileRequest message or plain object

callback GetProjectDataProfileCallback

Node-style callback called with the error, if any, and ProjectDataProfile

Returns
Type Description
void

getProjectDataProfile(request)

public getProjectDataProfile(request: google.privacy.dlp.v2.IGetProjectDataProfileRequest): Promise<google.privacy.dlp.v2.ProjectDataProfile>;

Calls GetProjectDataProfile.

Parameter
Name Description
request IGetProjectDataProfileRequest

GetProjectDataProfileRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.ProjectDataProfile>

Promise

getStoredInfoType(request, callback)

public getStoredInfoType(request: google.privacy.dlp.v2.IGetStoredInfoTypeRequest, callback: google.privacy.dlp.v2.DlpService.GetStoredInfoTypeCallback): void;

Calls GetStoredInfoType.

Parameters
Name Description
request IGetStoredInfoTypeRequest

GetStoredInfoTypeRequest message or plain object

callback GetStoredInfoTypeCallback

Node-style callback called with the error, if any, and StoredInfoType

Returns
Type Description
void

getStoredInfoType(request)

public getStoredInfoType(request: google.privacy.dlp.v2.IGetStoredInfoTypeRequest): Promise<google.privacy.dlp.v2.StoredInfoType>;

Calls GetStoredInfoType.

Parameter
Name Description
request IGetStoredInfoTypeRequest

GetStoredInfoTypeRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.StoredInfoType>

Promise

getTableDataProfile(request, callback)

public getTableDataProfile(request: google.privacy.dlp.v2.IGetTableDataProfileRequest, callback: google.privacy.dlp.v2.DlpService.GetTableDataProfileCallback): void;

Calls GetTableDataProfile.

Parameters
Name Description
request IGetTableDataProfileRequest

GetTableDataProfileRequest message or plain object

callback GetTableDataProfileCallback

Node-style callback called with the error, if any, and TableDataProfile

Returns
Type Description
void

getTableDataProfile(request)

public getTableDataProfile(request: google.privacy.dlp.v2.IGetTableDataProfileRequest): Promise<google.privacy.dlp.v2.TableDataProfile>;

Calls GetTableDataProfile.

Parameter
Name Description
request IGetTableDataProfileRequest

GetTableDataProfileRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.TableDataProfile>

Promise

hybridInspectDlpJob(request, callback)

public hybridInspectDlpJob(request: google.privacy.dlp.v2.IHybridInspectDlpJobRequest, callback: google.privacy.dlp.v2.DlpService.HybridInspectDlpJobCallback): void;

Calls HybridInspectDlpJob.

Parameters
Name Description
request IHybridInspectDlpJobRequest

HybridInspectDlpJobRequest message or plain object

callback HybridInspectDlpJobCallback

Node-style callback called with the error, if any, and HybridInspectResponse

Returns
Type Description
void

hybridInspectDlpJob(request)

public hybridInspectDlpJob(request: google.privacy.dlp.v2.IHybridInspectDlpJobRequest): Promise<google.privacy.dlp.v2.HybridInspectResponse>;

Calls HybridInspectDlpJob.

Parameter
Name Description
request IHybridInspectDlpJobRequest

HybridInspectDlpJobRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.HybridInspectResponse>

Promise

hybridInspectJobTrigger(request, callback)

public hybridInspectJobTrigger(request: google.privacy.dlp.v2.IHybridInspectJobTriggerRequest, callback: google.privacy.dlp.v2.DlpService.HybridInspectJobTriggerCallback): void;

Calls HybridInspectJobTrigger.

Parameters
Name Description
request IHybridInspectJobTriggerRequest

HybridInspectJobTriggerRequest message or plain object

callback HybridInspectJobTriggerCallback

Node-style callback called with the error, if any, and HybridInspectResponse

Returns
Type Description
void

hybridInspectJobTrigger(request)

public hybridInspectJobTrigger(request: google.privacy.dlp.v2.IHybridInspectJobTriggerRequest): Promise<google.privacy.dlp.v2.HybridInspectResponse>;

Calls HybridInspectJobTrigger.

Parameter
Name Description
request IHybridInspectJobTriggerRequest

HybridInspectJobTriggerRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.HybridInspectResponse>

Promise

inspectContent(request, callback)

public inspectContent(request: google.privacy.dlp.v2.IInspectContentRequest, callback: google.privacy.dlp.v2.DlpService.InspectContentCallback): void;

Calls InspectContent.

Parameters
Name Description
request IInspectContentRequest

InspectContentRequest message or plain object

callback InspectContentCallback

Node-style callback called with the error, if any, and InspectContentResponse

Returns
Type Description
void

inspectContent(request)

public inspectContent(request: google.privacy.dlp.v2.IInspectContentRequest): Promise<google.privacy.dlp.v2.InspectContentResponse>;

Calls InspectContent.

Parameter
Name Description
request IInspectContentRequest

InspectContentRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.InspectContentResponse>

Promise

listColumnDataProfiles(request, callback)

public listColumnDataProfiles(request: google.privacy.dlp.v2.IListColumnDataProfilesRequest, callback: google.privacy.dlp.v2.DlpService.ListColumnDataProfilesCallback): void;

Calls ListColumnDataProfiles.

Parameters
Name Description
request IListColumnDataProfilesRequest

ListColumnDataProfilesRequest message or plain object

callback ListColumnDataProfilesCallback

Node-style callback called with the error, if any, and ListColumnDataProfilesResponse

Returns
Type Description
void

listColumnDataProfiles(request)

public listColumnDataProfiles(request: google.privacy.dlp.v2.IListColumnDataProfilesRequest): Promise<google.privacy.dlp.v2.ListColumnDataProfilesResponse>;

Calls ListColumnDataProfiles.

Parameter
Name Description
request IListColumnDataProfilesRequest

ListColumnDataProfilesRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.ListColumnDataProfilesResponse>

Promise

listDeidentifyTemplates(request, callback)

public listDeidentifyTemplates(request: google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, callback: google.privacy.dlp.v2.DlpService.ListDeidentifyTemplatesCallback): void;

Calls ListDeidentifyTemplates.

Parameters
Name Description
request IListDeidentifyTemplatesRequest

ListDeidentifyTemplatesRequest message or plain object

callback ListDeidentifyTemplatesCallback

Node-style callback called with the error, if any, and ListDeidentifyTemplatesResponse

Returns
Type Description
void

listDeidentifyTemplates(request)

public listDeidentifyTemplates(request: google.privacy.dlp.v2.IListDeidentifyTemplatesRequest): Promise<google.privacy.dlp.v2.ListDeidentifyTemplatesResponse>;

Calls ListDeidentifyTemplates.

Parameter
Name Description
request IListDeidentifyTemplatesRequest

ListDeidentifyTemplatesRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.ListDeidentifyTemplatesResponse>

Promise

listDiscoveryConfigs(request, callback)

public listDiscoveryConfigs(request: google.privacy.dlp.v2.IListDiscoveryConfigsRequest, callback: google.privacy.dlp.v2.DlpService.ListDiscoveryConfigsCallback): void;

Calls ListDiscoveryConfigs.

Parameters
Name Description
request IListDiscoveryConfigsRequest

ListDiscoveryConfigsRequest message or plain object

callback ListDiscoveryConfigsCallback

Node-style callback called with the error, if any, and ListDiscoveryConfigsResponse

Returns
Type Description
void

listDiscoveryConfigs(request)

public listDiscoveryConfigs(request: google.privacy.dlp.v2.IListDiscoveryConfigsRequest): Promise<google.privacy.dlp.v2.ListDiscoveryConfigsResponse>;

Calls ListDiscoveryConfigs.

Parameter
Name Description
request IListDiscoveryConfigsRequest

ListDiscoveryConfigsRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.ListDiscoveryConfigsResponse>

Promise

listDlpJobs(request, callback)

public listDlpJobs(request: google.privacy.dlp.v2.IListDlpJobsRequest, callback: google.privacy.dlp.v2.DlpService.ListDlpJobsCallback): void;

Calls ListDlpJobs.

Parameters
Name Description
request IListDlpJobsRequest

ListDlpJobsRequest message or plain object

callback ListDlpJobsCallback

Node-style callback called with the error, if any, and ListDlpJobsResponse

Returns
Type Description
void

listDlpJobs(request)

public listDlpJobs(request: google.privacy.dlp.v2.IListDlpJobsRequest): Promise<google.privacy.dlp.v2.ListDlpJobsResponse>;

Calls ListDlpJobs.

Parameter
Name Description
request IListDlpJobsRequest

ListDlpJobsRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.ListDlpJobsResponse>

Promise

listInfoTypes(request, callback)

public listInfoTypes(request: google.privacy.dlp.v2.IListInfoTypesRequest, callback: google.privacy.dlp.v2.DlpService.ListInfoTypesCallback): void;

Calls ListInfoTypes.

Parameters
Name Description
request IListInfoTypesRequest

ListInfoTypesRequest message or plain object

callback ListInfoTypesCallback

Node-style callback called with the error, if any, and ListInfoTypesResponse

Returns
Type Description
void

listInfoTypes(request)

public listInfoTypes(request: google.privacy.dlp.v2.IListInfoTypesRequest): Promise<google.privacy.dlp.v2.ListInfoTypesResponse>;

Calls ListInfoTypes.

Parameter
Name Description
request IListInfoTypesRequest

ListInfoTypesRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.ListInfoTypesResponse>

Promise

listInspectTemplates(request, callback)

public listInspectTemplates(request: google.privacy.dlp.v2.IListInspectTemplatesRequest, callback: google.privacy.dlp.v2.DlpService.ListInspectTemplatesCallback): void;

Calls ListInspectTemplates.

Parameters
Name Description
request IListInspectTemplatesRequest

ListInspectTemplatesRequest message or plain object

callback ListInspectTemplatesCallback

Node-style callback called with the error, if any, and ListInspectTemplatesResponse

Returns
Type Description
void

listInspectTemplates(request)

public listInspectTemplates(request: google.privacy.dlp.v2.IListInspectTemplatesRequest): Promise<google.privacy.dlp.v2.ListInspectTemplatesResponse>;

Calls ListInspectTemplates.

Parameter
Name Description
request IListInspectTemplatesRequest

ListInspectTemplatesRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.ListInspectTemplatesResponse>

Promise

listJobTriggers(request, callback)

public listJobTriggers(request: google.privacy.dlp.v2.IListJobTriggersRequest, callback: google.privacy.dlp.v2.DlpService.ListJobTriggersCallback): void;

Calls ListJobTriggers.

Parameters
Name Description
request IListJobTriggersRequest

ListJobTriggersRequest message or plain object

callback ListJobTriggersCallback

Node-style callback called with the error, if any, and ListJobTriggersResponse

Returns
Type Description
void

listJobTriggers(request)

public listJobTriggers(request: google.privacy.dlp.v2.IListJobTriggersRequest): Promise<google.privacy.dlp.v2.ListJobTriggersResponse>;

Calls ListJobTriggers.

Parameter
Name Description
request IListJobTriggersRequest

ListJobTriggersRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.ListJobTriggersResponse>

Promise

listProjectDataProfiles(request, callback)

public listProjectDataProfiles(request: google.privacy.dlp.v2.IListProjectDataProfilesRequest, callback: google.privacy.dlp.v2.DlpService.ListProjectDataProfilesCallback): void;

Calls ListProjectDataProfiles.

Parameters
Name Description
request IListProjectDataProfilesRequest

ListProjectDataProfilesRequest message or plain object

callback ListProjectDataProfilesCallback

Node-style callback called with the error, if any, and ListProjectDataProfilesResponse

Returns
Type Description
void

listProjectDataProfiles(request)

public listProjectDataProfiles(request: google.privacy.dlp.v2.IListProjectDataProfilesRequest): Promise<google.privacy.dlp.v2.ListProjectDataProfilesResponse>;

Calls ListProjectDataProfiles.

Parameter
Name Description
request IListProjectDataProfilesRequest

ListProjectDataProfilesRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.ListProjectDataProfilesResponse>

Promise

listStoredInfoTypes(request, callback)

public listStoredInfoTypes(request: google.privacy.dlp.v2.IListStoredInfoTypesRequest, callback: google.privacy.dlp.v2.DlpService.ListStoredInfoTypesCallback): void;

Calls ListStoredInfoTypes.

Parameters
Name Description
request IListStoredInfoTypesRequest

ListStoredInfoTypesRequest message or plain object

callback ListStoredInfoTypesCallback

Node-style callback called with the error, if any, and ListStoredInfoTypesResponse

Returns
Type Description
void

listStoredInfoTypes(request)

public listStoredInfoTypes(request: google.privacy.dlp.v2.IListStoredInfoTypesRequest): Promise<google.privacy.dlp.v2.ListStoredInfoTypesResponse>;

Calls ListStoredInfoTypes.

Parameter
Name Description
request IListStoredInfoTypesRequest

ListStoredInfoTypesRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.ListStoredInfoTypesResponse>

Promise

listTableDataProfiles(request, callback)

public listTableDataProfiles(request: google.privacy.dlp.v2.IListTableDataProfilesRequest, callback: google.privacy.dlp.v2.DlpService.ListTableDataProfilesCallback): void;

Calls ListTableDataProfiles.

Parameters
Name Description
request IListTableDataProfilesRequest

ListTableDataProfilesRequest message or plain object

callback ListTableDataProfilesCallback

Node-style callback called with the error, if any, and ListTableDataProfilesResponse

Returns
Type Description
void

listTableDataProfiles(request)

public listTableDataProfiles(request: google.privacy.dlp.v2.IListTableDataProfilesRequest): Promise<google.privacy.dlp.v2.ListTableDataProfilesResponse>;

Calls ListTableDataProfiles.

Parameter
Name Description
request IListTableDataProfilesRequest

ListTableDataProfilesRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.ListTableDataProfilesResponse>

Promise

redactImage(request, callback)

public redactImage(request: google.privacy.dlp.v2.IRedactImageRequest, callback: google.privacy.dlp.v2.DlpService.RedactImageCallback): void;

Calls RedactImage.

Parameters
Name Description
request IRedactImageRequest

RedactImageRequest message or plain object

callback RedactImageCallback

Node-style callback called with the error, if any, and RedactImageResponse

Returns
Type Description
void

redactImage(request)

public redactImage(request: google.privacy.dlp.v2.IRedactImageRequest): Promise<google.privacy.dlp.v2.RedactImageResponse>;

Calls RedactImage.

Parameter
Name Description
request IRedactImageRequest

RedactImageRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.RedactImageResponse>

Promise

reidentifyContent(request, callback)

public reidentifyContent(request: google.privacy.dlp.v2.IReidentifyContentRequest, callback: google.privacy.dlp.v2.DlpService.ReidentifyContentCallback): void;

Calls ReidentifyContent.

Parameters
Name Description
request IReidentifyContentRequest

ReidentifyContentRequest message or plain object

callback ReidentifyContentCallback

Node-style callback called with the error, if any, and ReidentifyContentResponse

Returns
Type Description
void

reidentifyContent(request)

public reidentifyContent(request: google.privacy.dlp.v2.IReidentifyContentRequest): Promise<google.privacy.dlp.v2.ReidentifyContentResponse>;

Calls ReidentifyContent.

Parameter
Name Description
request IReidentifyContentRequest

ReidentifyContentRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.ReidentifyContentResponse>

Promise

updateDeidentifyTemplate(request, callback)

public updateDeidentifyTemplate(request: google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest, callback: google.privacy.dlp.v2.DlpService.UpdateDeidentifyTemplateCallback): void;

Calls UpdateDeidentifyTemplate.

Parameters
Name Description
request IUpdateDeidentifyTemplateRequest

UpdateDeidentifyTemplateRequest message or plain object

callback UpdateDeidentifyTemplateCallback

Node-style callback called with the error, if any, and DeidentifyTemplate

Returns
Type Description
void

updateDeidentifyTemplate(request)

public updateDeidentifyTemplate(request: google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest): Promise<google.privacy.dlp.v2.DeidentifyTemplate>;

Calls UpdateDeidentifyTemplate.

Parameter
Name Description
request IUpdateDeidentifyTemplateRequest

UpdateDeidentifyTemplateRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.DeidentifyTemplate>

Promise

updateDiscoveryConfig(request, callback)

public updateDiscoveryConfig(request: google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest, callback: google.privacy.dlp.v2.DlpService.UpdateDiscoveryConfigCallback): void;

Calls UpdateDiscoveryConfig.

Parameters
Name Description
request IUpdateDiscoveryConfigRequest

UpdateDiscoveryConfigRequest message or plain object

callback UpdateDiscoveryConfigCallback

Node-style callback called with the error, if any, and DiscoveryConfig

Returns
Type Description
void

updateDiscoveryConfig(request)

public updateDiscoveryConfig(request: google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest): Promise<google.privacy.dlp.v2.DiscoveryConfig>;

Calls UpdateDiscoveryConfig.

Parameter
Name Description
request IUpdateDiscoveryConfigRequest

UpdateDiscoveryConfigRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.DiscoveryConfig>

Promise

updateInspectTemplate(request, callback)

public updateInspectTemplate(request: google.privacy.dlp.v2.IUpdateInspectTemplateRequest, callback: google.privacy.dlp.v2.DlpService.UpdateInspectTemplateCallback): void;

Calls UpdateInspectTemplate.

Parameters
Name Description
request IUpdateInspectTemplateRequest

UpdateInspectTemplateRequest message or plain object

callback UpdateInspectTemplateCallback

Node-style callback called with the error, if any, and InspectTemplate

Returns
Type Description
void

updateInspectTemplate(request)

public updateInspectTemplate(request: google.privacy.dlp.v2.IUpdateInspectTemplateRequest): Promise<google.privacy.dlp.v2.InspectTemplate>;

Calls UpdateInspectTemplate.

Parameter
Name Description
request IUpdateInspectTemplateRequest

UpdateInspectTemplateRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.InspectTemplate>

Promise

updateJobTrigger(request, callback)

public updateJobTrigger(request: google.privacy.dlp.v2.IUpdateJobTriggerRequest, callback: google.privacy.dlp.v2.DlpService.UpdateJobTriggerCallback): void;

Calls UpdateJobTrigger.

Parameters
Name Description
request IUpdateJobTriggerRequest

UpdateJobTriggerRequest message or plain object

callback UpdateJobTriggerCallback

Node-style callback called with the error, if any, and JobTrigger

Returns
Type Description
void

updateJobTrigger(request)

public updateJobTrigger(request: google.privacy.dlp.v2.IUpdateJobTriggerRequest): Promise<google.privacy.dlp.v2.JobTrigger>;

Calls UpdateJobTrigger.

Parameter
Name Description
request IUpdateJobTriggerRequest

UpdateJobTriggerRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.JobTrigger>

Promise

updateStoredInfoType(request, callback)

public updateStoredInfoType(request: google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest, callback: google.privacy.dlp.v2.DlpService.UpdateStoredInfoTypeCallback): void;

Calls UpdateStoredInfoType.

Parameters
Name Description
request IUpdateStoredInfoTypeRequest

UpdateStoredInfoTypeRequest message or plain object

callback UpdateStoredInfoTypeCallback

Node-style callback called with the error, if any, and StoredInfoType

Returns
Type Description
void

updateStoredInfoType(request)

public updateStoredInfoType(request: google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest): Promise<google.privacy.dlp.v2.StoredInfoType>;

Calls UpdateStoredInfoType.

Parameter
Name Description
request IUpdateStoredInfoTypeRequest

UpdateStoredInfoTypeRequest message or plain object

Returns
Type Description
Promise<google.privacy.dlp.v2.StoredInfoType>

Promise