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.



60035
60036
60037
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60035

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)


60021
60022
60023
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60021

def create_time
  @create_time
end

#event_dataGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskEventData

Data for a TaskEvent. Corresponds to the JSON property eventData



60026
60027
60028
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60026

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)


60033
60034
60035
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60033

def event_sequence_number
  @event_sequence_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



60040
60041
60042
60043
60044
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 60040

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