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.
5492 5493 5494 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5492 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
5449 5450 5451 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5449 def code_execution_call @code_execution_call end |
#file_search_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchCallContent
File Search content.
Corresponds to the JSON property fileSearchCall
5454 5455 5456 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5454 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
5459 5460 5461 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5459 def function_call @function_call end |
#google_maps_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallContent
Google Maps content.
Corresponds to the JSON property googleMapsCall
5464 5465 5466 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5464 def google_maps_call @google_maps_call end |
#google_search_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContent
Google Search content.
Corresponds to the JSON property googleSearchCall
5469 5470 5471 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5469 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
5474 5475 5476 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5474 def id @id end |
#mcp_server_tool_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallContent
MCPServer tool call content.
Corresponds to the JSON property mcpServerToolCall
5479 5480 5481 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5479 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.
5485 5486 5487 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5485 def signature @signature end |
#url_context_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallContent
URL context content.
Corresponds to the JSON property urlContextCall
5490 5491 5492 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5490 def url_context_call @url_context_call end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5497 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 |