Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy

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

Contains the data protection policy config for a DataStore or a connector.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy

Returns a new instance of GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy.



10452
10453
10454
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10452

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

Instance Attribute Details

#sensitive_data_protection_policyGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy

Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data- protection/docs/sensitive-data-protection-overview) policy. Corresponds to the JSON property sensitiveDataProtectionPolicy



10450
10451
10452
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10450

def sensitive_data_protection_policy
  @sensitive_data_protection_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10457
10458
10459
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10457

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