Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMap
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMap
- 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
Map of placeholder in metric prompt template to contents of model input.
Instance Attribute Summary collapse
-
#values ⇒ Hash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMapContents>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1ContentMap
constructor
A new instance of GoogleCloudAiplatformV1ContentMap.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1ContentMap
Returns a new instance of GoogleCloudAiplatformV1ContentMap.
3651 3652 3653 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3651 def initialize(**args) update!(**args) end |
Instance Attribute Details
#values ⇒ Hash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMapContents>
Optional. Map of placeholder to contents.
Corresponds to the JSON property values
3649 3650 3651 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3649 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3656 3657 3658 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 3656 def update!(**args) @values = args[:values] if args.key?(:values) end |