Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet
- 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
EvaluationSet is a collection of related EvaluationItems that are evaluated together.
Instance Attribute Summary collapse
-
#agent_configs ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentConfig>
Optional.
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Required.
-
#evaluation_items ⇒ Array<String>
Required.
-
#metadata ⇒ Object
Optional.
-
#name ⇒ String
Identifier.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1EvaluationSet
constructor
A new instance of GoogleCloudAiplatformV1beta1EvaluationSet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1EvaluationSet
Returns a new instance of GoogleCloudAiplatformV1beta1EvaluationSet.
17349 17350 17351 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17349 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_configs ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentConfig>
Optional. Static configurations for each agent associated with the items in
this set. Key: agent_id (matches the author field in events). Value: The
static configuration of the agent.
Corresponds to the JSON property agentConfigs
17316 17317 17318 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17316 def agent_configs @agent_configs end |
#create_time ⇒ String
Output only. Timestamp when this item was created.
Corresponds to the JSON property createTime
17321 17322 17323 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17321 def create_time @create_time end |
#display_name ⇒ String
Required. The display name of the EvaluationSet.
Corresponds to the JSON property displayName
17326 17327 17328 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17326 def display_name @display_name end |
#evaluation_items ⇒ Array<String>
Required. The EvaluationItems that are part of this dataset.
Corresponds to the JSON property evaluationItems
17331 17332 17333 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17331 def evaluation_items @evaluation_items end |
#metadata ⇒ Object
Optional. Metadata for the EvaluationSet.
Corresponds to the JSON property metadata
17336 17337 17338 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17336 def @metadata end |
#name ⇒ String
Identifier. The resource name of the EvaluationSet. Format: projects/project
/locations/location/evaluationSets/evaluation_set`
Corresponds to the JSON propertyname`
17342 17343 17344 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17342 def name @name end |
#update_time ⇒ String
Output only. Timestamp when this item was last updated.
Corresponds to the JSON property updateTime
17347 17348 17349 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17347 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17354 17355 17356 17357 17358 17359 17360 17361 17362 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17354 def update!(**args) @agent_configs = args[:agent_configs] if args.key?(:agent_configs) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @evaluation_items = args[:evaluation_items] if args.key?(:evaluation_items) @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |