Class: Google::Apis::GenomicsV1alpha2::TimestampEvent

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/genomics_v1alpha2/classes.rb,
generated/google/apis/genomics_v1alpha2/representations.rb,
generated/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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TimestampEvent

Returns a new instance of TimestampEvent.



1346
1347
1348
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1346

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

Instance Attribute Details

#descriptionString

String indicating the type of event Corresponds to the JSON property description

Returns:

  • (String)


1339
1340
1341
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1339

def description
  @description
end

#timestampString

The time this event occured. Corresponds to the JSON property timestamp

Returns:

  • (String)


1344
1345
1346
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1344

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1351
1352
1353
1354
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1351

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @timestamp = args[:timestamp] if args.key?(:timestamp)
end