Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultStep
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultStep
- 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 result step.
Instance Attribute Summary collapse
-
#call_id ⇒ String
Required.
-
#code_execution_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionResultStep
Code execution result step.
-
#file_search_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchResultStep
File Search result step.
-
#function_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultStep
Result of a function tool call.
-
#google_maps_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultStep
Google Maps result step.
-
#google_search_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultStep
Google Search result step.
-
#mcp_server_tool_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolResultStep
MCPServer tool result step.
-
#retrieval_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1RetrievalResultStep
Vertex Retrieval result step.
-
#signature ⇒ String
A signature hash for backend validation.
-
#url_context_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultStep
URL context result step.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1ToolResultStep
constructor
A new instance of GenaiVertexV1beta1ToolResultStep.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1ToolResultStep
Returns a new instance of GenaiVertexV1beta1ToolResultStep.
6075 6076 6077 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6075 def initialize(**args) update!(**args) end |
Instance Attribute Details
#call_id ⇒ String
Required. ID to match the ID from the function call block.
Corresponds to the JSON property callId
6026 6027 6028 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6026 def call_id @call_id end |
#code_execution_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionResultStep
Code execution result step.
Corresponds to the JSON property codeExecutionResult
6031 6032 6033 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6031 def code_execution_result @code_execution_result end |
#file_search_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchResultStep
File Search result step.
Corresponds to the JSON property fileSearchResult
6036 6037 6038 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6036 def file_search_result @file_search_result end |
#function_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultStep
Result of a function tool call.
Corresponds to the JSON property functionResult
6041 6042 6043 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6041 def function_result @function_result end |
#google_maps_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultStep
Google Maps result step.
Corresponds to the JSON property googleMapsResult
6046 6047 6048 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6046 def google_maps_result @google_maps_result end |
#google_search_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultStep
Google Search result step.
Corresponds to the JSON property googleSearchResult
6051 6052 6053 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6051 def google_search_result @google_search_result end |
#mcp_server_tool_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolResultStep
MCPServer tool result step.
Corresponds to the JSON property mcpServerToolResult
6056 6057 6058 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6056 def mcp_server_tool_result @mcp_server_tool_result end |
#retrieval_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1RetrievalResultStep
Vertex Retrieval result step. Used by Vertex Retrieval tools such as Parallel
AI, Exa AI, Vertex AI Search, etc.
Corresponds to the JSON property retrievalResult
6062 6063 6064 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6062 def retrieval_result @retrieval_result 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.
6068 6069 6070 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6068 def signature @signature end |
#url_context_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultStep
URL context result step.
Corresponds to the JSON property urlContextResult
6073 6074 6075 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6073 def url_context_result @url_context_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6080 def update!(**args) @call_id = args[:call_id] if args.key?(:call_id) @code_execution_result = args[:code_execution_result] if args.key?(:code_execution_result) @file_search_result = args[:file_search_result] if args.key?(:file_search_result) @function_result = args[:function_result] if args.key?(:function_result) @google_maps_result = args[:google_maps_result] if args.key?(:google_maps_result) @google_search_result = args[:google_search_result] if args.key?(:google_search_result) @mcp_server_tool_result = args[:mcp_server_tool_result] if args.key?(:mcp_server_tool_result) @retrieval_result = args[:retrieval_result] if args.key?(:retrieval_result) @signature = args[:signature] if args.key?(:signature) @url_context_result = args[:url_context_result] if args.key?(:url_context_result) end |