Reference documentation and code samples for the Data Loss Prevention V2 Client class InspectTemplate.
The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
Generated from protobuf message google.privacy.dlp.v2.InspectTemplate
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The template name. The template will have one of the following formats: projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID
OR organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID
;
↳ display_name
string
Display name (max 256 chars).
↳ description
string
Short description (max 256 chars).
↳ create_time
↳ update_time
↳ inspect_config
Google\Cloud\Dlp\V2\InspectConfig
The core content of the template. Configuration of the scanning process.
getName
Output only. The template name.
The template will have one of the following formats: projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID
OR organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID
;
string
setName
Output only. The template name.
The template will have one of the following formats: projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID
OR organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID
;
var
string
$this
getDisplayName
Display name (max 256 chars).
string
setDisplayName
Display name (max 256 chars).
var
string
$this
getDescription
Short description (max 256 chars).
string
setDescription
Short description (max 256 chars).
var
string
$this
getCreateTime
Output only. The creation timestamp of an inspectTemplate.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation timestamp of an inspectTemplate.
$this
getUpdateTime
Output only. The last update timestamp of an inspectTemplate.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last update timestamp of an inspectTemplate.
$this
getInspectConfig
The core content of the template. Configuration of the scanning process.
hasInspectConfig
clearInspectConfig
setInspectConfig
The core content of the template. Configuration of the scanning process.
$this