Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ContentMap
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ContentMap
- 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
Overview
Map of placeholder in metric prompt template to contents of model input.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ContentMap
constructor
A new instance of GoogleCloudAiplatformV1beta1ContentMap.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ContentMap
Returns a new instance of GoogleCloudAiplatformV1beta1ContentMap.
5258 5259 5260 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5258 def initialize(**args) update!(**args) end |
Instance Attribute Details
#values ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ContentMapContents>
Optional. Map of placeholder to contents.
Corresponds to the JSON property values
5256 5257 5258 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5256 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5263 5264 5265 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5263 def update!(**args) @values = args[:values] if args.key?(:values) end |