Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextDelta
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextDelta
- 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
-
#text ⇒ String
Corresponds to the JSON property
text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1TextDelta
constructor
A new instance of GenaiVertexV1beta1TextDelta.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#text ⇒ String
Corresponds to the JSON property text
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 |