Class: Google::Apis::AiplatformV1::LearningGenaiRootHarmSafetyCatCategories
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::LearningGenaiRootHarmSafetyCatCategories
- 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
Instance Attribute Summary collapse
-
#categories ⇒ Array<String>
Corresponds to the JSON property
categories.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LearningGenaiRootHarmSafetyCatCategories
constructor
A new instance of LearningGenaiRootHarmSafetyCatCategories.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LearningGenaiRootHarmSafetyCatCategories
Returns a new instance of LearningGenaiRootHarmSafetyCatCategories.
31273 31274 31275 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31273 def initialize(**args) update!(**args) end |
Instance Attribute Details
#categories ⇒ Array<String>
Corresponds to the JSON property categories
31271 31272 31273 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31271 def categories @categories end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31278 31279 31280 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31278 def update!(**args) @categories = args[:categories] if args.key?(:categories) end |