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.



10350
10351
10352
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10350

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



10348
10349
10350
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10348

def sensitive_data_protection_policy
  @sensitive_data_protection_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10355
10356
10357
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10355

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