Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallContent
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallContent
- 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
Tool call content.
Instance Attribute Summary collapse
-
#code_execution_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallContent
Code execution content.
-
#file_search_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchCallContent
File Search content.
-
#function_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionCallContent
A function tool call content block.
-
#google_maps_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallContent
Google Maps content.
-
#google_search_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContent
Google Search content.
-
#id ⇒ String
Required.
-
#mcp_server_tool_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallContent
MCPServer tool call content.
-
#signature ⇒ String
A signature hash for backend validation.
-
#url_context_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallContent
URL context content.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1ToolCallContent
constructor
A new instance of GenaiVertexV1beta1ToolCallContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1ToolCallContent
Returns a new instance of GenaiVertexV1beta1ToolCallContent.
4536 4537 4538 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4536 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code_execution_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallContent
Code execution content.
Corresponds to the JSON property codeExecutionCall
4493 4494 4495 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4493 def code_execution_call @code_execution_call end |
#file_search_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchCallContent
File Search content.
Corresponds to the JSON property fileSearchCall
4498 4499 4500 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4498 def file_search_call @file_search_call end |
#function_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionCallContent
A function tool call content block.
Corresponds to the JSON property functionCall
4503 4504 4505 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4503 def function_call @function_call end |
#google_maps_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallContent
Google Maps content.
Corresponds to the JSON property googleMapsCall
4508 4509 4510 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4508 def google_maps_call @google_maps_call end |
#google_search_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContent
Google Search content.
Corresponds to the JSON property googleSearchCall
4513 4514 4515 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4513 def google_search_call @google_search_call end |
#id ⇒ String
Required. A unique ID for this specific tool call.
Corresponds to the JSON property id
4518 4519 4520 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4518 def id @id end |
#mcp_server_tool_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallContent
MCPServer tool call content.
Corresponds to the JSON property mcpServerToolCall
4523 4524 4525 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4523 def mcp_server_tool_call @mcp_server_tool_call end |
#signature ⇒ String
A signature hash for backend validation.
Corresponds to the JSON property signature
NOTE: Values are automatically base64 encoded/decoded in the client library.
4529 4530 4531 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4529 def signature @signature end |
#url_context_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallContent
URL context content.
Corresponds to the JSON property urlContextCall
4534 4535 4536 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4534 def url_context_call @url_context_call end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4541 def update!(**args) @code_execution_call = args[:code_execution_call] if args.key?(:code_execution_call) @file_search_call = args[:file_search_call] if args.key?(:file_search_call) @function_call = args[:function_call] if args.key?(:function_call) @google_maps_call = args[:google_maps_call] if args.key?(:google_maps_call) @google_search_call = args[:google_search_call] if args.key?(:google_search_call) @id = args[:id] if args.key?(:id) @mcp_server_tool_call = args[:mcp_server_tool_call] if args.key?(:mcp_server_tool_call) @signature = args[:signature] if args.key?(:signature) @url_context_call = args[:url_context_call] if args.key?(:url_context_call) end |