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



1452
1453
1454
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1452

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


1445
1446
1447
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1445

def description
  @description
end

#timestampString

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

Returns:

  • (String)


1450
1451
1452
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1450

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1457
1458
1459
1460
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1457

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