Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskEventData

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

Data for a TaskEvent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1TaskEventData

Returns a new instance of GoogleCloudAiplatformV1beta1TaskEventData.



53407
53408
53409
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53407

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#metadata_changeGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskMetadataChange

An event representing a change to the task's top-level metadata. example: metadata_change: new_metadata: "name": "My task", update_mask: paths: " name" Corresponds to the JSON property metadataChange



53390
53391
53392
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53390

def 
  @metadata_change
end

#output_changeGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskOutputChange

An event representing a change to the task's outputs. Corresponds to the JSON property outputChange



53395
53396
53397
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53395

def output_change
  @output_change
end

#state_changeGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskStateChange

A message representing a change in a task's state. Corresponds to the JSON property stateChange



53400
53401
53402
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53400

def state_change
  @state_change
end

#status_details_changeGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskStatusDetailsChange

Represents a change to the task's status details. Corresponds to the JSON property statusDetailsChange



53405
53406
53407
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53405

def status_details_change
  @status_details_change
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



53412
53413
53414
53415
53416
53417
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53412

def update!(**args)
  @metadata_change = args[:metadata_change] if args.key?(:metadata_change)
  @output_change = args[:output_change] if args.key?(:output_change)
  @state_change = args[:state_change] if args.key?(:state_change)
  @status_details_change = args[:status_details_change] if args.key?(:status_details_change)
end