DlpService

google.privacy.dlp.v2. DlpService

Represents a DlpService

Constructor

new DlpService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new DlpService service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

activateJobTrigger(request, callback) → {undefined}

Calls ActivateJobTrigger.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

activateJobTrigger(request) → {Promise.<google.privacy.dlp.v2.DlpJob>}

Calls ActivateJobTrigger.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IActivateJobTriggerRequest

ActivateJobTriggerRequest message or plain object

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

Promise

cancelDlpJob(request, callback) → {undefined}

Calls CancelDlpJob.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

cancelDlpJob(request) → {Promise.<google.protobuf.Empty>}

Calls CancelDlpJob.

Parameters:
Name Type Description
request google.privacy.dlp.v2.ICancelDlpJobRequest

CancelDlpJobRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

createConnection(request, callback) → {undefined}

Calls CreateConnection.

Parameters:
Name Type Description
request google.privacy.dlp.v2.ICreateConnectionRequest

CreateConnectionRequest message or plain object

callback google.privacy.dlp.v2.DlpService.CreateConnectionCallback

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

Returns:
Type Description
undefined

createConnection(request) → {Promise.<google.privacy.dlp.v2.Connection>}

Calls CreateConnection.

Parameters:
Name Type Description
request google.privacy.dlp.v2.ICreateConnectionRequest

CreateConnectionRequest message or plain object

Returns:
Type Description
Promise.<google.privacy.dlp.v2.Connection>

Promise

createDeidentifyTemplate(request, callback) → {undefined}

Calls CreateDeidentifyTemplate.

Parameters:
Name Type Description
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:
Type Description
undefined

createDeidentifyTemplate(request) → {Promise.<google.privacy.dlp.v2.DeidentifyTemplate>}

Calls CreateDeidentifyTemplate.

Parameters:
Name Type Description
request google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest

CreateDeidentifyTemplateRequest message or plain object

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

Promise

createDiscoveryConfig(request, callback) → {undefined}

Calls CreateDiscoveryConfig.

Parameters:
Name Type Description
request google.privacy.dlp.v2.ICreateDiscoveryConfigRequest

CreateDiscoveryConfigRequest message or plain object

callback google.privacy.dlp.v2.DlpService.CreateDiscoveryConfigCallback

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

Returns:
Type Description
undefined

createDiscoveryConfig(request) → {Promise.<google.privacy.dlp.v2.DiscoveryConfig>}

Calls CreateDiscoveryConfig.

Parameters:
Name Type Description
request google.privacy.dlp.v2.ICreateDiscoveryConfigRequest

CreateDiscoveryConfigRequest message or plain object

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

Promise

createDlpJob(request, callback) → {undefined}

Calls CreateDlpJob.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

createDlpJob(request) → {Promise.<google.privacy.dlp.v2.DlpJob>}

Calls CreateDlpJob.

Parameters:
Name Type Description
request google.privacy.dlp.v2.ICreateDlpJobRequest

CreateDlpJobRequest message or plain object

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

Promise

createInspectTemplate(request, callback) → {undefined}

Calls CreateInspectTemplate.

Parameters:
Name Type Description
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:
Type Description
undefined

createInspectTemplate(request) → {Promise.<google.privacy.dlp.v2.InspectTemplate>}

Calls CreateInspectTemplate.

Parameters:
Name Type Description
request google.privacy.dlp.v2.ICreateInspectTemplateRequest

CreateInspectTemplateRequest message or plain object

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

Promise

createJobTrigger(request, callback) → {undefined}

Calls CreateJobTrigger.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

createJobTrigger(request) → {Promise.<google.privacy.dlp.v2.JobTrigger>}

Calls CreateJobTrigger.

Parameters:
Name Type Description
request google.privacy.dlp.v2.ICreateJobTriggerRequest

CreateJobTriggerRequest message or plain object

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

Promise

createStoredInfoType(request, callback) → {undefined}

Calls CreateStoredInfoType.

Parameters:
Name Type Description
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:
Type Description
undefined

