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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#descriptionString

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

Returns:

  • (String)


1273
1274
1275
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 1273

def description
  @description
end

#timestampString

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

Returns:

  • (String)


1278
1279
1280
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 1278

def timestamp
  @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