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.
31592 31593 31594 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31592 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy ⇒ String
Corresponds to the JSON property policy
31585 31586 31587 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31585 def policy @policy end |
#score ⇒ Float
Corresponds to the JSON property score
31590 31591 31592 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31590 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31597 31598 31599 31600 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 31597 def update!(**args) @policy = args[:policy] if args.key?(:policy) @score = args[:score] if args.key?(:score) end |