Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy

Returns a new instance of GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy.



10473
10474
10475
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10473

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#policyString

Optional. Specifies the resource name of the Sensitive Data Protection content policy. Corresponds to the JSON property policy

Returns:

  • (String)


10471
10472
10473
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10471

def policy
  @policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10478
10479
10480
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10478

def update!(**args)
  @policy = args[:policy] if args.key?(:policy)
end