Google Cloud Discovery Engine V1 Client - Class SensitiveDataProtectionPolicy (1.17.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class SensitiveDataProtectionPolicy.

Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy.

Generated from protobuf message google.cloud.discoveryengine.v1.DataProtectionPolicy.SensitiveDataProtectionPolicy

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ DataProtectionPolicy

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ policy string

Optional. Specifies the resource name of the Sensitive Data Protection content policy.

getPolicy

Optional. Specifies the resource name of the Sensitive Data Protection content policy.

Returns
Type Description
string

setPolicy

Optional. Specifies the resource name of the Sensitive Data Protection content policy.

Parameter
Name Description
var string
Returns
Type Description
$this