Google Cloud Life Sciences V2beta Client - Class DelayedEvent (0.4.0)

Reference documentation and code samples for the Google Cloud Life Sciences V2beta Client class DelayedEvent.

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

Generated from protobuf message google.cloud.lifesciences.v2beta.DelayedEvent

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ 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).

↳ metrics array

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.

getCause

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).

Returns
TypeDescription
string

setCause

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).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMetrics

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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMetrics

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.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this