Reference documentation and code samples for the Google Cloud Model Armor V1beta Client class SdpAdvancedConfig.
Sensitive Data Protection Advanced configuration.
Generated from protobuf message google.cloud.modelarmor.v1beta.SdpAdvancedConfig
Namespace
Google \ Cloud \ ModelArmor \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ inspect_template |
string
Optional. Sensitive Data Protection inspect template resource name If only inspect template is provided (de-identify template not provided), then Sensitive Data Protection InspectContent action is performed during Sanitization. All Sensitive Data Protection findings identified during inspection will be returned as SdpFinding in SdpInsepctionResult. e.g. |
↳ deidentify_template |
string
Optional. Optional Sensitive Data Protection Deidentify template resource name. If provided then DeidentifyContent action is performed during Sanitization using this template and inspect template. The De-identified data will be returned in SdpDeidentifyResult. Note that all info-types present in the deidentify template must be present in inspect template. e.g. |
getInspectTemplate
Optional. Sensitive Data Protection inspect template resource name If only inspect template is provided (de-identify template not provided), then Sensitive Data Protection InspectContent action is performed during Sanitization. All Sensitive Data Protection findings identified during inspection will be returned as SdpFinding in SdpInsepctionResult.
e.g.
projects/{project}/locations/{___location}/inspectTemplates/{inspect_template}
Returns | |
---|---|
Type | Description |
string |
setInspectTemplate
Optional. Sensitive Data Protection inspect template resource name If only inspect template is provided (de-identify template not provided), then Sensitive Data Protection InspectContent action is performed during Sanitization. All Sensitive Data Protection findings identified during inspection will be returned as SdpFinding in SdpInsepctionResult.
e.g.
projects/{project}/locations/{___location}/inspectTemplates/{inspect_template}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDeidentifyTemplate
Optional. Optional Sensitive Data Protection Deidentify template resource name.
If provided then DeidentifyContent action is performed during Sanitization
using this template and inspect template. The De-identified data will
be returned in SdpDeidentifyResult.
Note that all info-types present in the deidentify template must be present
in inspect template.
e.g.
projects/{project}/locations/{___location}/deidentifyTemplates/{deidentify_template}
Returns | |
---|---|
Type | Description |
string |
setDeidentifyTemplate
Optional. Optional Sensitive Data Protection Deidentify template resource name.
If provided then DeidentifyContent action is performed during Sanitization
using this template and inspect template. The De-identified data will
be returned in SdpDeidentifyResult.
Note that all info-types present in the deidentify template must be present
in inspect template.
e.g.
projects/{project}/locations/{___location}/deidentifyTemplates/{deidentify_template}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |