Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskEvent

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 that occurred for a task. Note that TaskEvent is just a record of task's change. Hence, it's not a Cloud resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1TaskEvent

Returns a new instance of GoogleCloudAiplatformV1beta1TaskEvent.



63564
63565
63566
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 63564

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

Instance Attribute Details

#create_timeString

Output only. The create time of the event. Corresponds to the JSON property createTime

Returns:

  • (String)


63550
63551
63552
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 63550

def create_time
  @create_time
end

#event_dataGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskEventData

Data for a TaskEvent. Corresponds to the JSON property eventData



63555
63556
63557
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 63555

def event_data
  @event_data
end

#event_sequence_numberFixnum

Required. The sequence number of the event. This is used to uniquely identify the event within the task and order events chronologically. This is a id generated by the SDK. Corresponds to the JSON property eventSequenceNumber

Returns:

  • (Fixnum)


63562
63563
63564
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 63562

def event_sequence_number
  @event_sequence_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



63569
63570
63571
63572
63573
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 63569

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @event_data = args[:event_data] if args.key?(:event_data)
  @event_sequence_number = args[:event_sequence_number] if args.key?(:event_sequence_number)
end