class Google::Apis::GenomicsV1::DelayedEvent

An event generated whenever a resource limitation or transient error delays execution of a pipeline that was otherwise ready to run.

Attributes

cause[RW]

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` @return [String]

metrics[RW]

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` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/genomics_v1/classes.rb, line 307
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/genomics_v1/classes.rb, line 312
def update!(**args)
  @cause = args[:cause] if args.key?(:cause)
  @metrics = args[:metrics] if args.key?(:metrics)
end