Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolResultDelta

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) ⇒ GenaiVertexV1beta1McpServerToolResultDelta

Returns a new instance of GenaiVertexV1beta1McpServerToolResultDelta.



3681
3682
3683
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3681

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

Instance Attribute Details

#content_listGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultSubcontentList

Corresponds to the JSON property contentList



3658
3659
3660
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3658

def content_list
  @content_list
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3663
3664
3665
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3663

def name
  @name
end

#server_nameString

Corresponds to the JSON property server_name

Returns:

  • (String)


3668
3669
3670
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3668

def server_name
  @server_name
end

#string_resultString

Corresponds to the JSON property stringResult

Returns:

  • (String)


3673
3674
3675
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3673

def string_result
  @string_result
end

#struct_resultGoogle::Apis::AiplatformV1beta1::GenaiStruct

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



3679
3680
3681
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3679

def struct_result
  @struct_result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3686
3687
3688
3689
3690
3691
3692
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3686

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