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.
30519 30520 30521 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30519 def initialize(**args) update!(**args) end |
Instance Attribute Details
#categories ⇒ Array<String>
Corresponds to the JSON property categories
30517 30518 30519 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30517 def categories @categories end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30524 30525 30526 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30524 def update!(**args) @categories = args[:categories] if args.key?(:categories) end |