Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1A2aTaskMetadataChange

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

Instance Method Summary collapse

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

#metadataHash<String,Object>

Required. The complete task metadata after the change. Corresponds to the JSON property metadata

Returns:

  • (Hash<String,Object>)


7206
7207
7208
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7206

def 
  @metadata
end

#update_maskString

Optional. A field mask indicating which metadata paths changed. If unset, all fields are updated. Corresponds to the JSON property updateMask

Returns:

  • (String)


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