Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolCall
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolCall
- 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
Spec for tool call.
Instance Attribute Summary collapse
-
#tool_input ⇒ String
Optional.
-
#tool_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1ToolCall
constructor
A new instance of GoogleCloudAiplatformV1ToolCall.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1ToolCall
Returns a new instance of GoogleCloudAiplatformV1ToolCall.
37080 37081 37082 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37080 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tool_input ⇒ String
Optional. Spec for tool input
Corresponds to the JSON property toolInput
37073 37074 37075 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37073 def tool_input @tool_input end |
#tool_name ⇒ String
Required. Spec for tool name
Corresponds to the JSON property toolName
37078 37079 37080 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37078 def tool_name @tool_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
37085 37086 37087 37088 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37085 def update!(**args) @tool_input = args[:tool_input] if args.key?(:tool_input) @tool_name = args[:tool_name] if args.key?(:tool_name) end |