Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskEvent
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskEvent
- 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
-
#create_time ⇒ String
Output only.
-
#event_data ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskEventData
Data for a TaskEvent.
-
#event_sequence_number ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1TaskEvent
constructor
A new instance of GoogleCloudAiplatformV1beta1TaskEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1TaskEvent
Returns a new instance of GoogleCloudAiplatformV1beta1TaskEvent.
53369 53370 53371 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53369 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The create time of the event.
Corresponds to the JSON property createTime
53355 53356 53357 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53355 def create_time @create_time end |
#event_data ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TaskEventData
Data for a TaskEvent.
Corresponds to the JSON property eventData
53360 53361 53362 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53360 def event_data @event_data end |
#event_sequence_number ⇒ Fixnum
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
53367 53368 53369 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53367 def event_sequence_number @event_sequence_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
53374 53375 53376 53377 53378 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 53374 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 |