Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data- protection/docs/sensitive-data-protection-overview) policy.
Instance Attribute Summary collapse
-
#policy ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy
Returns a new instance of GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy.
10371 10372 10373 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10371 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy ⇒ String
Optional. Specifies the resource name of the Sensitive Data Protection content
policy.
Corresponds to the JSON property policy
10369 10370 10371 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10369 def policy @policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10376 10377 10378 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10376 def update!(**args) @policy = args[:policy] if args.key?(:policy) end |