Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextDelta

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

Returns a new instance of GenaiVertexV1beta1TextDelta.



4267
4268
4269
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4267

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

Instance Attribute Details

#textString

Corresponds to the JSON property text

Returns:

  • (String)


4265
4266
4267
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4265

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4272
4273
4274
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4272

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