Class: Google::Apis::GenomicsV1alpha2::Event
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1alpha2::Event
- 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
Event carries information about events that occur during pipeline execution.
Instance Attribute Summary collapse
-
#description ⇒ String
A human readable description of the event.
-
#details ⇒ Hash<String,Object>
Machine readable details about the event.
-
#timestamp ⇒ String
The time that the event occurred.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Event
constructor
A new instance of Event.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Event
Returns a new instance of Event
376 377 378 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 376 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
A human readable description of the event. Note that these strings may
change at any time without notice. Any application logic must use the
information in the details field.
Corresponds to the JSON property description
364 365 366 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 364 def description @description end |
#details ⇒ Hash<String,Object>
Machine readable details about the event.
Corresponds to the JSON property details
369 370 371 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 369 def details @details end |
#timestamp ⇒ String
The time that the event occurred.
Corresponds to the JSON property timestamp
374 375 376 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 374 def @timestamp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
381 382 383 384 385 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 381 def update!(**args) @description = args[:description] if args.key?(:description) @details = args[:details] if args.key?(:details) @timestamp = args[:timestamp] if args.key?(:timestamp) end |