Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1A2aTaskMetadataChange
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1A2aTaskMetadataChange
- 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
An event payload describing a change to the task-level metadata.
Instance Attribute Summary collapse
-
#metadata ⇒ Hash<String,Object>
Required.
-
#update_mask ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1A2aTaskMetadataChange
constructor
A new instance of GoogleCloudAiplatformV1beta1A2aTaskMetadataChange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1A2aTaskMetadataChange
Returns a new instance of GoogleCloudAiplatformV1beta1A2aTaskMetadataChange.
7214 7215 7216 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7214 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Hash<String,Object>
Required. The complete task metadata after the change.
Corresponds to the JSON property metadata
7206 7207 7208 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7206 def @metadata end |
#update_mask ⇒ String
Optional. A field mask indicating which metadata paths changed. If unset, all
fields are updated.
Corresponds to the JSON property updateMask
7212 7213 7214 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7212 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7219 7220 7221 7222 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7219 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @update_mask = args[:update_mask] if args.key?(:update_mask) end |