Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSummaryContent

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

Returns a new instance of GenaiVertexV1beta1ThoughtSummaryContent.



5032
5033
5034
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5032

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

Instance Attribute Details

#imageGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageContent

An image content block. Corresponds to the JSON property image



5025
5026
5027
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5025

def image
  @image
end

#textGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextContent

A text content block. Corresponds to the JSON property text



5030
5031
5032
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5030

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5037
5038
5039
5040
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5037

def update!(**args)
  @image = args[:image] if args.key?(:image)
  @text = args[:text] if args.key?(:text)
end