Google Cloud Batch V1 Client - Class Barrier (0.15.0)

Reference documentation and code samples for the Google Cloud Batch V1 Client class Barrier.

Barrier runnable blocks until all tasks in a taskgroup reach it.

Generated from protobuf message google.cloud.batch.v1.Runnable.Barrier

Namespace

Google \ Cloud \ Batch \ V1 \ Runnable

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier.

getName

Barriers are identified by their index in runnable list.

Names are not required, but if present should be an identifier.

Returns
TypeDescription
string

setName

Barriers are identified by their index in runnable list.

Names are not required, but if present should be an identifier.

Parameter
NameDescription
var string
Returns
TypeDescription
$this