Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExamplesRestrictionsNamespace

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Restrictions namespace for example-based explanations overrides.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ExamplesRestrictionsNamespace

Returns a new instance of GoogleCloudAiplatformV1ExamplesRestrictionsNamespace.



6696
6697
6698
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6696

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

Instance Attribute Details

#allowArray<String>

The list of allowed tags. Corresponds to the JSON property allow

Returns:

  • (Array<String>)


6684
6685
6686
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6684

def allow
  @allow
end

#denyArray<String>

The list of deny tags. Corresponds to the JSON property deny

Returns:

  • (Array<String>)


6689
6690
6691
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6689

def deny
  @deny
end

#namespace_nameString

The namespace name. Corresponds to the JSON property namespaceName

Returns:

  • (String)


6694
6695
6696
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6694

def namespace_name
  @namespace_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6701
6702
6703
6704
6705
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6701

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