Class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecordPolicyScore
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecordPolicyScore
- 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
-
#policy ⇒ String
Corresponds to the JSON property
policy. -
#score ⇒ Float
Corresponds to the JSON property
score.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LearningGenaiRootControlDecodingRecordPolicyScore
constructor
A new instance of LearningGenaiRootControlDecodingRecordPolicyScore.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LearningGenaiRootControlDecodingRecordPolicyScore
Returns a new instance of LearningGenaiRootControlDecodingRecordPolicyScore.
31523 31524 31525 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31523 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy ⇒ String
Corresponds to the JSON property policy
31516 31517 31518 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31516 def policy @policy end |
#score ⇒ Float
Corresponds to the JSON property score
31521 31522 31523 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31521 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31528 31529 31530 31531 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31528 def update!(**args) @policy = args[:policy] if args.key?(:policy) @score = args[:score] if args.key?(:score) end |