Class: Google::Apis::AiplatformV1beta1::LearningGenaiRootRaiOutput
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::LearningGenaiRootRaiOutput
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
This is per harm.
Instance Attribute Summary collapse
-
#allowed ⇒ Boolean
(also: #allowed?)
Corresponds to the JSON property
allowed. -
#harm ⇒ Google::Apis::AiplatformV1beta1::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.
31292 31293 31294 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31292 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed ⇒ Boolean Also known as: allowed?
Corresponds to the JSON property allowed
31274 31275 31276 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31274 def allowed @allowed end |
#harm ⇒ Google::Apis::AiplatformV1beta1::LearningGenaiRootHarm
Corresponds to the JSON property harm
31280 31281 31282 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31280 def harm @harm end |
#name ⇒ String
Corresponds to the JSON property name
31285 31286 31287 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31285 def name @name end |
#score ⇒ Float
Corresponds to the JSON property score
31290 31291 31292 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31290 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31297 31298 31299 31300 31301 31302 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31297 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 |