Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExamplesRestrictionsNamespace

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

Overview

Restrictions namespace for example-based explanations overrides.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ExamplesRestrictionsNamespace

Returns a new instance of GoogleCloudAiplatformV1beta1ExamplesRestrictionsNamespace.



7100
7101
7102
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7100

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


7088
7089
7090
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7088

def allow
  @allow
end

#denyArray<String>

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

Returns:

  • (Array<String>)


7093
7094
7095
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7093

def deny
  @deny
end

#namespace_nameString

The namespace name. Corresponds to the JSON property namespaceName

Returns:

  • (String)


7098
7099
7100
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7098

def namespace_name
  @namespace_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7105
7106
7107
7108
7109
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7105

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