Google Cloud Batch V1 Client - Class Barrier (0.17.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
Name Description
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
Type Description
string

setName

Barriers are identified by their index in runnable list.

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

Parameter
Name Description
var string
Returns
Type Description
$this