Class: Google::Apis::GenomicsV2alpha1::DelayedEvent
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV2alpha1::DelayedEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/genomics_v2alpha1/classes.rb,
lib/google/apis/genomics_v2alpha1/representations.rb,
lib/google/apis/genomics_v2alpha1/representations.rb
Overview
An event generated whenever a resource limitation or transient error delays execution of a pipeline that was otherwise ready to run.
Instance Attribute Summary collapse
-
#cause ⇒ String
A textual description of the cause of the delay.
-
#metrics ⇒ Array<String>
If the delay was caused by a resource shortage, this field lists the Compute Engine metrics that are preventing this operation from running (for example,
CPUS
orINSTANCES
).
Instance Method Summary collapse
-
#initialize(**args) ⇒ DelayedEvent
constructor
A new instance of DelayedEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DelayedEvent
Returns a new instance of DelayedEvent.
411 412 413 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 411 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cause ⇒ String
A textual description of the cause of the delay. The string can change without
notice because it is often generated by another service (such as Compute
Engine).
Corresponds to the JSON property cause
401 402 403 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 401 def cause @cause end |
#metrics ⇒ Array<String>
If the delay was caused by a resource shortage, this field lists the Compute
Engine metrics that are preventing this operation from running (for example,
CPUS
or INSTANCES
). If the particular metric is not known, a single
UNKNOWN
metric will be present.
Corresponds to the JSON property metrics
409 410 411 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 409 def metrics @metrics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
416 417 418 419 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 416 def update!(**args) @cause = args[:cause] if args.key?(:cause) @metrics = args[:metrics] if args.key?(:metrics) end |