Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallStep

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

Overview

MCPServer tool call step.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1McpServerToolCallStep

Returns a new instance of GenaiVertexV1beta1McpServerToolCallStep.



3857
3858
3859
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3857

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

Instance Attribute Details

#argumentsGoogle::Apis::AiplatformV1beta1::GenaiStruct

Struct represents a structured data value, consisting of fields which map to dynamically typed values. Corresponds to the JSON property arguments



3845
3846
3847
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3845

def arguments
  @arguments
end

#nameString

Required. The name of the tool which was called. Corresponds to the JSON property name

Returns:

  • (String)


3850
3851
3852
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3850

def name
  @name
end

#server_nameString

Required. The name of the used MCP server. Corresponds to the JSON property server_name

Returns:

  • (String)


3855
3856
3857
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3855

def server_name
  @server_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3862
3863
3864
3865
3866
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3862

def update!(**args)
  @arguments = args[:arguments] if args.key?(:arguments)
  @name = args[:name] if args.key?(:name)
  @server_name = args[:server_name] if args.key?(:server_name)
end