Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy

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

Returns a new instance of GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy.



27830
27831
27832
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 27830

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)


27828
27829
27830
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 27828

def policy
  @policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27835
27836
27837
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 27835

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