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.
10077 10078 10079 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10077 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
10075 10076 10077 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10075 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10082 10083 10084 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10082 def update!(**args) @values = args[:values] if args.key?(:values) end |