Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools
- 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
Overview
Represents a list of tools for an agent.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools
constructor
A new instance of GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools
Returns a new instance of GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools.
9135 9136 9137 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9135 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tool ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool>
Optional. List of tools: each tool can have multiple function declarations.
Corresponds to the JSON property tool
9133 9134 9135 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9133 def tool @tool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9140 9141 9142 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9140 def update!(**args) @tool = args[:tool] if args.key?(:tool) end |