Class: Google::Apis::GenomicsV1alpha2::TimestampEvent
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1alpha2::TimestampEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/genomics_v1alpha2/classes.rb,
lib/google/apis/genomics_v1alpha2/representations.rb,
lib/google/apis/genomics_v1alpha2/representations.rb
Overview
Stores the list of events and times they occured for major events in job execution.
Instance Attribute Summary collapse
-
#description ⇒ String
String indicating the type of event Corresponds to the JSON property
description
. -
#timestamp ⇒ String
The time this event occured.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TimestampEvent
constructor
A new instance of TimestampEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TimestampEvent
Returns a new instance of TimestampEvent.
1280 1281 1282 |
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 1280 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
String indicating the type of event
Corresponds to the JSON property description
1273 1274 1275 |
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 1273 def description @description end |
#timestamp ⇒ String
The time this event occured.
Corresponds to the JSON property timestamp
1278 1279 1280 |
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 1278 def @timestamp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1285 1286 1287 1288 |
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 1285 def update!(**args) @description = args[:description] if args.key?(:description) @timestamp = args[:timestamp] if args.key?(:timestamp) end |