Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallStep
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallStep
- 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 step.
Instance Attribute Summary collapse
-
#code_execution_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallStep
Code execution call step.
-
#file_search_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchCallStep
File Search call step.
-
#function_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionCallStep
A function tool call step.
-
#google_maps_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallStep
Google Maps call step.
-
#google_search_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallStep
Google Search call step.
-
#id ⇒ String
Required.
-
#mcp_server_tool_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallStep
MCPServer tool call step.
-
#retrieval_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1RetrievalCallStep
Retrieval call step.
-
#signature ⇒ String
A signature hash for backend validation.
-
#url_context_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallStep
URL context call step.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1ToolCallStep
constructor
A new instance of GenaiVertexV1beta1ToolCallStep.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1ToolCallStep
Returns a new instance of GenaiVertexV1beta1ToolCallStep.
5845 5846 5847 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5845 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code_execution_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallStep
Code execution call step.
Corresponds to the JSON property codeExecutionCall
5796 5797 5798 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5796 def code_execution_call @code_execution_call end |
#file_search_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchCallStep
File Search call step.
Corresponds to the JSON property fileSearchCall
5801 5802 5803 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5801 def file_search_call @file_search_call end |
#function_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionCallStep
A function tool call step.
Corresponds to the JSON property functionCall
5806 5807 5808 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5806 def function_call @function_call end |
#google_maps_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallStep
Google Maps call step.
Corresponds to the JSON property googleMapsCall
5811 5812 5813 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5811 def google_maps_call @google_maps_call end |
#google_search_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallStep
Google Search call step.
Corresponds to the JSON property googleSearchCall
5816 5817 5818 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5816 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
5821 5822 5823 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5821 def id @id end |
#mcp_server_tool_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallStep
MCPServer tool call step.
Corresponds to the JSON property mcpServerToolCall
5826 5827 5828 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5826 def mcp_server_tool_call @mcp_server_tool_call end |
#retrieval_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1RetrievalCallStep
Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa
AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
Corresponds to the JSON property retrievalCall
5832 5833 5834 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5832 def retrieval_call @retrieval_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.
5838 5839 5840 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5838 def signature @signature end |
#url_context_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallStep
URL context call step.
Corresponds to the JSON property urlContextCall
5843 5844 5845 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5843 def url_context_call @url_context_call end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5850 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) @retrieval_call = args[:retrieval_call] if args.key?(:retrieval_call) @signature = args[:signature] if args.key?(:signature) @url_context_call = args[:url_context_call] if args.key?(:url_context_call) end |