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.
31496 31497 31498 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31496 def initialize(**args) update!(**args) end |
Instance Attribute Details
#categories ⇒ Array<String>
Corresponds to the JSON property categories
31494 31495 31496 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31494 def categories @categories end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31501 31502 31503 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31501 def update!(**args) @categories = args[:categories] if args.key?(:categories) end |