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.
29475 29476 29477 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29475 def initialize(**args) update!(**args) end |
Instance Attribute Details
#categories ⇒ Array<String>
Corresponds to the JSON property categories
29473 29474 29475 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29473 def categories @categories end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29480 29481 29482 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29480 def update!(**args) @categories = args[:categories] if args.key?(:categories) end |