Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallDelta
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallDelta
- 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
-
#code_execution_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallDelta
Corresponds to the JSON property
codeExecutionCall. -
#file_search_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchCallDelta
Corresponds to the JSON property
fileSearchCall. -
#function_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionCallDelta
Corresponds to the JSON property
functionCall. -
#google_maps_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallDelta
Corresponds to the JSON property
googleMapsCall. -
#google_search_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallDelta
Corresponds to the JSON property
googleSearchCall. -
#id ⇒ String
Required.
-
#mcp_server_tool_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallDelta
Corresponds to the JSON property
mcpServerToolCall. -
#signature ⇒ String
A signature hash for backend validation.
-
#url_context_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallDelta
Corresponds to the JSON property
urlContextCall.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1ToolCallDelta
constructor
A new instance of GenaiVertexV1beta1ToolCallDelta.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1ToolCallDelta
Returns a new instance of GenaiVertexV1beta1ToolCallDelta.
5422 5423 5424 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5422 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code_execution_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallDelta
Corresponds to the JSON property codeExecutionCall
5379 5380 5381 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5379 def code_execution_call @code_execution_call end |
#file_search_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchCallDelta
Corresponds to the JSON property fileSearchCall
5384 5385 5386 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5384 def file_search_call @file_search_call end |
#function_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionCallDelta
Corresponds to the JSON property functionCall
5389 5390 5391 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5389 def function_call @function_call end |
#google_maps_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallDelta
Corresponds to the JSON property googleMapsCall
5394 5395 5396 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5394 def google_maps_call @google_maps_call end |
#google_search_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallDelta
Corresponds to the JSON property googleSearchCall
5399 5400 5401 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5399 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
5404 5405 5406 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5404 def id @id end |
#mcp_server_tool_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallDelta
Corresponds to the JSON property mcpServerToolCall
5409 5410 5411 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5409 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.
5415 5416 5417 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5415 def signature @signature end |
#url_context_call ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallDelta
Corresponds to the JSON property urlContextCall
5420 5421 5422 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5420 def url_context_call @url_context_call end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5427 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 |