Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentStart
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentStart
- 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
-
#content ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Content
The content of the response.
-
#index ⇒ Fixnum
Corresponds to the JSON property
index.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1ContentStart
constructor
A new instance of GenaiVertexV1beta1ContentStart.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1ContentStart
Returns a new instance of GenaiVertexV1beta1ContentStart.
2017 2018 2019 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2017 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Content
The content of the response.
Corresponds to the JSON property content
2010 2011 2012 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2010 def content @content end |
#index ⇒ Fixnum
Corresponds to the JSON property index
2015 2016 2017 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2015 def index @index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2022 2023 2024 2025 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2022 def update!(**args) @content = args[:content] if args.key?(:content) @index = args[:index] if args.key?(:index) end |