Class protos.google.privacy.dlp.v2.DlpService (3.5.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
NameDescription
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
NameDescription
request IActivateJobTriggerRequest

ActivateJobTriggerRequest message or plain object

callback google.privacy.dlp.v2.DlpService.ActivateJobTriggerCallback

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

Returns
TypeDescription
void

activateJobTrigger(request)

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

Calls ActivateJobTrigger.

Parameter
NameDescription
request IActivateJobTriggerRequest

ActivateJobTriggerRequest message or plain object

Returns
TypeDescription
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
NameDescription
request ICancelDlpJobRequest

CancelDlpJobRequest message or plain object

callback google.privacy.dlp.v2.DlpService.CancelDlpJobCallback

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

Returns
TypeDescription
void

cancelDlpJob(request)

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

Calls CancelDlpJob.

Parameter
NameDescription
request ICancelDlpJobRequest

CancelDlpJobRequest message or plain object

Returns
TypeDescription
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
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
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
NameDescription
request google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest

CreateDeidentifyTemplateRequest message or plain object

callback google.privacy.dlp.v2.DlpService.CreateDeidentifyTemplateCallback

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

Returns
TypeDescription
void

createDeidentifyTemplate(request)

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

Calls CreateDeidentifyTemplate.

Parameter
NameDescription
request google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest

CreateDeidentifyTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.privacy.dlp.v2.DeidentifyTemplate>

Promise

createDlpJob(request, callback)

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

Calls CreateDlpJob.

Parameters
NameDescription
request ICreateDlpJobRequest

CreateDlpJobRequest message or plain object

callback google.privacy.dlp.v2.DlpService.CreateDlpJobCallback

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

Returns
TypeDescription
void

createDlpJob(request)

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

Calls CreateDlpJob.

Parameter
NameDescription
request ICreateDlpJobRequest

CreateDlpJobRequest message or plain object

Returns
TypeDescription
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
NameDescription
request google.privacy.dlp.v2.ICreateInspectTemplateRequest

CreateInspectTemplateRequest message or plain object

callback google.privacy.dlp.v2.DlpService.CreateInspectTemplateCallback

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

Returns
TypeDescription
void

createInspectTemplate(request)

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

Calls CreateInspectTemplate.

Parameter
NameDescription
request google.privacy.dlp.v2.ICreateInspectTemplateRequest

CreateInspectTemplateRequest message or plain object

Returns
TypeDescription
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
NameDescription
request ICreateJobTriggerRequest

CreateJobTriggerRequest message or plain object

callback google.privacy.dlp.v2.DlpService.CreateJobTriggerCallback

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

Returns
TypeDescription
void

createJobTrigger(request)

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

Calls CreateJobTrigger.

Parameter
NameDescription
request ICreateJobTriggerRequest

CreateJobTriggerRequest message or plain object

Returns
TypeDescription
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
NameDescription
request google.privacy.dlp.v2.ICreateStoredInfoTypeRequest

CreateStoredInfoTypeRequest message or plain object

callback google.privacy.dlp.v2.DlpService.CreateStoredInfoTypeCallback

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

Returns
TypeDescription
void

createStoredInfoType(request)

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

Calls CreateStoredInfoType.

Parameter
NameDescription
request google.privacy.dlp.v2.ICreateStoredInfoTypeRequest

CreateStoredInfoTypeRequest message or plain object

Returns
TypeDescription
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
NameDescription
request google.privacy.dlp.v2.IDeidentifyContentRequest

DeidentifyContentRequest message or plain object

callback google.privacy.dlp.v2.DlpService.DeidentifyContentCallback

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

Returns
TypeDescription
void

deidentifyContent(request)

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

Calls DeidentifyContent.

Parameter
NameDescription
request google.privacy.dlp.v2.IDeidentifyContentRequest

DeidentifyContentRequest message or plain object

Returns
TypeDescription
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
NameDescription
request google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest

DeleteDeidentifyTemplateRequest message or plain object

callback google.privacy.dlp.v2.DlpService.DeleteDeidentifyTemplateCallback

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

Returns
TypeDescription
void

deleteDeidentifyTemplate(request)

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

Calls DeleteDeidentifyTemplate.

Parameter
NameDescription
request google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest

DeleteDeidentifyTemplateRequest message or plain object

Returns
TypeDescription
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
NameDescription
request google.privacy.dlp.v2.IDeleteDlpJobRequest

DeleteDlpJobRequest message or plain object

callback google.privacy.dlp.v2.DlpService.DeleteDlpJobCallback

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

Returns
TypeDescription
void

deleteDlpJob(request)

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

Calls DeleteDlpJob.

Parameter
NameDescription
request google.privacy.dlp.v2.IDeleteDlpJobRequest

DeleteDlpJobRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IDeleteInspectTemplateRequest

DeleteInspectTemplateRequest message or plain object

callback google.privacy.dlp.v2.DlpService.DeleteInspectTemplateCallback

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

Returns
TypeDescription
void

deleteInspectTemplate(request)

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

Calls DeleteInspectTemplate.

Parameter
NameDescription
request IDeleteInspectTemplateRequest

DeleteInspectTemplateRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IDeleteJobTriggerRequest

DeleteJobTriggerRequest message or plain object

callback google.privacy.dlp.v2.DlpService.DeleteJobTriggerCallback

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

Returns
TypeDescription
void

deleteJobTrigger(request)

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

Calls DeleteJobTrigger.

Parameter
NameDescription
request IDeleteJobTriggerRequest

DeleteJobTriggerRequest message or plain object

Returns
TypeDescription
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
NameDescription
request google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest

DeleteStoredInfoTypeRequest message or plain object

callback google.privacy.dlp.v2.DlpService.DeleteStoredInfoTypeCallback

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

Returns
TypeDescription
void

deleteStoredInfoType(request)

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

Calls DeleteStoredInfoType.

Parameter
NameDescription
request google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest

DeleteStoredInfoTypeRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IFinishDlpJobRequest

FinishDlpJobRequest message or plain object

callback google.privacy.dlp.v2.DlpService.FinishDlpJobCallback

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

Returns
TypeDescription
void

finishDlpJob(request)

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

Calls FinishDlpJob.

Parameter
NameDescription
request IFinishDlpJobRequest

FinishDlpJobRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getDeidentifyTemplate(request, callback)

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

Calls GetDeidentifyTemplate.

Parameters
NameDescription
request google.privacy.dlp.v2.IGetDeidentifyTemplateRequest

GetDeidentifyTemplateRequest message or plain object

callback google.privacy.dlp.v2.DlpService.GetDeidentifyTemplateCallback

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

Returns
TypeDescription
void

getDeidentifyTemplate(request)

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

Calls GetDeidentifyTemplate.

Parameter
NameDescription
request google.privacy.dlp.v2.IGetDeidentifyTemplateRequest

GetDeidentifyTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.privacy.dlp.v2.DeidentifyTemplate>

Promise

getDlpJob(request, callback)

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

Calls GetDlpJob.

Parameters
NameDescription
request IGetDlpJobRequest

GetDlpJobRequest message or plain object

callback google.privacy.dlp.v2.DlpService.GetDlpJobCallback

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

Returns
TypeDescription
void

getDlpJob(request)

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

Calls GetDlpJob.

Parameter
NameDescription
request IGetDlpJobRequest

GetDlpJobRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IGetInspectTemplateRequest

GetInspectTemplateRequest message or plain object

callback google.privacy.dlp.v2.DlpService.GetInspectTemplateCallback

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

Returns
TypeDescription
void

getInspectTemplate(request)

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

Calls GetInspectTemplate.

Parameter
NameDescription
request IGetInspectTemplateRequest

GetInspectTemplateRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IGetJobTriggerRequest

GetJobTriggerRequest message or plain object

callback google.privacy.dlp.v2.DlpService.GetJobTriggerCallback

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

Returns
TypeDescription
void

getJobTrigger(request)

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

Calls GetJobTrigger.

Parameter
NameDescription
request IGetJobTriggerRequest

GetJobTriggerRequest message or plain object

Returns
TypeDescription
Promise<google.privacy.dlp.v2.JobTrigger>

Promise

getStoredInfoType(request, callback)

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

Calls GetStoredInfoType.

Parameters
NameDescription
request google.privacy.dlp.v2.IGetStoredInfoTypeRequest

GetStoredInfoTypeRequest message or plain object

callback google.privacy.dlp.v2.DlpService.GetStoredInfoTypeCallback

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

Returns
TypeDescription
void

getStoredInfoType(request)

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

Calls GetStoredInfoType.

Parameter
NameDescription
request google.privacy.dlp.v2.IGetStoredInfoTypeRequest

GetStoredInfoTypeRequest message or plain object

Returns
TypeDescription
Promise<google.privacy.dlp.v2.StoredInfoType>

Promise

hybridInspectDlpJob(request, callback)

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

Calls HybridInspectDlpJob.

Parameters
NameDescription
request google.privacy.dlp.v2.IHybridInspectDlpJobRequest

HybridInspectDlpJobRequest message or plain object

callback google.privacy.dlp.v2.DlpService.HybridInspectDlpJobCallback

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

Returns
TypeDescription
void

hybridInspectDlpJob(request)

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

Calls HybridInspectDlpJob.

Parameter
NameDescription
request google.privacy.dlp.v2.IHybridInspectDlpJobRequest

HybridInspectDlpJobRequest message or plain object

Returns
TypeDescription
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
NameDescription
request google.privacy.dlp.v2.IHybridInspectJobTriggerRequest

HybridInspectJobTriggerRequest message or plain object

callback google.privacy.dlp.v2.DlpService.HybridInspectJobTriggerCallback

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

Returns
TypeDescription
void

hybridInspectJobTrigger(request)

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

Calls HybridInspectJobTrigger.

Parameter
NameDescription
request google.privacy.dlp.v2.IHybridInspectJobTriggerRequest

HybridInspectJobTriggerRequest message or plain object

Returns
TypeDescription
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
NameDescription
request google.privacy.dlp.v2.IInspectContentRequest

InspectContentRequest message or plain object

callback google.privacy.dlp.v2.DlpService.InspectContentCallback

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

Returns
TypeDescription
void

inspectContent(request)

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

Calls InspectContent.

Parameter
NameDescription
request google.privacy.dlp.v2.IInspectContentRequest

InspectContentRequest message or plain object

Returns
TypeDescription
Promise<google.privacy.dlp.v2.InspectContentResponse>

Promise

listDeidentifyTemplates(request, callback)

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

Calls ListDeidentifyTemplates.

Parameters
NameDescription
request google.privacy.dlp.v2.IListDeidentifyTemplatesRequest

ListDeidentifyTemplatesRequest message or plain object

callback google.privacy.dlp.v2.DlpService.ListDeidentifyTemplatesCallback

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

Returns
TypeDescription
void

listDeidentifyTemplates(request)

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

Calls ListDeidentifyTemplates.

Parameter
NameDescription
request google.privacy.dlp.v2.IListDeidentifyTemplatesRequest

ListDeidentifyTemplatesRequest message or plain object

Returns
TypeDescription
Promise<google.privacy.dlp.v2.ListDeidentifyTemplatesResponse>

Promise

listDlpJobs(request, callback)

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

Calls ListDlpJobs.

Parameters
NameDescription
request IListDlpJobsRequest

ListDlpJobsRequest message or plain object

callback google.privacy.dlp.v2.DlpService.ListDlpJobsCallback

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

Returns
TypeDescription
void

listDlpJobs(request)

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

Calls ListDlpJobs.

Parameter
NameDescription
request IListDlpJobsRequest

ListDlpJobsRequest message or plain object

Returns
TypeDescription
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
NameDescription
request google.privacy.dlp.v2.IListInfoTypesRequest

ListInfoTypesRequest message or plain object

callback google.privacy.dlp.v2.DlpService.ListInfoTypesCallback

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

Returns
TypeDescription
void

listInfoTypes(request)

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

Calls ListInfoTypes.

Parameter
NameDescription
request google.privacy.dlp.v2.IListInfoTypesRequest

ListInfoTypesRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IListInspectTemplatesRequest

ListInspectTemplatesRequest message or plain object

callback google.privacy.dlp.v2.DlpService.ListInspectTemplatesCallback

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

Returns
TypeDescription
void

listInspectTemplates(request)

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

Calls ListInspectTemplates.

Parameter
NameDescription
request IListInspectTemplatesRequest

ListInspectTemplatesRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IListJobTriggersRequest

ListJobTriggersRequest message or plain object

callback google.privacy.dlp.v2.DlpService.ListJobTriggersCallback

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

Returns
TypeDescription
void

listJobTriggers(request)

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

Calls ListJobTriggers.

Parameter
NameDescription
request IListJobTriggersRequest

ListJobTriggersRequest message or plain object

Returns
TypeDescription
Promise<google.privacy.dlp.v2.ListJobTriggersResponse>

Promise

listStoredInfoTypes(request, callback)

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

Calls ListStoredInfoTypes.

Parameters
NameDescription
request IListStoredInfoTypesRequest

ListStoredInfoTypesRequest message or plain object

callback google.privacy.dlp.v2.DlpService.ListStoredInfoTypesCallback

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

Returns
TypeDescription
void

listStoredInfoTypes(request)

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

Calls ListStoredInfoTypes.

Parameter
NameDescription
request IListStoredInfoTypesRequest

ListStoredInfoTypesRequest message or plain object

Returns
TypeDescription
Promise<google.privacy.dlp.v2.ListStoredInfoTypesResponse>

Promise

redactImage(request, callback)

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

Calls RedactImage.

Parameters
NameDescription
request IRedactImageRequest

RedactImageRequest message or plain object

callback google.privacy.dlp.v2.DlpService.RedactImageCallback

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

Returns
TypeDescription
void

redactImage(request)

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

Calls RedactImage.

Parameter
NameDescription
request IRedactImageRequest

RedactImageRequest message or plain object

Returns
TypeDescription
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
NameDescription
request google.privacy.dlp.v2.IReidentifyContentRequest

ReidentifyContentRequest message or plain object

callback google.privacy.dlp.v2.DlpService.ReidentifyContentCallback

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

Returns
TypeDescription
void

reidentifyContent(request)

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

Calls ReidentifyContent.

Parameter
NameDescription
request google.privacy.dlp.v2.IReidentifyContentRequest

ReidentifyContentRequest message or plain object

Returns
TypeDescription
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
NameDescription
request google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest

UpdateDeidentifyTemplateRequest message or plain object

callback google.privacy.dlp.v2.DlpService.UpdateDeidentifyTemplateCallback

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

Returns
TypeDescription
void

updateDeidentifyTemplate(request)

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

Calls UpdateDeidentifyTemplate.

Parameter
NameDescription
request google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest

UpdateDeidentifyTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.privacy.dlp.v2.DeidentifyTemplate>

Promise

updateInspectTemplate(request, callback)

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

Calls UpdateInspectTemplate.

Parameters
NameDescription
request IUpdateInspectTemplateRequest

UpdateInspectTemplateRequest message or plain object

callback google.privacy.dlp.v2.DlpService.UpdateInspectTemplateCallback

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

Returns
TypeDescription
void

updateInspectTemplate(request)

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

Calls UpdateInspectTemplate.

Parameter
NameDescription
request IUpdateInspectTemplateRequest

UpdateInspectTemplateRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IUpdateJobTriggerRequest

UpdateJobTriggerRequest message or plain object

callback google.privacy.dlp.v2.DlpService.UpdateJobTriggerCallback

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

Returns
TypeDescription
void

updateJobTrigger(request)

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

Calls UpdateJobTrigger.

Parameter
NameDescription
request IUpdateJobTriggerRequest

UpdateJobTriggerRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IUpdateStoredInfoTypeRequest

UpdateStoredInfoTypeRequest message or plain object

callback google.privacy.dlp.v2.DlpService.UpdateStoredInfoTypeCallback

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

Returns
TypeDescription
void

updateStoredInfoType(request)

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

Calls UpdateStoredInfoType.

Parameter
NameDescription
request IUpdateStoredInfoTypeRequest

UpdateStoredInfoTypeRequest message or plain object

Returns
TypeDescription
Promise<google.privacy.dlp.v2.StoredInfoType>

Promise