Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RubricGroup
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RubricGroup
- 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
A group of rubrics, used for grouping rubrics based on a metric or a version.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Human-readable name for the group.
-
#group_id ⇒ String
Unique identifier for the group.
-
#rubrics ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Rubric>
Rubrics that are part of this group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RubricGroup
constructor
A new instance of GoogleCloudAiplatformV1beta1RubricGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RubricGroup
Returns a new instance of GoogleCloudAiplatformV1beta1RubricGroup.
41325 41326 41327 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41325 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Human-readable name for the group. This should be unique within a given
context if used for display or selection. Example: "Instruction Following V1",
"Content Quality - Summarization Task".
Corresponds to the JSON property displayName
41313 41314 41315 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41313 def display_name @display_name end |
#group_id ⇒ String
Unique identifier for the group.
Corresponds to the JSON property groupId
41318 41319 41320 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41318 def group_id @group_id end |
#rubrics ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Rubric>
Rubrics that are part of this group.
Corresponds to the JSON property rubrics
41323 41324 41325 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41323 def rubrics @rubrics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
41330 41331 41332 41333 41334 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41330 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @group_id = args[:group_id] if args.key?(:group_id) @rubrics = args[:rubrics] if args.key?(:rubrics) end |