Class: Google::Apis::AiplatformV1::LearningGenaiRootRaiOutput
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::LearningGenaiRootRaiOutput
- 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
Overview
This is per harm.
Instance Attribute Summary collapse
-
#allowed ⇒ Boolean
(also: #allowed?)
Corresponds to the JSON property
allowed. -
#harm ⇒ Google::Apis::AiplatformV1::LearningGenaiRootHarm
Corresponds to the JSON property
harm. -
#name ⇒ String
Corresponds to the JSON property
name. -
#score ⇒ Float
Corresponds to the JSON property
score.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LearningGenaiRootRaiOutput
constructor
A new instance of LearningGenaiRootRaiOutput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LearningGenaiRootRaiOutput
Returns a new instance of LearningGenaiRootRaiOutput.
31660 31661 31662 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31660 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed ⇒ Boolean Also known as: allowed?
Corresponds to the JSON property allowed
31642 31643 31644 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31642 def allowed @allowed end |
#harm ⇒ Google::Apis::AiplatformV1::LearningGenaiRootHarm
Corresponds to the JSON property harm
31648 31649 31650 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31648 def harm @harm end |
#name ⇒ String
Corresponds to the JSON property name
31653 31654 31655 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31653 def name @name end |
#score ⇒ Float
Corresponds to the JSON property score
31658 31659 31660 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31658 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31665 31666 31667 31668 31669 31670 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31665 def update!(**args) @allowed = args[:allowed] if args.key?(:allowed) @harm = args[:harm] if args.key?(:harm) @name = args[:name] if args.key?(:name) @score = args[:score] if args.key?(:score) end |