Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentDelta
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentDelta
- 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
-
#delta ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentDeltaData
The delta content data for a content block.
-
#index ⇒ Fixnum
Corresponds to the JSON property
index.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1ContentDelta
constructor
A new instance of GenaiVertexV1beta1ContentDelta.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1ContentDelta
Returns a new instance of GenaiVertexV1beta1ContentDelta.
1900 1901 1902 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1900 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delta ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentDeltaData
The delta content data for a content block.
Corresponds to the JSON property delta
1893 1894 1895 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1893 def delta @delta end |
#index ⇒ Fixnum
Corresponds to the JSON property index
1898 1899 1900 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1898 def index @index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1905 1906 1907 1908 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1905 def update!(**args) @delta = args[:delta] if args.key?(:delta) @index = args[:index] if args.key?(:index) end |