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.



7423
7424
7425
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7423

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>)


7415
7416
7417
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7415

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)


7421
7422
7423
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7421

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7428
7429
7430
7431
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7428

def update!(**args)
  @metadata = args[:metadata] if args.key?(:metadata)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end