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

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

Namespace

Google \ Cloud \ LifeSciences \ V2beta

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this