Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools

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

Deprecated. Represents a list of tools for an agent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools

Returns a new instance of GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools.



9285
9286
9287
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9285

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

Instance Attribute Details

#toolArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool>

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



9283
9284
9285
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9283

def tool
  @tool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9290
9291
9292
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9290

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