Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallDelta

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1ToolCallDelta

Returns a new instance of GenaiVertexV1beta1ToolCallDelta.



5247
5248
5249
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5247

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#code_execution_callGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallDelta

Corresponds to the JSON property codeExecutionCall



5204
5205
5206
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5204

def code_execution_call
  @code_execution_call
end

#file_search_callGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchCallDelta

Corresponds to the JSON property fileSearchCall



5209
5210
5211
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5209

def file_search_call
  @file_search_call
end

#function_callGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionCallDelta

Corresponds to the JSON property functionCall



5214
5215
5216
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5214

def function_call
  @function_call
end

#google_maps_callGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallDelta

Corresponds to the JSON property googleMapsCall



5219
5220
5221
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5219

def google_maps_call
  @google_maps_call
end

#google_search_callGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallDelta

Corresponds to the JSON property googleSearchCall



5224
5225
5226
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5224

def google_search_call
  @google_search_call
end

#idString

Required. A unique ID for this specific tool call. Corresponds to the JSON property id

Returns:

  • (String)


5229
5230
5231
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5229

def id
  @id
end

#mcp_server_tool_callGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallDelta

Corresponds to the JSON property mcpServerToolCall



5234
5235
5236
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5234

def mcp_server_tool_call
  @mcp_server_tool_call
end

#signatureString

A signature hash for backend validation. Corresponds to the JSON property signature NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


5240
5241
5242
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5240

def signature
  @signature
end

#url_context_callGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallDelta

Corresponds to the JSON property urlContextCall



5245
5246
5247
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5245

def url_context_call
  @url_context_call
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5252

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