Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMapContents
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMapContents
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Repeated Content type.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1ContentMapContents
constructor
A new instance of GoogleCloudAiplatformV1ContentMapContents.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1ContentMapContents
Returns a new instance of GoogleCloudAiplatformV1ContentMapContents.
3630 3631 3632 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3630 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contents ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>
Optional. Repeated contents.
Corresponds to the JSON property contents
3628 3629 3630 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3628 def contents @contents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3635 3636 3637 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3635 def update!(**args) @contents = args[:contents] if args.key?(:contents) end |