createStoredInfoType(request) → {Promise.<google.privacy.dlp.v2.StoredInfoType>}

Calls CreateStoredInfoType.

Parameters:
Name Type Description
request google.privacy.dlp.v2.ICreateStoredInfoTypeRequest

CreateStoredInfoTypeRequest message or plain object

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

Promise

deidentifyContent(request, callback) → {undefined}

Calls DeidentifyContent.

Parameters:
Name Type Description
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:
Type Description
undefined

deidentifyContent(request) → {Promise.<google.privacy.dlp.v2.DeidentifyContentResponse>}

Calls DeidentifyContent.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IDeidentifyContentRequest

DeidentifyContentRequest message or plain object

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

Promise

deleteConnection(request, callback) → {undefined}

Calls DeleteConnection.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IDeleteConnectionRequest

DeleteConnectionRequest message or plain object

callback google.privacy.dlp.v2.DlpService.DeleteConnectionCallback

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

Returns:
Type Description
undefined

deleteConnection(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteConnection.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IDeleteConnectionRequest

DeleteConnectionRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteDeidentifyTemplate(request, callback) → {undefined}

Calls DeleteDeidentifyTemplate.

Parameters:
Name Type Description
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:
Type Description
undefined

deleteDeidentifyTemplate(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteDeidentifyTemplate.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest

DeleteDeidentifyTemplateRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteDiscoveryConfig(request, callback) → {undefined}

Calls DeleteDiscoveryConfig.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest

DeleteDiscoveryConfigRequest message or plain object

callback google.privacy.dlp.v2.DlpService.DeleteDiscoveryConfigCallback

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

Returns:
Type Description
undefined

deleteDiscoveryConfig(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteDiscoveryConfig.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest

DeleteDiscoveryConfigRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteDlpJob(request, callback) → {undefined}

Calls DeleteDlpJob.

Parameters:
Name Type Description
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:
Type Description
undefined

deleteDlpJob(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteDlpJob.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IDeleteDlpJobRequest

DeleteDlpJobRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteFileStoreDataProfile(request, callback) → {undefined}

Calls DeleteFileStoreDataProfile.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IDeleteFileStoreDataProfileRequest

DeleteFileStoreDataProfileRequest message or plain object

callback google.privacy.dlp.v2.DlpService.DeleteFileStoreDataProfileCallback

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

Returns:
Type Description
undefined

deleteFileStoreDataProfile(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteFileStoreDataProfile.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IDeleteFileStoreDataProfileRequest

DeleteFileStoreDataProfileRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteInspectTemplate(request, callback) → {undefined}

Calls DeleteInspectTemplate.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

deleteInspectTemplate(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteInspectTemplate.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IDeleteInspectTemplateRequest

DeleteInspectTemplateRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteJobTrigger(request, callback) → {undefined}

Calls DeleteJobTrigger.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

deleteJobTrigger(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteJobTrigger.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IDeleteJobTriggerRequest

DeleteJobTriggerRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteStoredInfoType(request, callback) → {undefined}

Calls DeleteStoredInfoType.

Parameters:
Name Type Description
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:
Type Description
undefined

deleteStoredInfoType(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteStoredInfoType.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest

DeleteStoredInfoTypeRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

deleteTableDataProfile(request, callback) → {undefined}

Calls DeleteTableDataProfile.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IDeleteTableDataProfileRequest

DeleteTableDataProfileRequest message or plain object

callback google.privacy.dlp.v2.DlpService.DeleteTableDataProfileCallback

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

Returns:
Type Description
undefined

deleteTableDataProfile(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteTableDataProfile.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IDeleteTableDataProfileRequest

DeleteTableDataProfileRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

finishDlpJob(request, callback) → {undefined}

Calls FinishDlpJob.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

finishDlpJob(request) → {Promise.<google.protobuf.Empty>}

Calls FinishDlpJob.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IFinishDlpJobRequest

FinishDlpJobRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

getColumnDataProfile(request, callback) → {undefined}

Calls GetColumnDataProfile.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetColumnDataProfileRequest

GetColumnDataProfileRequest message or plain object

callback google.privacy.dlp.v2.DlpService.GetColumnDataProfileCallback

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

Returns:
Type Description
undefined

getColumnDataProfile(request) → {Promise.<google.privacy.dlp.v2.ColumnDataProfile>}

Calls GetColumnDataProfile.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetColumnDataProfileRequest

GetColumnDataProfileRequest message or plain object

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

Promise

getConnection(request, callback) → {undefined}

Calls GetConnection.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetConnectionRequest

GetConnectionRequest message or plain object

callback google.privacy.dlp.v2.DlpService.GetConnectionCallback

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

Returns:
Type Description
undefined

getConnection(request) → {Promise.<google.privacy.dlp.v2.Connection>}

Calls GetConnection.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetConnectionRequest

GetConnectionRequest message or plain object

Returns:
Type Description
Promise.<google.privacy.dlp.v2.Connection>

Promise

getDeidentifyTemplate(request, callback) → {undefined}

Calls GetDeidentifyTemplate.

Parameters:
Name Type Description
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:
Type Description
undefined

getDeidentifyTemplate(request) → {Promise.<google.privacy.dlp.v2.DeidentifyTemplate>}

Calls GetDeidentifyTemplate.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetDeidentifyTemplateRequest

GetDeidentifyTemplateRequest message or plain object

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

Promise

getDiscoveryConfig(request, callback) → {undefined}

Calls GetDiscoveryConfig.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetDiscoveryConfigRequest

GetDiscoveryConfigRequest message or plain object

callback google.privacy.dlp.v2.DlpService.GetDiscoveryConfigCallback

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

Returns:
Type Description
undefined

getDiscoveryConfig(request) → {Promise.<google.privacy.dlp.v2.DiscoveryConfig>}

Calls GetDiscoveryConfig.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetDiscoveryConfigRequest

GetDiscoveryConfigRequest message or plain object

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

Promise

getDlpJob(request, callback) → {undefined}

Calls GetDlpJob.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

getDlpJob(request) → {Promise.<google.privacy.dlp.v2.DlpJob>}

Calls GetDlpJob.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetDlpJobRequest

GetDlpJobRequest message or plain object

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

Promise

getFileStoreDataProfile(request, callback) → {undefined}

Calls GetFileStoreDataProfile.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetFileStoreDataProfileRequest

GetFileStoreDataProfileRequest message or plain object

callback google.privacy.dlp.v2.DlpService.GetFileStoreDataProfileCallback

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

Returns:
Type Description
undefined

getFileStoreDataProfile(request) → {Promise.<google.privacy.dlp.v2.FileStoreDataProfile>}

Calls GetFileStoreDataProfile.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetFileStoreDataProfileRequest

GetFileStoreDataProfileRequest message or plain object

Returns:
Type Description
Promise.<google.privacy.dlp.v2.FileStoreDataProfile>

Promise

getInspectTemplate(request, callback) → {undefined}

Calls GetInspectTemplate.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

getInspectTemplate(request) → {Promise.<google.privacy.dlp.v2.InspectTemplate>}

Calls GetInspectTemplate.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetInspectTemplateRequest

GetInspectTemplateRequest message or plain object

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

Promise

getJobTrigger(request, callback) → {undefined}

Calls GetJobTrigger.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

getJobTrigger(request) → {Promise.<google.privacy.dlp.v2.JobTrigger>}

Calls GetJobTrigger.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetJobTriggerRequest

GetJobTriggerRequest message or plain object

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

Promise

getProjectDataProfile(request, callback) → {undefined}

Calls GetProjectDataProfile.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetProjectDataProfileRequest

GetProjectDataProfileRequest message or plain object

callback google.privacy.dlp.v2.DlpService.GetProjectDataProfileCallback

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

Returns:
Type Description
undefined

getProjectDataProfile(request) → {Promise.<google.privacy.dlp.v2.ProjectDataProfile>}

Calls GetProjectDataProfile.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetProjectDataProfileRequest

GetProjectDataProfileRequest message or plain object

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

Promise

getStoredInfoType(request, callback) → {undefined}

Calls GetStoredInfoType.

Parameters:
Name Type Description
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:
Type Description
undefined

getStoredInfoType(request) → {Promise.<google.privacy.dlp.v2.StoredInfoType>}

Calls GetStoredInfoType.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetStoredInfoTypeRequest

GetStoredInfoTypeRequest message or plain object

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

Promise

getTableDataProfile(request, callback) → {undefined}

Calls GetTableDataProfile.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetTableDataProfileRequest

GetTableDataProfileRequest message or plain object

callback google.privacy.dlp.v2.DlpService.GetTableDataProfileCallback

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

Returns:
Type Description
undefined

getTableDataProfile(request) → {Promise.<google.privacy.dlp.v2.TableDataProfile>}

Calls GetTableDataProfile.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IGetTableDataProfileRequest

GetTableDataProfileRequest message or plain object

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

Promise

hybridInspectDlpJob(request, callback) → {undefined}

Calls HybridInspectDlpJob.

Parameters:
Name Type Description
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:
Type Description
undefined

hybridInspectDlpJob(request) → {Promise.<google.privacy.dlp.v2.HybridInspectResponse>}

Calls HybridInspectDlpJob.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IHybridInspectDlpJobRequest

HybridInspectDlpJobRequest message or plain object

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

Promise

hybridInspectJobTrigger(request, callback) → {undefined}

Calls HybridInspectJobTrigger.

Parameters:
Name Type Description
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:
Type Description
undefined

hybridInspectJobTrigger(request) → {Promise.<google.privacy.dlp.v2.HybridInspectResponse>}

Calls HybridInspectJobTrigger.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IHybridInspectJobTriggerRequest

HybridInspectJobTriggerRequest message or plain object

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

Promise

inspectContent(request, callback) → {undefined}

Calls InspectContent.

Parameters:
Name Type Description
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:
Type Description
undefined

inspectContent(request) → {Promise.<google.privacy.dlp.v2.InspectContentResponse>}

Calls InspectContent.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IInspectContentRequest

InspectContentRequest message or plain object

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

Promise

listColumnDataProfiles(request, callback) → {undefined}

Calls ListColumnDataProfiles.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListColumnDataProfilesRequest

ListColumnDataProfilesRequest message or plain object

callback google.privacy.dlp.v2.DlpService.ListColumnDataProfilesCallback

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

Returns:
Type Description
undefined

listColumnDataProfiles(request) → {Promise.<google.privacy.dlp.v2.ListColumnDataProfilesResponse>}

Calls ListColumnDataProfiles.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListColumnDataProfilesRequest

ListColumnDataProfilesRequest message or plain object

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

Promise

listConnections(request, callback) → {undefined}

Calls ListConnections.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListConnectionsRequest

ListConnectionsRequest message or plain object

callback google.privacy.dlp.v2.DlpService.ListConnectionsCallback

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

Returns:
Type Description
undefined

listConnections(request) → {Promise.<google.privacy.dlp.v2.ListConnectionsResponse>}

Calls ListConnections.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListConnectionsRequest

ListConnectionsRequest message or plain object

Returns:
Type Description
Promise.<google.privacy.dlp.v2.ListConnectionsResponse>

Promise

listDeidentifyTemplates(request, callback) → {undefined}

Calls ListDeidentifyTemplates.

Parameters:
Name Type Description
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:
Type Description
undefined

listDeidentifyTemplates(request) → {Promise.<google.privacy.dlp.v2.ListDeidentifyTemplatesResponse>}

Calls ListDeidentifyTemplates.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListDeidentifyTemplatesRequest

ListDeidentifyTemplatesRequest message or plain object

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

Promise

listDiscoveryConfigs(request, callback) → {undefined}

Calls ListDiscoveryConfigs.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListDiscoveryConfigsRequest

ListDiscoveryConfigsRequest message or plain object

callback google.privacy.dlp.v2.DlpService.ListDiscoveryConfigsCallback

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

Returns:
Type Description
undefined

listDiscoveryConfigs(request) → {Promise.<google.privacy.dlp.v2.ListDiscoveryConfigsResponse>}

Calls ListDiscoveryConfigs.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListDiscoveryConfigsRequest

ListDiscoveryConfigsRequest message or plain object

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

Promise

listDlpJobs(request, callback) → {undefined}

Calls ListDlpJobs.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

listDlpJobs(request) → {Promise.<google.privacy.dlp.v2.ListDlpJobsResponse>}

Calls ListDlpJobs.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListDlpJobsRequest

ListDlpJobsRequest message or plain object

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

Promise

listFileStoreDataProfiles(request, callback) → {undefined}

Calls ListFileStoreDataProfiles.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListFileStoreDataProfilesRequest

ListFileStoreDataProfilesRequest message or plain object

callback google.privacy.dlp.v2.DlpService.ListFileStoreDataProfilesCallback

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

Returns:
Type Description
undefined

listFileStoreDataProfiles(request) → {Promise.<google.privacy.dlp.v2.ListFileStoreDataProfilesResponse>}

Calls ListFileStoreDataProfiles.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListFileStoreDataProfilesRequest

ListFileStoreDataProfilesRequest message or plain object

Returns:
Type Description
Promise.<google.privacy.dlp.v2.ListFileStoreDataProfilesResponse>

Promise

listInfoTypes(request, callback) → {undefined}

Calls ListInfoTypes.

Parameters:
Name Type Description
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:
Type Description
undefined

listInfoTypes(request) → {Promise.<google.privacy.dlp.v2.ListInfoTypesResponse>}

Calls ListInfoTypes.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListInfoTypesRequest

ListInfoTypesRequest message or plain object

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

Promise

listInspectTemplates(request, callback) → {undefined}

Calls ListInspectTemplates.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

listInspectTemplates(request) → {Promise.<google.privacy.dlp.v2.ListInspectTemplatesResponse>}

Calls ListInspectTemplates.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListInspectTemplatesRequest

ListInspectTemplatesRequest message or plain object

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

Promise

listJobTriggers(request, callback) → {undefined}

Calls ListJobTriggers.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

listJobTriggers(request) → {Promise.<google.privacy.dlp.v2.ListJobTriggersResponse>}

Calls ListJobTriggers.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListJobTriggersRequest

ListJobTriggersRequest message or plain object

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

Promise

listProjectDataProfiles(request, callback) → {undefined}

Calls ListProjectDataProfiles.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListProjectDataProfilesRequest

ListProjectDataProfilesRequest message or plain object

callback google.privacy.dlp.v2.DlpService.ListProjectDataProfilesCallback

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

Returns:
Type Description
undefined

listProjectDataProfiles(request) → {Promise.<google.privacy.dlp.v2.ListProjectDataProfilesResponse>}

Calls ListProjectDataProfiles.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListProjectDataProfilesRequest

ListProjectDataProfilesRequest message or plain object

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

Promise

listStoredInfoTypes(request, callback) → {undefined}

Calls ListStoredInfoTypes.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

listStoredInfoTypes(request) → {Promise.<google.privacy.dlp.v2.ListStoredInfoTypesResponse>}

Calls ListStoredInfoTypes.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListStoredInfoTypesRequest

ListStoredInfoTypesRequest message or plain object

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

Promise

listTableDataProfiles(request, callback) → {undefined}

Calls ListTableDataProfiles.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListTableDataProfilesRequest

ListTableDataProfilesRequest message or plain object

callback google.privacy.dlp.v2.DlpService.ListTableDataProfilesCallback

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

Returns:
Type Description
undefined

listTableDataProfiles(request) → {Promise.<google.privacy.dlp.v2.ListTableDataProfilesResponse>}

Calls ListTableDataProfiles.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IListTableDataProfilesRequest

ListTableDataProfilesRequest message or plain object

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

Promise

redactImage(request, callback) → {undefined}

Calls RedactImage.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

redactImage(request) → {Promise.<google.privacy.dlp.v2.RedactImageResponse>}

Calls RedactImage.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IRedactImageRequest

RedactImageRequest message or plain object

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

Promise

reidentifyContent(request, callback) → {undefined}

Calls ReidentifyContent.

Parameters:
Name Type Description
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:
Type Description
undefined

reidentifyContent(request) → {Promise.<google.privacy.dlp.v2.ReidentifyContentResponse>}

Calls ReidentifyContent.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IReidentifyContentRequest

ReidentifyContentRequest message or plain object

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

Promise

searchConnections(request, callback) → {undefined}

Calls SearchConnections.

Parameters:
Name Type Description
request google.privacy.dlp.v2.ISearchConnectionsRequest

SearchConnectionsRequest message or plain object

callback google.privacy.dlp.v2.DlpService.SearchConnectionsCallback

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

Returns:
Type Description
undefined

searchConnections(request) → {Promise.<google.privacy.dlp.v2.SearchConnectionsResponse>}

Calls SearchConnections.

Parameters:
Name Type Description
request google.privacy.dlp.v2.ISearchConnectionsRequest

SearchConnectionsRequest message or plain object

Returns:
Type Description
Promise.<google.privacy.dlp.v2.SearchConnectionsResponse>

Promise

updateConnection(request, callback) → {undefined}

Calls UpdateConnection.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IUpdateConnectionRequest

UpdateConnectionRequest message or plain object

callback google.privacy.dlp.v2.DlpService.UpdateConnectionCallback

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

Returns:
Type Description
undefined

updateConnection(request) → {Promise.<google.privacy.dlp.v2.Connection>}

Calls UpdateConnection.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IUpdateConnectionRequest

UpdateConnectionRequest message or plain object

Returns:
Type Description
Promise.<google.privacy.dlp.v2.Connection>

Promise

updateDeidentifyTemplate(request, callback) → {undefined}

Calls UpdateDeidentifyTemplate.

Parameters:
Name Type Description
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:
Type Description
undefined

updateDeidentifyTemplate(request) → {Promise.<google.privacy.dlp.v2.DeidentifyTemplate>}

Calls UpdateDeidentifyTemplate.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest

UpdateDeidentifyTemplateRequest message or plain object

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

Promise

updateDiscoveryConfig(request, callback) → {undefined}

Calls UpdateDiscoveryConfig.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest

UpdateDiscoveryConfigRequest message or plain object

callback google.privacy.dlp.v2.DlpService.UpdateDiscoveryConfigCallback

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

Returns:
Type Description
undefined

updateDiscoveryConfig(request) → {Promise.<google.privacy.dlp.v2.DiscoveryConfig>}

Calls UpdateDiscoveryConfig.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest

UpdateDiscoveryConfigRequest message or plain object

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

Promise

updateInspectTemplate(request, callback) → {undefined}

Calls UpdateInspectTemplate.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

updateInspectTemplate(request) → {Promise.<google.privacy.dlp.v2.InspectTemplate>}

Calls UpdateInspectTemplate.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IUpdateInspectTemplateRequest

UpdateInspectTemplateRequest message or plain object

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

Promise

updateJobTrigger(request, callback) → {undefined}

Calls UpdateJobTrigger.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

updateJobTrigger(request) → {Promise.<google.privacy.dlp.v2.JobTrigger>}

Calls UpdateJobTrigger.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IUpdateJobTriggerRequest

UpdateJobTriggerRequest message or plain object

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

Promise

updateStoredInfoType(request, callback) → {undefined}

Calls UpdateStoredInfoType.

Parameters:
Name Type Description
request google.privacy.dlp.v2.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:
Type Description
undefined

updateStoredInfoType(request) → {Promise.<google.privacy.dlp.v2.StoredInfoType>}

Calls UpdateStoredInfoType.

Parameters:
Name Type Description
request google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest

UpdateStoredInfoTypeRequest message or plain object

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

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {DlpService}

Creates new DlpService service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
DlpService

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

Type Definitions

ActivateJobTriggerCallback(error, responseopt)

Callback as used by activateJobTrigger.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.DlpJob <optional>

DlpJob

CancelDlpJobCallback(error, responseopt)

Callback as used by cancelDlpJob.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

CreateConnectionCallback(error, responseopt)

Callback as used by createConnection.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.Connection <optional>

Connection

CreateDeidentifyTemplateCallback(error, responseopt)

Callback as used by createDeidentifyTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.DeidentifyTemplate <optional>

DeidentifyTemplate

CreateDiscoveryConfigCallback(error, responseopt)

Callback as used by createDiscoveryConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.DiscoveryConfig <optional>

DiscoveryConfig

CreateDlpJobCallback(error, responseopt)

Callback as used by createDlpJob.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.DlpJob <optional>

DlpJob

CreateInspectTemplateCallback(error, responseopt)

Callback as used by createInspectTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.InspectTemplate <optional>

InspectTemplate

CreateJobTriggerCallback(error, responseopt)

Callback as used by createJobTrigger.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.JobTrigger <optional>

JobTrigger

CreateStoredInfoTypeCallback(error, responseopt)

Callback as used by createStoredInfoType.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.StoredInfoType <optional>

StoredInfoType

DeidentifyContentCallback(error, responseopt)

Callback as used by deidentifyContent.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.DeidentifyContentResponse <optional>

DeidentifyContentResponse

DeleteConnectionCallback(error, responseopt)

Callback as used by deleteConnection.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteDeidentifyTemplateCallback(error, responseopt)

Callback as used by deleteDeidentifyTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteDiscoveryConfigCallback(error, responseopt)

Callback as used by deleteDiscoveryConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteDlpJobCallback(error, responseopt)

Callback as used by deleteDlpJob.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteFileStoreDataProfileCallback(error, responseopt)

Callback as used by deleteFileStoreDataProfile.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteInspectTemplateCallback(error, responseopt)

Callback as used by deleteInspectTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteJobTriggerCallback(error, responseopt)

Callback as used by deleteJobTrigger.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteStoredInfoTypeCallback(error, responseopt)

Callback as used by deleteStoredInfoType.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

DeleteTableDataProfileCallback(error, responseopt)

Callback as used by deleteTableDataProfile.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

FinishDlpJobCallback(error, responseopt)

Callback as used by finishDlpJob.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

GetColumnDataProfileCallback(error, responseopt)

Callback as used by getColumnDataProfile.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ColumnDataProfile <optional>

ColumnDataProfile

GetConnectionCallback(error, responseopt)

Callback as used by getConnection.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.Connection <optional>

Connection

GetDeidentifyTemplateCallback(error, responseopt)

Callback as used by getDeidentifyTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.DeidentifyTemplate <optional>

DeidentifyTemplate

GetDiscoveryConfigCallback(error, responseopt)

Callback as used by getDiscoveryConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.DiscoveryConfig <optional>

DiscoveryConfig

GetDlpJobCallback(error, responseopt)

Callback as used by getDlpJob.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.DlpJob <optional>

DlpJob

GetFileStoreDataProfileCallback(error, responseopt)

Callback as used by getFileStoreDataProfile.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.FileStoreDataProfile <optional>

FileStoreDataProfile

GetInspectTemplateCallback(error, responseopt)

Callback as used by getInspectTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.InspectTemplate <optional>

InspectTemplate

GetJobTriggerCallback(error, responseopt)

Callback as used by getJobTrigger.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.JobTrigger <optional>

JobTrigger

GetProjectDataProfileCallback(error, responseopt)

Callback as used by getProjectDataProfile.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ProjectDataProfile <optional>

ProjectDataProfile

GetStoredInfoTypeCallback(error, responseopt)

Callback as used by getStoredInfoType.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.StoredInfoType <optional>

StoredInfoType

GetTableDataProfileCallback(error, responseopt)

Callback as used by getTableDataProfile.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.TableDataProfile <optional>

TableDataProfile

HybridInspectDlpJobCallback(error, responseopt)

Callback as used by hybridInspectDlpJob.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.HybridInspectResponse <optional>

HybridInspectResponse

HybridInspectJobTriggerCallback(error, responseopt)

Callback as used by hybridInspectJobTrigger.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.HybridInspectResponse <optional>

HybridInspectResponse

InspectContentCallback(error, responseopt)

Callback as used by inspectContent.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.InspectContentResponse <optional>

InspectContentResponse

ListColumnDataProfilesCallback(error, responseopt)

Callback as used by listColumnDataProfiles.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ListColumnDataProfilesResponse <optional>

ListColumnDataProfilesResponse

ListConnectionsCallback(error, responseopt)

Callback as used by listConnections.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ListConnectionsResponse <optional>

ListConnectionsResponse

ListDeidentifyTemplatesCallback(error, responseopt)

Callback as used by listDeidentifyTemplates.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ListDeidentifyTemplatesResponse <optional>

ListDeidentifyTemplatesResponse

ListDiscoveryConfigsCallback(error, responseopt)

Callback as used by listDiscoveryConfigs.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ListDiscoveryConfigsResponse <optional>

ListDiscoveryConfigsResponse

ListDlpJobsCallback(error, responseopt)

Callback as used by listDlpJobs.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ListDlpJobsResponse <optional>

ListDlpJobsResponse

ListFileStoreDataProfilesCallback(error, responseopt)

Callback as used by listFileStoreDataProfiles.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ListFileStoreDataProfilesResponse <optional>

ListFileStoreDataProfilesResponse

ListInfoTypesCallback(error, responseopt)

Callback as used by listInfoTypes.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ListInfoTypesResponse <optional>

ListInfoTypesResponse

ListInspectTemplatesCallback(error, responseopt)

Callback as used by listInspectTemplates.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ListInspectTemplatesResponse <optional>

ListInspectTemplatesResponse

ListJobTriggersCallback(error, responseopt)

Callback as used by listJobTriggers.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ListJobTriggersResponse <optional>

ListJobTriggersResponse

ListProjectDataProfilesCallback(error, responseopt)

Callback as used by listProjectDataProfiles.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ListProjectDataProfilesResponse <optional>

ListProjectDataProfilesResponse

ListStoredInfoTypesCallback(error, responseopt)

Callback as used by listStoredInfoTypes.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ListStoredInfoTypesResponse <optional>

ListStoredInfoTypesResponse

ListTableDataProfilesCallback(error, responseopt)

Callback as used by listTableDataProfiles.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ListTableDataProfilesResponse <optional>

ListTableDataProfilesResponse

RedactImageCallback(error, responseopt)

Callback as used by redactImage.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.RedactImageResponse <optional>

RedactImageResponse

ReidentifyContentCallback(error, responseopt)

Callback as used by reidentifyContent.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.ReidentifyContentResponse <optional>

ReidentifyContentResponse

SearchConnectionsCallback(error, responseopt)

Callback as used by searchConnections.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.SearchConnectionsResponse <optional>

SearchConnectionsResponse

UpdateConnectionCallback(error, responseopt)

Callback as used by updateConnection.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.Connection <optional>

Connection

UpdateDeidentifyTemplateCallback(error, responseopt)

Callback as used by updateDeidentifyTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.DeidentifyTemplate <optional>

DeidentifyTemplate

UpdateDiscoveryConfigCallback(error, responseopt)

Callback as used by updateDiscoveryConfig.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.DiscoveryConfig <optional>

DiscoveryConfig

UpdateInspectTemplateCallback(error, responseopt)

Callback as used by updateInspectTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.InspectTemplate <optional>

InspectTemplate

UpdateJobTriggerCallback(error, responseopt)

Callback as used by updateJobTrigger.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.JobTrigger <optional>

JobTrigger

UpdateStoredInfoTypeCallback(error, responseopt)

Callback as used by updateStoredInfoType.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.privacy.dlp.v2.StoredInfoType <optional>

StoredInfoType