The Cloud Data Loss Prevention (DLP) API is a service that allows clients to detect the presence of Personally Identifiable Information (PII) and other privacy-sensitive data in user-supplied, unstructured data streams, like text blocks or images. The service also includes methods for sensitive data redaction and scheduling of data scans on Google Cloud Platform based data sets.
To learn more about concepts and find how-to guides see https://cloud.google.com/dlp/docs/
. v2
Package
@google-cloud/dlp!
Constructors
(constructor)(opts)
constructor
(
opts
?:
ClientOptions
);
Construct an instance of DlpServiceClient.
Parameter
Properties
apiEndpoint
static
get
apiEndpoint
()
:
string
;
The DNS address for this API service - same as servicePath(), exists for compatibility reasons.
Property Value
auth
auth
:
gax
.
GoogleAuth
;
Property Value
descriptors
descriptors
:
Descriptors
;
Property Value
dlpServiceStub
dlpServiceStub
?:
Promise
< {
[
name
:
string
]
:
Function
;
}>;
Property Value
innerApiCalls
innerApiCalls
:
{
[
name
:
string
]
:
Function
;
};
Property Value
pathTemplates
pathTemplates
:
{
[
name
:
string
]
:
gax
.
PathTemplate
;
};
Property Value
port
static
get
port
()
:
number
;
The port for this API service.
Property Value
scopes
static
get
scopes
()
:
string
[];
The scopes needed to make gRPC calls for every method defined in this service.
Property Value
servicePath
static
get
servicePath
()
:
string
;
The DNS address for this API service.
Property Value
warn
warn
:
(
code
:
string
,
message
:
string
,
warnType
?:
string
)
=
>
void
;
Property Value
Methods
activateJobTrigger(request, options)
activateJobTrigger
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IActivateJobTriggerRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IDlpJob
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IActivateJobTriggerRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IActivateJobTriggerRequest
|
| options |
CallOptions
|
Returns
activateJobTrigger(request, options, callback)
activateJobTrigger
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IActivateJobTriggerRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IDlpJob
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IActivateJobTriggerRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IActivateJobTriggerRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IDlpJob
, protos. google.privacy.dlp.v2.IActivateJobTriggerRequest
| null | undefined, {} | null | undefined>
|
Returns
activateJobTrigger(request, callback)
activateJobTrigger
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IActivateJobTriggerRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IDlpJob
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IActivateJobTriggerRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IActivateJobTriggerRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IDlpJob
, protos. google.privacy.dlp.v2.IActivateJobTriggerRequest
| null | undefined, {} | null | undefined>
|
Returns
cancelDlpJob(request, options)
cancelDlpJob
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICancelDlpJobRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICancelDlpJobRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICancelDlpJobRequest
|
| options |
CallOptions
|
Returns
cancelDlpJob(request, options, callback)
cancelDlpJob
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICancelDlpJobRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICancelDlpJobRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICancelDlpJobRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.protobuf.IEmpty
, protos. google.privacy.dlp.v2.ICancelDlpJobRequest
| null | undefined, {} | null | undefined>
|
Returns
cancelDlpJob(request, callback)
cancelDlpJob
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICancelDlpJobRequest
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICancelDlpJobRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICancelDlpJobRequest
|
| callback |
Callback
<protos. google.protobuf.IEmpty
, protos. google.privacy.dlp.v2.ICancelDlpJobRequest
| null | undefined, {} | null | undefined>
|
Returns
close()
close
()
:
Promise<void>
;
Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
Returns | Type |
Description |
| Promise
<void> |
{Promise} A promise that resolves when the client is closed.
|
createDeidentifyTemplate(request, options)
createDeidentifyTemplate
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateDeidentifyTemplateRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateDeidentifyTemplateRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest
|
| options |
CallOptions
|
Returns
createDeidentifyTemplate(request, options, callback)
createDeidentifyTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateDeidentifyTemplateRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateDeidentifyTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IDeidentifyTemplate
, protos. google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
createDeidentifyTemplate(request, callback)
createDeidentifyTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateDeidentifyTemplateRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateDeidentifyTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IDeidentifyTemplate
, protos. google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
createDlpJob(request, options)
createDlpJob
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateDlpJobRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IDlpJob
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateDlpJobRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateDlpJobRequest
|
| options |
CallOptions
|
Returns
createDlpJob(request, options, callback)
createDlpJob
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateDlpJobRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IDlpJob
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateDlpJobRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateDlpJobRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IDlpJob
, protos. google.privacy.dlp.v2.ICreateDlpJobRequest
| null | undefined, {} | null | undefined>
|
Returns
createDlpJob(request, callback)
createDlpJob
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateDlpJobRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IDlpJob
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateDlpJobRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateDlpJobRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IDlpJob
, protos. google.privacy.dlp.v2.ICreateDlpJobRequest
| null | undefined, {} | null | undefined>
|
Returns
createInspectTemplate(request, options)
createInspectTemplate
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateInspectTemplateRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateInspectTemplateRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateInspectTemplateRequest
|
| options |
CallOptions
|
Returns
createInspectTemplate(request, options, callback)
createInspectTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateInspectTemplateRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateInspectTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateInspectTemplateRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IInspectTemplate
, protos. google.privacy.dlp.v2.ICreateInspectTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
createInspectTemplate(request, callback)
createInspectTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateInspectTemplateRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateInspectTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateInspectTemplateRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IInspectTemplate
, protos. google.privacy.dlp.v2.ICreateInspectTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
createJobTrigger(request, options)
createJobTrigger
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateJobTriggerRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IJobTrigger
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateJobTriggerRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateJobTriggerRequest
|
| options |
CallOptions
|
Returns
createJobTrigger(request, options, callback)
createJobTrigger
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateJobTriggerRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IJobTrigger
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateJobTriggerRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateJobTriggerRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IJobTrigger
, protos. google.privacy.dlp.v2.ICreateJobTriggerRequest
| null | undefined, {} | null | undefined>
|
Returns
createJobTrigger(request, callback)
createJobTrigger
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateJobTriggerRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IJobTrigger
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateJobTriggerRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateJobTriggerRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IJobTrigger
, protos. google.privacy.dlp.v2.ICreateJobTriggerRequest
| null | undefined, {} | null | undefined>
|
Returns
createStoredInfoType(request, options)
createStoredInfoType
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateStoredInfoTypeRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IStoredInfoType
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateStoredInfoTypeRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateStoredInfoTypeRequest
|
| options |
CallOptions
|
Returns
createStoredInfoType(request, options, callback)
createStoredInfoType
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateStoredInfoTypeRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IStoredInfoType
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateStoredInfoTypeRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateStoredInfoTypeRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IStoredInfoType
, protos. google.privacy.dlp.v2.ICreateStoredInfoTypeRequest
| null | undefined, {} | null | undefined>
|
Returns
createStoredInfoType(request, callback)
createStoredInfoType
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateStoredInfoTypeRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IStoredInfoType
,
protos
.
google
.
privacy
.
dlp
.
v2
.
ICreateStoredInfoTypeRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.ICreateStoredInfoTypeRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IStoredInfoType
, protos. google.privacy.dlp.v2.ICreateStoredInfoTypeRequest
| null | undefined, {} | null | undefined>
|
Returns
deidentifyContent(request, options)
deidentifyContent
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyContentRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyContentResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyContentRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeidentifyContentRequest
|
| options |
CallOptions
|
Returns
deidentifyContent(request, options, callback)
deidentifyContent
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyContentRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyContentResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyContentRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeidentifyContentRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IDeidentifyContentResponse
, protos. google.privacy.dlp.v2.IDeidentifyContentRequest
| null | undefined, {} | null | undefined>
|
Returns
deidentifyContent(request, callback)
deidentifyContent
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyContentRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyContentResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyContentRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeidentifyContentRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IDeidentifyContentResponse
, protos. google.privacy.dlp.v2.IDeidentifyContentRequest
| null | undefined, {} | null | undefined>
|
Returns
deleteDeidentifyTemplate(request, options)
deleteDeidentifyTemplate
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteDeidentifyTemplateRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteDeidentifyTemplateRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest
|
| options |
CallOptions
|
Returns
deleteDeidentifyTemplate(request, options, callback)
deleteDeidentifyTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteDeidentifyTemplateRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteDeidentifyTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.protobuf.IEmpty
, protos. google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
deleteDeidentifyTemplate(request, callback)
deleteDeidentifyTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteDeidentifyTemplateRequest
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteDeidentifyTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest
|
| callback |
Callback
<protos. google.protobuf.IEmpty
, protos. google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
deleteDlpJob(request, options)
deleteDlpJob
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteDlpJobRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteDlpJobRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteDlpJobRequest
|
| options |
CallOptions
|
Returns
deleteDlpJob(request, options, callback)
deleteDlpJob
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteDlpJobRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteDlpJobRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteDlpJobRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.protobuf.IEmpty
, protos. google.privacy.dlp.v2.IDeleteDlpJobRequest
| null | undefined, {} | null | undefined>
|
Returns
deleteDlpJob(request, callback)
deleteDlpJob
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteDlpJobRequest
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteDlpJobRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteDlpJobRequest
|
| callback |
Callback
<protos. google.protobuf.IEmpty
, protos. google.privacy.dlp.v2.IDeleteDlpJobRequest
| null | undefined, {} | null | undefined>
|
Returns
deleteInspectTemplate(request, options)
deleteInspectTemplate
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteInspectTemplateRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteInspectTemplateRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteInspectTemplateRequest
|
| options |
CallOptions
|
Returns
deleteInspectTemplate(request, options, callback)
deleteInspectTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteInspectTemplateRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteInspectTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteInspectTemplateRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.protobuf.IEmpty
, protos. google.privacy.dlp.v2.IDeleteInspectTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
deleteInspectTemplate(request, callback)
deleteInspectTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteInspectTemplateRequest
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteInspectTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteInspectTemplateRequest
|
| callback |
Callback
<protos. google.protobuf.IEmpty
, protos. google.privacy.dlp.v2.IDeleteInspectTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
deleteJobTrigger(request, options)
deleteJobTrigger
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteJobTriggerRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteJobTriggerRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteJobTriggerRequest
|
| options |
CallOptions
|
Returns
deleteJobTrigger(request, options, callback)
deleteJobTrigger
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteJobTriggerRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteJobTriggerRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteJobTriggerRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.protobuf.IEmpty
, protos. google.privacy.dlp.v2.IDeleteJobTriggerRequest
| null | undefined, {} | null | undefined>
|
Returns
deleteJobTrigger(request, callback)
deleteJobTrigger
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteJobTriggerRequest
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteJobTriggerRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteJobTriggerRequest
|
| callback |
Callback
<protos. google.protobuf.IEmpty
, protos. google.privacy.dlp.v2.IDeleteJobTriggerRequest
| null | undefined, {} | null | undefined>
|
Returns
deleteStoredInfoType(request, options)
deleteStoredInfoType
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteStoredInfoTypeRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteStoredInfoTypeRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest
|
| options |
CallOptions
|
Returns
deleteStoredInfoType(request, options, callback)
deleteStoredInfoType
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteStoredInfoTypeRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteStoredInfoTypeRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.protobuf.IEmpty
, protos. google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest
| null | undefined, {} | null | undefined>
|
Returns
deleteStoredInfoType(request, callback)
deleteStoredInfoType
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteStoredInfoTypeRequest
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeleteStoredInfoTypeRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest
|
| callback |
Callback
<protos. google.protobuf.IEmpty
, protos. google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest
| null | undefined, {} | null | undefined>
|
Returns
findingPath(project, location, finding)
findingPath
(
project
:
string
,
location
:
string
,
finding
:
string
)
:
string
;
Return a fully-qualified finding resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
finishDlpJob(request, options)
finishDlpJob
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IFinishDlpJobRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IFinishDlpJobRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IFinishDlpJobRequest
|
| options |
CallOptions
|
Returns
finishDlpJob(request, options, callback)
finishDlpJob
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IFinishDlpJobRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IFinishDlpJobRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IFinishDlpJobRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.protobuf.IEmpty
, protos. google.privacy.dlp.v2.IFinishDlpJobRequest
| null | undefined, {} | null | undefined>
|
Returns
finishDlpJob(request, callback)
finishDlpJob
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IFinishDlpJobRequest
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IFinishDlpJobRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IFinishDlpJobRequest
|
| callback |
Callback
<protos. google.protobuf.IEmpty
, protos. google.privacy.dlp.v2.IFinishDlpJobRequest
| null | undefined, {} | null | undefined>
|
Returns
getDeidentifyTemplate(request, options)
getDeidentifyTemplate
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetDeidentifyTemplateRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetDeidentifyTemplateRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetDeidentifyTemplateRequest
|
| options |
CallOptions
|
Returns
getDeidentifyTemplate(request, options, callback)
getDeidentifyTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetDeidentifyTemplateRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetDeidentifyTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetDeidentifyTemplateRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IDeidentifyTemplate
, protos. google.privacy.dlp.v2.IGetDeidentifyTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
getDeidentifyTemplate(request, callback)
getDeidentifyTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetDeidentifyTemplateRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetDeidentifyTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetDeidentifyTemplateRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IDeidentifyTemplate
, protos. google.privacy.dlp.v2.IGetDeidentifyTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
getDlpJob(request, options)
getDlpJob
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetDlpJobRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IDlpJob
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetDlpJobRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetDlpJobRequest
|
| options |
CallOptions
|
Returns
getDlpJob(request, options, callback)
getDlpJob
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetDlpJobRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IDlpJob
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetDlpJobRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetDlpJobRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IDlpJob
, protos. google.privacy.dlp.v2.IGetDlpJobRequest
| null | undefined, {} | null | undefined>
|
Returns
getDlpJob(request, callback)
getDlpJob
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetDlpJobRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IDlpJob
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetDlpJobRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetDlpJobRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IDlpJob
, protos. google.privacy.dlp.v2.IGetDlpJobRequest
| null | undefined, {} | null | undefined>
|
Returns
getInspectTemplate(request, options)
getInspectTemplate
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetInspectTemplateRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetInspectTemplateRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetInspectTemplateRequest
|
| options |
CallOptions
|
Returns
getInspectTemplate(request, options, callback)
getInspectTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetInspectTemplateRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetInspectTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetInspectTemplateRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IInspectTemplate
, protos. google.privacy.dlp.v2.IGetInspectTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
getInspectTemplate(request, callback)
getInspectTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetInspectTemplateRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetInspectTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetInspectTemplateRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IInspectTemplate
, protos. google.privacy.dlp.v2.IGetInspectTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
getJobTrigger(request, options)
getJobTrigger
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetJobTriggerRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IJobTrigger
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetJobTriggerRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetJobTriggerRequest
|
| options |
CallOptions
|
Returns
getJobTrigger(request, options, callback)
getJobTrigger
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetJobTriggerRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IJobTrigger
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetJobTriggerRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetJobTriggerRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IJobTrigger
, protos. google.privacy.dlp.v2.IGetJobTriggerRequest
| null | undefined, {} | null | undefined>
|
Returns
getJobTrigger(request, callback)
getJobTrigger
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetJobTriggerRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IJobTrigger
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetJobTriggerRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetJobTriggerRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IJobTrigger
, protos. google.privacy.dlp.v2.IGetJobTriggerRequest
| null | undefined, {} | null | undefined>
|
Returns
getProjectId()
getProjectId
()
:
Promise<string>
;
Returns
getProjectId(callback)
getProjectId
(
callback
:
Callback<string
,
undefined
,
undefined
> )
:
void
;
Parameter | Name |
Description |
| callback |
Callback
<string, undefined, undefined>
|
Returns
getStoredInfoType(request, options)
getStoredInfoType
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetStoredInfoTypeRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IStoredInfoType
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetStoredInfoTypeRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetStoredInfoTypeRequest
|
| options |
CallOptions
|
Returns
getStoredInfoType(request, options, callback)
getStoredInfoType
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetStoredInfoTypeRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IStoredInfoType
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetStoredInfoTypeRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetStoredInfoTypeRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IStoredInfoType
, protos. google.privacy.dlp.v2.IGetStoredInfoTypeRequest
| null | undefined, {} | null | undefined>
|
Returns
getStoredInfoType(request, callback)
getStoredInfoType
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetStoredInfoTypeRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IStoredInfoType
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IGetStoredInfoTypeRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IGetStoredInfoTypeRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IStoredInfoType
, protos. google.privacy.dlp.v2.IGetStoredInfoTypeRequest
| null | undefined, {} | null | undefined>
|
Returns
hybridInspectDlpJob(request, options)
hybridInspectDlpJob
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectDlpJobRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectDlpJobRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IHybridInspectDlpJobRequest
|
| options |
CallOptions
|
Returns
hybridInspectDlpJob(request, options, callback)
hybridInspectDlpJob
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectDlpJobRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectDlpJobRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IHybridInspectDlpJobRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IHybridInspectResponse
, protos. google.privacy.dlp.v2.IHybridInspectDlpJobRequest
| null | undefined, {} | null | undefined>
|
Returns
hybridInspectDlpJob(request, callback)
hybridInspectDlpJob
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectDlpJobRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectDlpJobRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IHybridInspectDlpJobRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IHybridInspectResponse
, protos. google.privacy.dlp.v2.IHybridInspectDlpJobRequest
| null | undefined, {} | null | undefined>
|
Returns
hybridInspectJobTrigger(request, options)
hybridInspectJobTrigger
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectJobTriggerRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectJobTriggerRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IHybridInspectJobTriggerRequest
|
| options |
CallOptions
|
Returns
hybridInspectJobTrigger(request, options, callback)
hybridInspectJobTrigger
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectJobTriggerRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectJobTriggerRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IHybridInspectJobTriggerRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IHybridInspectResponse
, protos. google.privacy.dlp.v2.IHybridInspectJobTriggerRequest
| null | undefined, {} | null | undefined>
|
Returns
hybridInspectJobTrigger(request, callback)
hybridInspectJobTrigger
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectJobTriggerRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IHybridInspectJobTriggerRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IHybridInspectJobTriggerRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IHybridInspectResponse
, protos. google.privacy.dlp.v2.IHybridInspectJobTriggerRequest
| null | undefined, {} | null | undefined>
|
Returns
initialize()
initialize
()
:
Promise
< {
[
name
:
string
]
:
Function
;
}>;
Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.
You can await on this method if you want to make sure the client is initialized.
Returns | Type |
Description |
| Promise
<{
[name: string]: Function
;
}> |
{Promise} A promise that resolves to an authenticated service stub.
|
inspectContent(request, options)
inspectContent
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectContentRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectContentResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectContentRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IInspectContentRequest
|
| options |
CallOptions
|
Returns
inspectContent(request, options, callback)
inspectContent
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectContentRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectContentResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectContentRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IInspectContentRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IInspectContentResponse
, protos. google.privacy.dlp.v2.IInspectContentRequest
| null | undefined, {} | null | undefined>
|
Returns
inspectContent(request, callback)
inspectContent
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectContentRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectContentResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectContentRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IInspectContentRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IInspectContentResponse
, protos. google.privacy.dlp.v2.IInspectContentRequest
| null | undefined, {} | null | undefined>
|
Returns
listDeidentifyTemplates(request, options)
listDeidentifyTemplates
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDeidentifyTemplatesRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyTemplate
[],
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDeidentifyTemplatesRequest
|
null
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDeidentifyTemplatesResponse
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListDeidentifyTemplatesRequest
|
| options |
CallOptions
|
Returns
listDeidentifyTemplates(request, options, callback)
listDeidentifyTemplates
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDeidentifyTemplatesRequest
,
options
:
CallOptions
,
callback
:
PaginationCallback<protos
.
google
.
privacy
.
dlp
.
v2
.
IListDeidentifyTemplatesRequest
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDeidentifyTemplatesResponse
|
null
|
undefined
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyTemplate
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListDeidentifyTemplatesRequest
|
| options |
CallOptions
|
| callback |
PaginationCallback
<protos. google.privacy.dlp.v2.IListDeidentifyTemplatesRequest
, protos. google.privacy.dlp.v2.IListDeidentifyTemplatesResponse
| null | undefined, protos. google.privacy.dlp.v2.IDeidentifyTemplate
>
|
Returns
listDeidentifyTemplates(request, callback)
listDeidentifyTemplates
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDeidentifyTemplatesRequest
,
callback
:
PaginationCallback<protos
.
google
.
privacy
.
dlp
.
v2
.
IListDeidentifyTemplatesRequest
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDeidentifyTemplatesResponse
|
null
|
undefined
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyTemplate
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListDeidentifyTemplatesRequest
|
| callback |
PaginationCallback
<protos. google.privacy.dlp.v2.IListDeidentifyTemplatesRequest
, protos. google.privacy.dlp.v2.IListDeidentifyTemplatesResponse
| null | undefined, protos. google.privacy.dlp.v2.IDeidentifyTemplate
>
|
Returns
listDeidentifyTemplatesAsync(request, options)
listDeidentifyTemplatesAsync
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDeidentifyTemplatesRequest
,
options
?:
CallOptions
)
:
AsyncIterable<protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyTemplate
> ;
Equivalent to listDeidentifyTemplates
, but returns an iterable object.
for
- await
- of
syntax is used with the iterable to get response elements on-demand.
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListDeidentifyTemplatesRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions
for more details.
|
Returns | Type |
Description |
| AsyncIterable
<protos. google.privacy.dlp.v2.IDeidentifyTemplate
> |
{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [DeidentifyTemplate]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listDeidentifyTemplatesStream(request, options)
listDeidentifyTemplatesStream
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDeidentifyTemplatesRequest
,
options
?:
CallOptions
)
:
Transform
;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListDeidentifyTemplatesRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions
for more details.
|
Returns | Type |
Description |
| Transform
|
{Stream} An object stream which emits an object representing [DeidentifyTemplate] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listDeidentifyTemplatesAsync()
method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listDlpJobs(request, options)
listDlpJobs
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDlpJobsRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IDlpJob
[],
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDlpJobsRequest
|
null
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDlpJobsResponse
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListDlpJobsRequest
|
| options |
CallOptions
|
Returns
listDlpJobs(request, options, callback)
listDlpJobs
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDlpJobsRequest
,
options
:
CallOptions
,
callback
:
PaginationCallback<protos
.
google
.
privacy
.
dlp
.
v2
.
IListDlpJobsRequest
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDlpJobsResponse
|
null
|
undefined
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDlpJob
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListDlpJobsRequest
|
| options |
CallOptions
|
| callback |
PaginationCallback
<protos. google.privacy.dlp.v2.IListDlpJobsRequest
, protos. google.privacy.dlp.v2.IListDlpJobsResponse
| null | undefined, protos. google.privacy.dlp.v2.IDlpJob
>
|
Returns
listDlpJobs(request, callback)
listDlpJobs
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDlpJobsRequest
,
callback
:
PaginationCallback<protos
.
google
.
privacy
.
dlp
.
v2
.
IListDlpJobsRequest
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDlpJobsResponse
|
null
|
undefined
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IDlpJob
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListDlpJobsRequest
|
| callback |
PaginationCallback
<protos. google.privacy.dlp.v2.IListDlpJobsRequest
, protos. google.privacy.dlp.v2.IListDlpJobsResponse
| null | undefined, protos. google.privacy.dlp.v2.IDlpJob
>
|
Returns
listDlpJobsAsync(request, options)
listDlpJobsAsync
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDlpJobsRequest
,
options
?:
CallOptions
)
:
AsyncIterable<protos
.
google
.
privacy
.
dlp
.
v2
.
IDlpJob
> ;
Equivalent to listDlpJobs
, but returns an iterable object.
for
- await
- of
syntax is used with the iterable to get response elements on-demand.
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListDlpJobsRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions
for more details.
|
Returns | Type |
Description |
| AsyncIterable
<protos. google.privacy.dlp.v2.IDlpJob
> |
{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [DlpJob]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listDlpJobsStream(request, options)
listDlpJobsStream
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListDlpJobsRequest
,
options
?:
CallOptions
)
:
Transform
;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListDlpJobsRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions
for more details.
|
Returns | Type |
Description |
| Transform
|
{Stream} An object stream which emits an object representing [DlpJob] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listDlpJobsAsync()
method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listInfoTypes(request, options)
listInfoTypes
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInfoTypesRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInfoTypesResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInfoTypesRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListInfoTypesRequest
|
| options |
CallOptions
|
Returns
listInfoTypes(request, options, callback)
listInfoTypes
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInfoTypesRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IListInfoTypesResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInfoTypesRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListInfoTypesRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IListInfoTypesResponse
, protos. google.privacy.dlp.v2.IListInfoTypesRequest
| null | undefined, {} | null | undefined>
|
Returns
listInfoTypes(request, callback)
listInfoTypes
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInfoTypesRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IListInfoTypesResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInfoTypesRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListInfoTypesRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IListInfoTypesResponse
, protos. google.privacy.dlp.v2.IListInfoTypesRequest
| null | undefined, {} | null | undefined>
|
Returns
listInspectTemplates(request, options)
listInspectTemplates
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInspectTemplatesRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectTemplate
[],
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInspectTemplatesRequest
|
null
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInspectTemplatesResponse
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListInspectTemplatesRequest
|
| options |
CallOptions
|
Returns
listInspectTemplates(request, options, callback)
listInspectTemplates
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInspectTemplatesRequest
,
options
:
CallOptions
,
callback
:
PaginationCallback<protos
.
google
.
privacy
.
dlp
.
v2
.
IListInspectTemplatesRequest
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInspectTemplatesResponse
|
null
|
undefined
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectTemplate
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListInspectTemplatesRequest
|
| options |
CallOptions
|
| callback |
PaginationCallback
<protos. google.privacy.dlp.v2.IListInspectTemplatesRequest
, protos. google.privacy.dlp.v2.IListInspectTemplatesResponse
| null | undefined, protos. google.privacy.dlp.v2.IInspectTemplate
>
|
Returns
listInspectTemplates(request, callback)
listInspectTemplates
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInspectTemplatesRequest
,
callback
:
PaginationCallback<protos
.
google
.
privacy
.
dlp
.
v2
.
IListInspectTemplatesRequest
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInspectTemplatesResponse
|
null
|
undefined
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectTemplate
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListInspectTemplatesRequest
|
| callback |
PaginationCallback
<protos. google.privacy.dlp.v2.IListInspectTemplatesRequest
, protos. google.privacy.dlp.v2.IListInspectTemplatesResponse
| null | undefined, protos. google.privacy.dlp.v2.IInspectTemplate
>
|
Returns
listInspectTemplatesAsync(request, options)
listInspectTemplatesAsync
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInspectTemplatesRequest
,
options
?:
CallOptions
)
:
AsyncIterable<protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectTemplate
> ;
Equivalent to listInspectTemplates
, but returns an iterable object.
for
- await
- of
syntax is used with the iterable to get response elements on-demand.
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListInspectTemplatesRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions
for more details.
|
Returns | Type |
Description |
| AsyncIterable
<protos. google.privacy.dlp.v2.IInspectTemplate
> |
{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [InspectTemplate]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listInspectTemplatesStream(request, options)
listInspectTemplatesStream
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListInspectTemplatesRequest
,
options
?:
CallOptions
)
:
Transform
;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListInspectTemplatesRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions
for more details.
|
Returns | Type |
Description |
| Transform
|
{Stream} An object stream which emits an object representing [InspectTemplate] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listInspectTemplatesAsync()
method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listJobTriggers(request, options)
listJobTriggers
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListJobTriggersRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IJobTrigger
[],
protos
.
google
.
privacy
.
dlp
.
v2
.
IListJobTriggersRequest
|
null
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListJobTriggersResponse
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListJobTriggersRequest
|
| options |
CallOptions
|
Returns
listJobTriggers(request, options, callback)
listJobTriggers
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListJobTriggersRequest
,
options
:
CallOptions
,
callback
:
PaginationCallback<protos
.
google
.
privacy
.
dlp
.
v2
.
IListJobTriggersRequest
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListJobTriggersResponse
|
null
|
undefined
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IJobTrigger
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListJobTriggersRequest
|
| options |
CallOptions
|
| callback |
PaginationCallback
<protos. google.privacy.dlp.v2.IListJobTriggersRequest
, protos. google.privacy.dlp.v2.IListJobTriggersResponse
| null | undefined, protos. google.privacy.dlp.v2.IJobTrigger
>
|
Returns
listJobTriggers(request, callback)
listJobTriggers
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListJobTriggersRequest
,
callback
:
PaginationCallback<protos
.
google
.
privacy
.
dlp
.
v2
.
IListJobTriggersRequest
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListJobTriggersResponse
|
null
|
undefined
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IJobTrigger
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListJobTriggersRequest
|
| callback |
PaginationCallback
<protos. google.privacy.dlp.v2.IListJobTriggersRequest
, protos. google.privacy.dlp.v2.IListJobTriggersResponse
| null | undefined, protos. google.privacy.dlp.v2.IJobTrigger
>
|
Returns
listJobTriggersAsync(request, options)
listJobTriggersAsync
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListJobTriggersRequest
,
options
?:
CallOptions
)
:
AsyncIterable<protos
.
google
.
privacy
.
dlp
.
v2
.
IJobTrigger
> ;
Equivalent to listJobTriggers
, but returns an iterable object.
for
- await
- of
syntax is used with the iterable to get response elements on-demand.
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListJobTriggersRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions
for more details.
|
Returns | Type |
Description |
| AsyncIterable
<protos. google.privacy.dlp.v2.IJobTrigger
> |
{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [JobTrigger]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listJobTriggersStream
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListJobTriggersRequest
,
options
?:
CallOptions
)
:
Transform
;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListJobTriggersRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions
for more details.
|
Returns | Type |
Description |
| Transform
|
{Stream} An object stream which emits an object representing [JobTrigger] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listJobTriggersAsync()
method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listStoredInfoTypes(request, options)
listStoredInfoTypes
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListStoredInfoTypesRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IStoredInfoType
[],
protos
.
google
.
privacy
.
dlp
.
v2
.
IListStoredInfoTypesRequest
|
null
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListStoredInfoTypesResponse
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListStoredInfoTypesRequest
|
| options |
CallOptions
|
Returns
listStoredInfoTypes(request, options, callback)
listStoredInfoTypes
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListStoredInfoTypesRequest
,
options
:
CallOptions
,
callback
:
PaginationCallback<protos
.
google
.
privacy
.
dlp
.
v2
.
IListStoredInfoTypesRequest
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListStoredInfoTypesResponse
|
null
|
undefined
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IStoredInfoType
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListStoredInfoTypesRequest
|
| options |
CallOptions
|
| callback |
PaginationCallback
<protos. google.privacy.dlp.v2.IListStoredInfoTypesRequest
, protos. google.privacy.dlp.v2.IListStoredInfoTypesResponse
| null | undefined, protos. google.privacy.dlp.v2.IStoredInfoType
>
|
Returns
listStoredInfoTypes(request, callback)
listStoredInfoTypes
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListStoredInfoTypesRequest
,
callback
:
PaginationCallback<protos
.
google
.
privacy
.
dlp
.
v2
.
IListStoredInfoTypesRequest
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IListStoredInfoTypesResponse
|
null
|
undefined
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IStoredInfoType
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListStoredInfoTypesRequest
|
| callback |
PaginationCallback
<protos. google.privacy.dlp.v2.IListStoredInfoTypesRequest
, protos. google.privacy.dlp.v2.IListStoredInfoTypesResponse
| null | undefined, protos. google.privacy.dlp.v2.IStoredInfoType
>
|
Returns
listStoredInfoTypesAsync(request, options)
listStoredInfoTypesAsync
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListStoredInfoTypesRequest
,
options
?:
CallOptions
)
:
AsyncIterable<protos
.
google
.
privacy
.
dlp
.
v2
.
IStoredInfoType
> ;
Equivalent to listStoredInfoTypes
, but returns an iterable object.
for
- await
- of
syntax is used with the iterable to get response elements on-demand.
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListStoredInfoTypesRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions
for more details.
|
Returns | Type |
Description |
| AsyncIterable
<protos. google.privacy.dlp.v2.IStoredInfoType
> |
{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [StoredInfoType]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
listStoredInfoTypesStream(request, options)
listStoredInfoTypesStream
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IListStoredInfoTypesRequest
,
options
?:
CallOptions
)
:
Transform
;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IListStoredInfoTypesRequest
The request object that will be sent.
|
| options |
CallOptions
Call options. See CallOptions
for more details.
|
Returns | Type |
Description |
| Transform
|
{Stream} An object stream which emits an object representing [StoredInfoType] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listStoredInfoTypesAsync()
method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
|
matchDeidentifyTemplateFromOrganizationDeidentifyTemplateName(organizationDeidentifyTemplateName)
matchDeidentifyTemplateFromOrganizationDeidentifyTemplateName
(
organizationDeidentifyTemplateName
:
string
)
:
string
|
number
;
Parse the deidentify_template from OrganizationDeidentifyTemplate resource.
Parameter | Name |
Description |
| organizationDeidentifyTemplateName |
string
A fully-qualified path representing organization_deidentify_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the deidentify_template.
|
matchDeidentifyTemplateFromOrganizationLocationDeidentifyTemplateName(organizationLocationDeidentifyTemplateName)
matchDeidentifyTemplateFromOrganizationLocationDeidentifyTemplateName
(
organizationLocationDeidentifyTemplateName
:
string
)
:
string
|
number
;
Parse the deidentify_template from OrganizationLocationDeidentifyTemplate resource.
Parameter | Name |
Description |
| organizationLocationDeidentifyTemplateName |
string
A fully-qualified path representing organization_location_deidentify_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the deidentify_template.
|
matchDeidentifyTemplateFromProjectDeidentifyTemplateName(projectDeidentifyTemplateName)
matchDeidentifyTemplateFromProjectDeidentifyTemplateName
(
projectDeidentifyTemplateName
:
string
)
:
string
|
number
;
Parse the deidentify_template from ProjectDeidentifyTemplate resource.
Parameter | Name |
Description |
| projectDeidentifyTemplateName |
string
A fully-qualified path representing project_deidentify_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the deidentify_template.
|
matchDeidentifyTemplateFromProjectLocationDeidentifyTemplateName(projectLocationDeidentifyTemplateName)
matchDeidentifyTemplateFromProjectLocationDeidentifyTemplateName
(
projectLocationDeidentifyTemplateName
:
string
)
:
string
|
number
;
Parse the deidentify_template from ProjectLocationDeidentifyTemplate resource.
Parameter | Name |
Description |
| projectLocationDeidentifyTemplateName |
string
A fully-qualified path representing project_location_deidentify_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the deidentify_template.
|
matchDlpJobFromProjectDlpJobName(projectDlpJobName)
matchDlpJobFromProjectDlpJobName
(
projectDlpJobName
:
string
)
:
string
|
number
;
Parse the dlp_job from ProjectDlpJob resource.
Parameter | Name |
Description |
| projectDlpJobName |
string
A fully-qualified path representing project_dlp_job resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the dlp_job.
|
matchDlpJobFromProjectLocationDlpJobName(projectLocationDlpJobName)
matchDlpJobFromProjectLocationDlpJobName
(
projectLocationDlpJobName
:
string
)
:
string
|
number
;
Parse the dlp_job from ProjectLocationDlpJob resource.
Parameter | Name |
Description |
| projectLocationDlpJobName |
string
A fully-qualified path representing project_location_dlp_job resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the dlp_job.
|
matchFindingFromFindingName(findingName)
matchFindingFromFindingName
(
findingName
:
string
)
:
string
|
number
;
Parse the finding from Finding resource.
Parameter | Name |
Description |
| findingName |
string
A fully-qualified path representing Finding resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the finding.
|
matchInspectTemplateFromOrganizationInspectTemplateName(organizationInspectTemplateName)
matchInspectTemplateFromOrganizationInspectTemplateName
(
organizationInspectTemplateName
:
string
)
:
string
|
number
;
Parse the inspect_template from OrganizationInspectTemplate resource.
Parameter | Name |
Description |
| organizationInspectTemplateName |
string
A fully-qualified path representing organization_inspect_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the inspect_template.
|
matchInspectTemplateFromOrganizationLocationInspectTemplateName(organizationLocationInspectTemplateName)
matchInspectTemplateFromOrganizationLocationInspectTemplateName
(
organizationLocationInspectTemplateName
:
string
)
:
string
|
number
;
Parse the inspect_template from OrganizationLocationInspectTemplate resource.
Parameter | Name |
Description |
| organizationLocationInspectTemplateName |
string
A fully-qualified path representing organization_location_inspect_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the inspect_template.
|
matchInspectTemplateFromProjectInspectTemplateName(projectInspectTemplateName)
matchInspectTemplateFromProjectInspectTemplateName
(
projectInspectTemplateName
:
string
)
:
string
|
number
;
Parse the inspect_template from ProjectInspectTemplate resource.
Parameter | Name |
Description |
| projectInspectTemplateName |
string
A fully-qualified path representing project_inspect_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the inspect_template.
|
matchInspectTemplateFromProjectLocationInspectTemplateName(projectLocationInspectTemplateName)
matchInspectTemplateFromProjectLocationInspectTemplateName
(
projectLocationInspectTemplateName
:
string
)
:
string
|
number
;
Parse the inspect_template from ProjectLocationInspectTemplate resource.
Parameter | Name |
Description |
| projectLocationInspectTemplateName |
string
A fully-qualified path representing project_location_inspect_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the inspect_template.
|
matchJobTriggerFromProjectJobTriggerName(projectJobTriggerName)
matchJobTriggerFromProjectJobTriggerName
(
projectJobTriggerName
:
string
)
:
string
|
number
;
Parse the job_trigger from ProjectJobTrigger resource.
Parameter | Name |
Description |
| projectJobTriggerName |
string
A fully-qualified path representing project_job_trigger resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the job_trigger.
|
matchJobTriggerFromProjectLocationJobTriggerName(projectLocationJobTriggerName)
matchJobTriggerFromProjectLocationJobTriggerName
(
projectLocationJobTriggerName
:
string
)
:
string
|
number
;
Parse the job_trigger from ProjectLocationJobTrigger resource.
Parameter | Name |
Description |
| projectLocationJobTriggerName |
string
A fully-qualified path representing project_location_job_trigger resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the job_trigger.
|
matchLocationFromFindingName(findingName)
matchLocationFromFindingName
(
findingName
:
string
)
:
string
|
number
;
Parse the location from Finding resource.
Parameter | Name |
Description |
| findingName |
string
A fully-qualified path representing Finding resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the location.
|
matchLocationFromOrganizationLocationDeidentifyTemplateName(organizationLocationDeidentifyTemplateName)
matchLocationFromOrganizationLocationDeidentifyTemplateName
(
organizationLocationDeidentifyTemplateName
:
string
)
:
string
|
number
;
Parse the location from OrganizationLocationDeidentifyTemplate resource.
Parameter | Name |
Description |
| organizationLocationDeidentifyTemplateName |
string
A fully-qualified path representing organization_location_deidentify_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the location.
|
matchLocationFromOrganizationLocationInspectTemplateName(organizationLocationInspectTemplateName)
matchLocationFromOrganizationLocationInspectTemplateName
(
organizationLocationInspectTemplateName
:
string
)
:
string
|
number
;
Parse the location from OrganizationLocationInspectTemplate resource.
Parameter | Name |
Description |
| organizationLocationInspectTemplateName |
string
A fully-qualified path representing organization_location_inspect_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the location.
|
matchLocationFromOrganizationLocationStoredInfoTypeName(organizationLocationStoredInfoTypeName)
matchLocationFromOrganizationLocationStoredInfoTypeName
(
organizationLocationStoredInfoTypeName
:
string
)
:
string
|
number
;
Parse the location from OrganizationLocationStoredInfoType resource.
Parameter | Name |
Description |
| organizationLocationStoredInfoTypeName |
string
A fully-qualified path representing organization_location_stored_info_type resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the location.
|
matchLocationFromProjectLocationDeidentifyTemplateName(projectLocationDeidentifyTemplateName)
matchLocationFromProjectLocationDeidentifyTemplateName
(
projectLocationDeidentifyTemplateName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationDeidentifyTemplate resource.
Parameter | Name |
Description |
| projectLocationDeidentifyTemplateName |
string
A fully-qualified path representing project_location_deidentify_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the location.
|
matchLocationFromProjectLocationDlpJobName(projectLocationDlpJobName)
matchLocationFromProjectLocationDlpJobName
(
projectLocationDlpJobName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationDlpJob resource.
Parameter | Name |
Description |
| projectLocationDlpJobName |
string
A fully-qualified path representing project_location_dlp_job resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the location.
|
matchLocationFromProjectLocationInspectTemplateName(projectLocationInspectTemplateName)
matchLocationFromProjectLocationInspectTemplateName
(
projectLocationInspectTemplateName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationInspectTemplate resource.
Parameter | Name |
Description |
| projectLocationInspectTemplateName |
string
A fully-qualified path representing project_location_inspect_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the location.
|
matchLocationFromProjectLocationJobTriggerName(projectLocationJobTriggerName)
matchLocationFromProjectLocationJobTriggerName
(
projectLocationJobTriggerName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationJobTrigger resource.
Parameter | Name |
Description |
| projectLocationJobTriggerName |
string
A fully-qualified path representing project_location_job_trigger resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the location.
|
matchLocationFromProjectLocationStoredInfoTypeName(projectLocationStoredInfoTypeName)
matchLocationFromProjectLocationStoredInfoTypeName
(
projectLocationStoredInfoTypeName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationStoredInfoType resource.
Parameter | Name |
Description |
| projectLocationStoredInfoTypeName |
string
A fully-qualified path representing project_location_stored_info_type resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the location.
|
matchOrganizationFromOrganizationDeidentifyTemplateName(organizationDeidentifyTemplateName)
matchOrganizationFromOrganizationDeidentifyTemplateName
(
organizationDeidentifyTemplateName
:
string
)
:
string
|
number
;
Parse the organization from OrganizationDeidentifyTemplate resource.
Parameter | Name |
Description |
| organizationDeidentifyTemplateName |
string
A fully-qualified path representing organization_deidentify_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the organization.
|
matchOrganizationFromOrganizationInspectTemplateName(organizationInspectTemplateName)
matchOrganizationFromOrganizationInspectTemplateName
(
organizationInspectTemplateName
:
string
)
:
string
|
number
;
Parse the organization from OrganizationInspectTemplate resource.
Parameter | Name |
Description |
| organizationInspectTemplateName |
string
A fully-qualified path representing organization_inspect_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the organization.
|
matchOrganizationFromOrganizationLocationDeidentifyTemplateName(organizationLocationDeidentifyTemplateName)
matchOrganizationFromOrganizationLocationDeidentifyTemplateName
(
organizationLocationDeidentifyTemplateName
:
string
)
:
string
|
number
;
Parse the organization from OrganizationLocationDeidentifyTemplate resource.
Parameter | Name |
Description |
| organizationLocationDeidentifyTemplateName |
string
A fully-qualified path representing organization_location_deidentify_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the organization.
|
matchOrganizationFromOrganizationLocationInspectTemplateName(organizationLocationInspectTemplateName)
matchOrganizationFromOrganizationLocationInspectTemplateName
(
organizationLocationInspectTemplateName
:
string
)
:
string
|
number
;
Parse the organization from OrganizationLocationInspectTemplate resource.
Parameter | Name |
Description |
| organizationLocationInspectTemplateName |
string
A fully-qualified path representing organization_location_inspect_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the organization.
|
matchOrganizationFromOrganizationLocationStoredInfoTypeName(organizationLocationStoredInfoTypeName)
matchOrganizationFromOrganizationLocationStoredInfoTypeName
(
organizationLocationStoredInfoTypeName
:
string
)
:
string
|
number
;
Parse the organization from OrganizationLocationStoredInfoType resource.
Parameter | Name |
Description |
| organizationLocationStoredInfoTypeName |
string
A fully-qualified path representing organization_location_stored_info_type resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the organization.
|
matchOrganizationFromOrganizationName(organizationName)
matchOrganizationFromOrganizationName
(
organizationName
:
string
)
:
string
|
number
;
Parse the organization from Organization resource.
Parameter | Name |
Description |
| organizationName |
string
A fully-qualified path representing Organization resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the organization.
|
matchOrganizationFromOrganizationStoredInfoTypeName(organizationStoredInfoTypeName)
matchOrganizationFromOrganizationStoredInfoTypeName
(
organizationStoredInfoTypeName
:
string
)
:
string
|
number
;
Parse the organization from OrganizationStoredInfoType resource.
Parameter | Name |
Description |
| organizationStoredInfoTypeName |
string
A fully-qualified path representing organization_stored_info_type resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the organization.
|
matchProjectFromFindingName(findingName)
matchProjectFromFindingName
(
findingName
:
string
)
:
string
|
number
;
Parse the project from Finding resource.
Parameter | Name |
Description |
| findingName |
string
A fully-qualified path representing Finding resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the project.
|
matchProjectFromProjectDeidentifyTemplateName(projectDeidentifyTemplateName)
matchProjectFromProjectDeidentifyTemplateName
(
projectDeidentifyTemplateName
:
string
)
:
string
|
number
;
Parse the project from ProjectDeidentifyTemplate resource.
Parameter | Name |
Description |
| projectDeidentifyTemplateName |
string
A fully-qualified path representing project_deidentify_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the project.
|
matchProjectFromProjectDlpContentName(projectDlpContentName)
matchProjectFromProjectDlpContentName
(
projectDlpContentName
:
string
)
:
string
|
number
;
Parse the project from ProjectDlpContent resource.
Parameter | Name |
Description |
| projectDlpContentName |
string
A fully-qualified path representing project_dlpContent resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the project.
|
matchProjectFromProjectDlpJobName(projectDlpJobName)
matchProjectFromProjectDlpJobName
(
projectDlpJobName
:
string
)
:
string
|
number
;
Parse the project from ProjectDlpJob resource.
Parameter | Name |
Description |
| projectDlpJobName |
string
A fully-qualified path representing project_dlp_job resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the project.
|
matchProjectFromProjectInspectTemplateName(projectInspectTemplateName)
matchProjectFromProjectInspectTemplateName
(
projectInspectTemplateName
:
string
)
:
string
|
number
;
Parse the project from ProjectInspectTemplate resource.
Parameter | Name |
Description |
| projectInspectTemplateName |
string
A fully-qualified path representing project_inspect_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the project.
|
matchProjectFromProjectJobTriggerName(projectJobTriggerName)
matchProjectFromProjectJobTriggerName
(
projectJobTriggerName
:
string
)
:
string
|
number
;
Parse the project from ProjectJobTrigger resource.
Parameter | Name |
Description |
| projectJobTriggerName |
string
A fully-qualified path representing project_job_trigger resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the project.
|
matchProjectFromProjectLocationDeidentifyTemplateName(projectLocationDeidentifyTemplateName)
matchProjectFromProjectLocationDeidentifyTemplateName
(
projectLocationDeidentifyTemplateName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationDeidentifyTemplate resource.
Parameter | Name |
Description |
| projectLocationDeidentifyTemplateName |
string
A fully-qualified path representing project_location_deidentify_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the project.
|
matchProjectFromProjectLocationDlpJobName(projectLocationDlpJobName)
matchProjectFromProjectLocationDlpJobName
(
projectLocationDlpJobName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationDlpJob resource.
Parameter | Name |
Description |
| projectLocationDlpJobName |
string
A fully-qualified path representing project_location_dlp_job resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the project.
|
matchProjectFromProjectLocationInspectTemplateName(projectLocationInspectTemplateName)
matchProjectFromProjectLocationInspectTemplateName
(
projectLocationInspectTemplateName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationInspectTemplate resource.
Parameter | Name |
Description |
| projectLocationInspectTemplateName |
string
A fully-qualified path representing project_location_inspect_template resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the project.
|
matchProjectFromProjectLocationJobTriggerName(projectLocationJobTriggerName)
matchProjectFromProjectLocationJobTriggerName
(
projectLocationJobTriggerName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationJobTrigger resource.
Parameter | Name |
Description |
| projectLocationJobTriggerName |
string
A fully-qualified path representing project_location_job_trigger resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the project.
|
matchProjectFromProjectLocationStoredInfoTypeName(projectLocationStoredInfoTypeName)
matchProjectFromProjectLocationStoredInfoTypeName
(
projectLocationStoredInfoTypeName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationStoredInfoType resource.
Parameter | Name |
Description |
| projectLocationStoredInfoTypeName |
string
A fully-qualified path representing project_location_stored_info_type resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the project.
|
matchProjectFromProjectName(projectName)
matchProjectFromProjectName
(
projectName
:
string
)
:
string
|
number
;
Parse the project from Project resource.
Parameter | Name |
Description |
| projectName |
string
A fully-qualified path representing Project resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the project.
|
matchProjectFromProjectStoredInfoTypeName(projectStoredInfoTypeName)
matchProjectFromProjectStoredInfoTypeName
(
projectStoredInfoTypeName
:
string
)
:
string
|
number
;
Parse the project from ProjectStoredInfoType resource.
Parameter | Name |
Description |
| projectStoredInfoTypeName |
string
A fully-qualified path representing project_stored_info_type resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the project.
|
matchStoredInfoTypeFromOrganizationLocationStoredInfoTypeName(organizationLocationStoredInfoTypeName)
matchStoredInfoTypeFromOrganizationLocationStoredInfoTypeName
(
organizationLocationStoredInfoTypeName
:
string
)
:
string
|
number
;
Parse the stored_info_type from OrganizationLocationStoredInfoType resource.
Parameter | Name |
Description |
| organizationLocationStoredInfoTypeName |
string
A fully-qualified path representing organization_location_stored_info_type resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the stored_info_type.
|
matchStoredInfoTypeFromOrganizationStoredInfoTypeName(organizationStoredInfoTypeName)
matchStoredInfoTypeFromOrganizationStoredInfoTypeName
(
organizationStoredInfoTypeName
:
string
)
:
string
|
number
;
Parse the stored_info_type from OrganizationStoredInfoType resource.
Parameter | Name |
Description |
| organizationStoredInfoTypeName |
string
A fully-qualified path representing organization_stored_info_type resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the stored_info_type.
|
matchStoredInfoTypeFromProjectLocationStoredInfoTypeName(projectLocationStoredInfoTypeName)
matchStoredInfoTypeFromProjectLocationStoredInfoTypeName
(
projectLocationStoredInfoTypeName
:
string
)
:
string
|
number
;
Parse the stored_info_type from ProjectLocationStoredInfoType resource.
Parameter | Name |
Description |
| projectLocationStoredInfoTypeName |
string
A fully-qualified path representing project_location_stored_info_type resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the stored_info_type.
|
matchStoredInfoTypeFromProjectStoredInfoTypeName(projectStoredInfoTypeName)
matchStoredInfoTypeFromProjectStoredInfoTypeName
(
projectStoredInfoTypeName
:
string
)
:
string
|
number
;
Parse the stored_info_type from ProjectStoredInfoType resource.
Parameter | Name |
Description |
| projectStoredInfoTypeName |
string
A fully-qualified path representing project_stored_info_type resource.
|
Returns | Type |
Description |
| string | number
|
{string} A string representing the stored_info_type.
|
organizationDeidentifyTemplatePath(organization, deidentifyTemplate)
organizationDeidentifyTemplatePath
(
organization
:
string
,
deidentifyTemplate
:
string
)
:
string
;
Return a fully-qualified organizationDeidentifyTemplate resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
organizationInspectTemplatePath(organization, inspectTemplate)
organizationInspectTemplatePath
(
organization
:
string
,
inspectTemplate
:
string
)
:
string
;
Return a fully-qualified organizationInspectTemplate resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
organizationLocationDeidentifyTemplatePath(organization, location, deidentifyTemplate)
organizationLocationDeidentifyTemplatePath
(
organization
:
string
,
location
:
string
,
deidentifyTemplate
:
string
)
:
string
;
Return a fully-qualified organizationLocationDeidentifyTemplate resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
organizationLocationInspectTemplatePath(organization, location, inspectTemplate)
organizationLocationInspectTemplatePath
(
organization
:
string
,
location
:
string
,
inspectTemplate
:
string
)
:
string
;
Return a fully-qualified organizationLocationInspectTemplate resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
organizationLocationStoredInfoTypePath(organization, location, storedInfoType)
organizationLocationStoredInfoTypePath
(
organization
:
string
,
location
:
string
,
storedInfoType
:
string
)
:
string
;
Return a fully-qualified organizationLocationStoredInfoType resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
organizationPath(organization)
organizationPath
(
organization
:
string
)
:
string
;
Return a fully-qualified organization resource name string.
Parameter
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
organizationStoredInfoTypePath(organization, storedInfoType)
organizationStoredInfoTypePath
(
organization
:
string
,
storedInfoType
:
string
)
:
string
;
Return a fully-qualified organizationStoredInfoType resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
projectDeidentifyTemplatePath(project, deidentifyTemplate)
projectDeidentifyTemplatePath
(
project
:
string
,
deidentifyTemplate
:
string
)
:
string
;
Return a fully-qualified projectDeidentifyTemplate resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
projectDlpContentPath(project)
projectDlpContentPath
(
project
:
string
)
:
string
;
Return a fully-qualified projectDlpContent resource name string.
Parameter
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
projectDlpJobPath(project, dlpJob)
projectDlpJobPath
(
project
:
string
,
dlpJob
:
string
)
:
string
;
Return a fully-qualified projectDlpJob resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
projectInspectTemplatePath(project, inspectTemplate)
projectInspectTemplatePath
(
project
:
string
,
inspectTemplate
:
string
)
:
string
;
Return a fully-qualified projectInspectTemplate resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
projectJobTriggerPath(project, jobTrigger)
projectJobTriggerPath
(
project
:
string
,
jobTrigger
:
string
)
:
string
;
Return a fully-qualified projectJobTrigger resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
projectLocationDeidentifyTemplatePath(project, location, deidentifyTemplate)
projectLocationDeidentifyTemplatePath
(
project
:
string
,
location
:
string
,
deidentifyTemplate
:
string
)
:
string
;
Return a fully-qualified projectLocationDeidentifyTemplate resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
projectLocationDlpJobPath(project, location, dlpJob)
projectLocationDlpJobPath
(
project
:
string
,
location
:
string
,
dlpJob
:
string
)
:
string
;
Return a fully-qualified projectLocationDlpJob resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
projectLocationInspectTemplatePath(project, location, inspectTemplate)
projectLocationInspectTemplatePath
(
project
:
string
,
location
:
string
,
inspectTemplate
:
string
)
:
string
;
Return a fully-qualified projectLocationInspectTemplate resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
projectLocationJobTriggerPath(project, location, jobTrigger)
projectLocationJobTriggerPath
(
project
:
string
,
location
:
string
,
jobTrigger
:
string
)
:
string
;
Return a fully-qualified projectLocationJobTrigger resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
projectLocationStoredInfoTypePath(project, location, storedInfoType)
projectLocationStoredInfoTypePath
(
project
:
string
,
location
:
string
,
storedInfoType
:
string
)
:
string
;
Return a fully-qualified projectLocationStoredInfoType resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
projectPath(project)
projectPath
(
project
:
string
)
:
string
;
Return a fully-qualified project resource name string.
Parameter
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
projectStoredInfoTypePath(project, storedInfoType)
projectStoredInfoTypePath
(
project
:
string
,
storedInfoType
:
string
)
:
string
;
Return a fully-qualified projectStoredInfoType resource name string.
Parameters
Returns | Type |
Description |
| string
|
{string} Resource name string.
|
redactImage(request, options)
redactImage
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IRedactImageRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IRedactImageResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IRedactImageRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IRedactImageRequest
|
| options |
CallOptions
|
Returns
redactImage(request, options, callback)
redactImage
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IRedactImageRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IRedactImageResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IRedactImageRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IRedactImageRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IRedactImageResponse
, protos. google.privacy.dlp.v2.IRedactImageRequest
| null | undefined, {} | null | undefined>
|
Returns
redactImage(request, callback)
redactImage
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IRedactImageRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IRedactImageResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IRedactImageRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IRedactImageRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IRedactImageResponse
, protos. google.privacy.dlp.v2.IRedactImageRequest
| null | undefined, {} | null | undefined>
|
Returns
reidentifyContent(request, options)
reidentifyContent
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IReidentifyContentRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IReidentifyContentResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IReidentifyContentRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IReidentifyContentRequest
|
| options |
CallOptions
|
Returns
reidentifyContent(request, options, callback)
reidentifyContent
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IReidentifyContentRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IReidentifyContentResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IReidentifyContentRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IReidentifyContentRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IReidentifyContentResponse
, protos. google.privacy.dlp.v2.IReidentifyContentRequest
| null | undefined, {} | null | undefined>
|
Returns
reidentifyContent(request, callback)
reidentifyContent
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IReidentifyContentRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IReidentifyContentResponse
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IReidentifyContentRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IReidentifyContentRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IReidentifyContentResponse
, protos. google.privacy.dlp.v2.IReidentifyContentRequest
| null | undefined, {} | null | undefined>
|
Returns
updateDeidentifyTemplate(request, options)
updateDeidentifyTemplate
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateDeidentifyTemplateRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateDeidentifyTemplateRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest
|
| options |
CallOptions
|
Returns
updateDeidentifyTemplate(request, options, callback)
updateDeidentifyTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateDeidentifyTemplateRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateDeidentifyTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IDeidentifyTemplate
, protos. google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
updateDeidentifyTemplate(request, callback)
updateDeidentifyTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateDeidentifyTemplateRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IDeidentifyTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateDeidentifyTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IDeidentifyTemplate
, protos. google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
updateInspectTemplate(request, options)
updateInspectTemplate
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateInspectTemplateRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateInspectTemplateRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IUpdateInspectTemplateRequest
|
| options |
CallOptions
|
Returns
updateInspectTemplate(request, options, callback)
updateInspectTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateInspectTemplateRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateInspectTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IUpdateInspectTemplateRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IInspectTemplate
, protos. google.privacy.dlp.v2.IUpdateInspectTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
updateInspectTemplate(request, callback)
updateInspectTemplate
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateInspectTemplateRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IInspectTemplate
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateInspectTemplateRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IUpdateInspectTemplateRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IInspectTemplate
, protos. google.privacy.dlp.v2.IUpdateInspectTemplateRequest
| null | undefined, {} | null | undefined>
|
Returns
updateJobTrigger(request, options)
updateJobTrigger
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateJobTriggerRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IJobTrigger
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateJobTriggerRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IUpdateJobTriggerRequest
|
| options |
CallOptions
|
Returns
updateJobTrigger(request, options, callback)
updateJobTrigger
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateJobTriggerRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IJobTrigger
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateJobTriggerRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IUpdateJobTriggerRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IJobTrigger
, protos. google.privacy.dlp.v2.IUpdateJobTriggerRequest
| null | undefined, {} | null | undefined>
|
Returns
updateJobTrigger(request, callback)
updateJobTrigger
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateJobTriggerRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IJobTrigger
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateJobTriggerRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IUpdateJobTriggerRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IJobTrigger
, protos. google.privacy.dlp.v2.IUpdateJobTriggerRequest
| null | undefined, {} | null | undefined>
|
Returns
updateStoredInfoType(request, options)
updateStoredInfoType
(
request
?:
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateStoredInfoTypeRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
privacy
.
dlp
.
v2
.
IStoredInfoType
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateStoredInfoTypeRequest
|
undefined
,
{}
|
undefined
]>;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest
|
| options |
CallOptions
|
Returns
updateStoredInfoType(request, options, callback)
updateStoredInfoType
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateStoredInfoTypeRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IStoredInfoType
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateStoredInfoTypeRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest
|
| options |
CallOptions
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IStoredInfoType
, protos. google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest
| null | undefined, {} | null | undefined>
|
Returns
updateStoredInfoType(request, callback)
updateStoredInfoType
(
request
:
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateStoredInfoTypeRequest
,
callback
:
Callback<protos
.
google
.
privacy
.
dlp
.
v2
.
IStoredInfoType
,
protos
.
google
.
privacy
.
dlp
.
v2
.
IUpdateStoredInfoTypeRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
Parameters | Name |
Description |
| request |
protos. google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest
|
| callback |
Callback
<protos. google.privacy.dlp.v2.IStoredInfoType
, protos. google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest
| null | undefined, {} | null | undefined>
|
Returns