Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMapContents

Inherits:
Object
  • Object
show all
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

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ContentMapContents

Returns a new instance of GoogleCloudAiplatformV1ContentMapContents.



4262
4263
4264
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4262

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

Instance Attribute Details

#contentsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>

Optional. Repeated contents. Corresponds to the JSON property contents



4260
4261
4262
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4260

def contents
  @contents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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