Reference documentation and code samples for the Google Cloud Model Armor V1 Client class SdpAdvancedConfig.
Sensitive Data Protection Advanced configuration.
Generated from protobuf messagegoogle.cloud.modelarmor.v1.SdpAdvancedConfig
Namespace
Google \ Cloud \ ModelArmor \ V1
Methods
__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.projects/{project}/locations/{location}/inspectTemplates/{inspect_template}
↳ 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.projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}
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.
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.
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}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Model Armor V1 Client - Class SdpAdvancedConfig (0.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.0 (latest)](/php/docs/reference/cloud-modelarmor/latest/V1.SdpAdvancedConfig)\n- [0.3.1](/php/docs/reference/cloud-modelarmor/0.3.1/V1.SdpAdvancedConfig)\n- [0.2.0](/php/docs/reference/cloud-modelarmor/0.2.0/V1.SdpAdvancedConfig)\n- [0.1.0](/php/docs/reference/cloud-modelarmor/0.1.0/V1.SdpAdvancedConfig) \nReference documentation and code samples for the Google Cloud Model Armor V1 Client class SdpAdvancedConfig.\n\nSensitive Data Protection Advanced configuration.\n\nGenerated from protobuf message `google.cloud.modelarmor.v1.SdpAdvancedConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ModelArmor \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getInspectTemplate\n\nOptional. Sensitive Data Protection inspect template resource name\nIf only inspect template is provided (de-identify template not provided),\nthen Sensitive Data Protection InspectContent action is performed during\nSanitization. All Sensitive Data Protection findings identified during\ninspection will be returned as SdpFinding in SdpInsepctionResult.\n\ne.g.\n`projects/{project}/locations/{location}/inspectTemplates/{inspect_template}`\n\n### setInspectTemplate\n\nOptional. Sensitive Data Protection inspect template resource name\nIf only inspect template is provided (de-identify template not provided),\nthen Sensitive Data Protection InspectContent action is performed during\nSanitization. All Sensitive Data Protection findings identified during\ninspection will be returned as SdpFinding in SdpInsepctionResult.\n\ne.g.\n`projects/{project}/locations/{location}/inspectTemplates/{inspect_template}`\n\n### getDeidentifyTemplate\n\nOptional. Optional Sensitive Data Protection Deidentify template resource\nname.\n\nIf provided then DeidentifyContent action is performed during Sanitization\nusing this template and inspect template. The De-identified data will\nbe returned in SdpDeidentifyResult.\nNote that all info-types present in the deidentify template must be present\nin inspect template.\ne.g.\n`projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}`\n\n### setDeidentifyTemplate\n\nOptional. Optional Sensitive Data Protection Deidentify template resource\nname.\n\nIf provided then DeidentifyContent action is performed during Sanitization\nusing this template and inspect template. The De-identified data will\nbe returned in SdpDeidentifyResult.\nNote that all info-types present in the deidentify template must be present\nin inspect template.\ne.g.\n`projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}`"]]