Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentDataTools

Inherits:
Object
  • Object
show all
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

Deprecated: Use agent_eval_data instead. Represents a list of tools for an agent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentDataTools

Returns a new instance of GoogleCloudAiplatformV1beta1EvaluationInstanceDeprecatedAgentDataTools.



16018
16019
16020
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16018

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#toolArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Tool>

Optional. List of tools: each tool can have multiple function declarations. Corresponds to the JSON property tool



16016
16017
16018
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16016

def tool
  @tool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16023
16024
16025
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16023

def update!(**args)
  @tool = args[:tool] if args.key?(:tool)
end