Class: Google::Apis::GenomicsV1::Event
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::Event
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/genomics_v1/classes.rb,
lib/google/apis/genomics_v1/representations.rb,
lib/google/apis/genomics_v1/representations.rb
Overview
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 at which the event occurred.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Event
constructor
A new instance of Event.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Event
Returns a new instance of Event.
385 386 387 |
# File 'lib/google/apis/genomics_v1/classes.rb', line 385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
A human-readable description of the event. Note that these strings can change
at any time without notice. Any application logic must use the information in
the details field.
Corresponds to the JSON property description
373 374 375 |
# File 'lib/google/apis/genomics_v1/classes.rb', line 373 def description @description end |
#details ⇒ Hash<String,Object>
Machine-readable details about the event.
Corresponds to the JSON property details
378 379 380 |
# File 'lib/google/apis/genomics_v1/classes.rb', line 378 def details @details end |
#timestamp ⇒ String
The time at which the event occurred.
Corresponds to the JSON property timestamp
383 384 385 |
# File 'lib/google/apis/genomics_v1/classes.rb', line 383 def @timestamp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
390 391 392 393 394 |
# File 'lib/google/apis/genomics_v1/classes.rb', line 390 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 |