Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy

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) ⇒ GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy

Returns a new instance of GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy.



5440
5441
5442
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5440

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

Instance Attribute Details

#policyString

Optional. The Sensitive Data Protection policy resource name. Corresponds to the JSON property policy

Returns:

  • (String)


5438
5439
5440
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5438

def policy
  @policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5445
5446
5447
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5445

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