Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultDelta
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultDelta
- 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
Instance Attribute Summary collapse
-
#call_id ⇒ String
Required.
-
#code_execution_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionResultDelta
Corresponds to the JSON property
codeExecutionResult. -
#file_search_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchResultDelta
Corresponds to the JSON property
fileSearchResult. -
#function_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultDelta
Corresponds to the JSON property
functionResult. -
#google_maps_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultDelta
Corresponds to the JSON property
googleMapsResult. -
#google_search_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultDelta
Corresponds to the JSON property
googleSearchResult. -
#mcp_server_tool_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolResultDelta
Corresponds to the JSON property
mcpServerToolResult. -
#signature ⇒ String
A signature hash for backend validation.
-
#url_context_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultDelta
Corresponds to the JSON property
urlContextResult.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1ToolResultDelta
constructor
A new instance of GenaiVertexV1beta1ToolResultDelta.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1ToolResultDelta
Returns a new instance of GenaiVertexV1beta1ToolResultDelta.
4827 4828 4829 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4827 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 call_id
4784 4785 4786 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4784 def call_id @call_id end |
#code_execution_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionResultDelta
Corresponds to the JSON property codeExecutionResult
4789 4790 4791 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4789 def code_execution_result @code_execution_result end |
#file_search_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchResultDelta
Corresponds to the JSON property fileSearchResult
4794 4795 4796 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4794 def file_search_result @file_search_result end |
#function_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultDelta
Corresponds to the JSON property functionResult
4799 4800 4801 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4799 def function_result @function_result end |
#google_maps_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultDelta
Corresponds to the JSON property googleMapsResult
4804 4805 4806 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4804 def google_maps_result @google_maps_result end |
#google_search_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultDelta
Corresponds to the JSON property googleSearchResult
4809 4810 4811 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4809 def google_search_result @google_search_result end |
#mcp_server_tool_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolResultDelta
Corresponds to the JSON property mcpServerToolResult
4814 4815 4816 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4814 def mcp_server_tool_result @mcp_server_tool_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.
4820 4821 4822 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4820 def signature @signature end |
#url_context_result ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultDelta
Corresponds to the JSON property urlContextResult
4825 4826 4827 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4825 def url_context_result @url_context_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4832 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) @signature = args[:signature] if args.key?(:signature) @url_context_result = args[:url_context_result] if args.key?(:url_context_result) end |