Google Cloud Life Sciences V2beta Client - Class Event (0.5.4)

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

Carries information about events that occur during pipeline execution.

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

Namespace

Google \ Cloud \ LifeSciences \ V2beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ timestamp Google\Protobuf\Timestamp

The time at which the event occurred.

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

↳ delayed Google\Cloud\LifeSciences\V2beta\DelayedEvent

See google.cloud.lifesciences.v2beta.DelayedEvent.

↳ worker_assigned Google\Cloud\LifeSciences\V2beta\WorkerAssignedEvent

See google.cloud.lifesciences.v2beta.WorkerAssignedEvent.

↳ worker_released Google\Cloud\LifeSciences\V2beta\WorkerReleasedEvent

See google.cloud.lifesciences.v2beta.WorkerReleasedEvent.

↳ pull_started Google\Cloud\LifeSciences\V2beta\PullStartedEvent

See google.cloud.lifesciences.v2beta.PullStartedEvent.

↳ pull_stopped Google\Cloud\LifeSciences\V2beta\PullStoppedEvent

See google.cloud.lifesciences.v2beta.PullStoppedEvent.

↳ container_started Google\Cloud\LifeSciences\V2beta\ContainerStartedEvent

See google.cloud.lifesciences.v2beta.ContainerStartedEvent.

↳ container_stopped Google\Cloud\LifeSciences\V2beta\ContainerStoppedEvent

See google.cloud.lifesciences.v2beta.ContainerStoppedEvent.

↳ container_killed Google\Cloud\LifeSciences\V2beta\ContainerKilledEvent

See google.cloud.lifesciences.v2beta.ContainerKilledEvent.

↳ unexpected_exit_status Google\Cloud\LifeSciences\V2beta\UnexpectedExitStatusEvent

See google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent.

↳ failed Google\Cloud\LifeSciences\V2beta\FailedEvent

See google.cloud.lifesciences.v2beta.FailedEvent.

getTimestamp

The time at which the event occurred.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasTimestamp

clearTimestamp

setTimestamp

The time at which the event occurred.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getDescription

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.

Returns
TypeDescription
string

setDescription

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDelayed

Returns
TypeDescription
Google\Cloud\LifeSciences\V2beta\DelayedEvent|null

hasDelayed

setDelayed

Parameter
NameDescription
var Google\Cloud\LifeSciences\V2beta\DelayedEvent
Returns
TypeDescription
$this

getWorkerAssigned

Returns
TypeDescription
Google\Cloud\LifeSciences\V2beta\WorkerAssignedEvent|null

hasWorkerAssigned

setWorkerAssigned

Parameter
NameDescription
var Google\Cloud\LifeSciences\V2beta\WorkerAssignedEvent
Returns
TypeDescription
$this

getWorkerReleased

Returns
TypeDescription
Google\Cloud\LifeSciences\V2beta\WorkerReleasedEvent|null

hasWorkerReleased

setWorkerReleased

Parameter
NameDescription
var Google\Cloud\LifeSciences\V2beta\WorkerReleasedEvent
Returns
TypeDescription
$this

getPullStarted

Returns
TypeDescription
Google\Cloud\LifeSciences\V2beta\PullStartedEvent|null

hasPullStarted

setPullStarted

Parameter
NameDescription
var Google\Cloud\LifeSciences\V2beta\PullStartedEvent
Returns
TypeDescription
$this

getPullStopped

Returns
TypeDescription
Google\Cloud\LifeSciences\V2beta\PullStoppedEvent|null

hasPullStopped

setPullStopped

Parameter
NameDescription
var Google\Cloud\LifeSciences\V2beta\PullStoppedEvent
Returns
TypeDescription
$this

getContainerStarted

Returns
TypeDescription
Google\Cloud\LifeSciences\V2beta\ContainerStartedEvent|null

hasContainerStarted

setContainerStarted

Parameter
NameDescription
var Google\Cloud\LifeSciences\V2beta\ContainerStartedEvent
Returns
TypeDescription
$this

getContainerStopped

Returns
TypeDescription
Google\Cloud\LifeSciences\V2beta\ContainerStoppedEvent|null

hasContainerStopped

setContainerStopped

Parameter
NameDescription
var Google\Cloud\LifeSciences\V2beta\ContainerStoppedEvent
Returns
TypeDescription
$this

getContainerKilled

Returns
TypeDescription
Google\Cloud\LifeSciences\V2beta\ContainerKilledEvent|null

hasContainerKilled

setContainerKilled

Parameter
NameDescription
var Google\Cloud\LifeSciences\V2beta\ContainerKilledEvent
Returns
TypeDescription
$this

getUnexpectedExitStatus

Returns
TypeDescription
Google\Cloud\LifeSciences\V2beta\UnexpectedExitStatusEvent|null

hasUnexpectedExitStatus

setUnexpectedExitStatus

Parameter
NameDescription
var Google\Cloud\LifeSciences\V2beta\UnexpectedExitStatusEvent
Returns
TypeDescription
$this

getFailed

Returns
TypeDescription
Google\Cloud\LifeSciences\V2beta\FailedEvent|null

hasFailed

setFailed

Parameter
NameDescription
var Google\Cloud\LifeSciences\V2beta\FailedEvent
Returns
TypeDescription
$this

getDetails

Returns
TypeDescription
string