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



1417
1418
1419
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1417

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


1410
1411
1412
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1410

def description
  @description
end

#timestampString

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

Returns:

  • (String)


1415
1416
1417
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1415

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1422
1423
1424
1425
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1422

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