Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExamplesRestrictionsNamespace
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExamplesRestrictionsNamespace
- 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
-
#allow ⇒ Array<String>
The list of allowed tags.
-
#deny ⇒ Array<String>
The list of deny tags.
-
#namespace_name ⇒ String
The namespace name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ExamplesRestrictionsNamespace
constructor
A new instance of GoogleCloudAiplatformV1beta1ExamplesRestrictionsNamespace.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ExamplesRestrictionsNamespace
Returns a new instance of GoogleCloudAiplatformV1beta1ExamplesRestrictionsNamespace.
5165 5166 5167 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5165 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow ⇒ Array<String>
The list of allowed tags.
Corresponds to the JSON property allow
5153 5154 5155 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5153 def allow @allow end |
#deny ⇒ Array<String>
The list of deny tags.
Corresponds to the JSON property deny
5158 5159 5160 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5158 def deny @deny end |
#namespace_name ⇒ String
The namespace name.
Corresponds to the JSON property namespaceName
5163 5164 5165 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5163 def namespace_name @namespace_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5170 5171 5172 5173 5174 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5170 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 |