Reference documentation and code samples for the Google Cloud Batch V1 Client class Barrier.
A barrier runnable automatically blocks the execution of subsequent runnables until all the tasks in the task group reach the barrier.
Generated from protobuf message google.cloud.batch.v1.Runnable.Barrier
Namespace
Google \ Cloud \ Batch \ V1 \ RunnableMethods
__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 |
|