Reference documentation and code samples for the Google Cloud Batch V1 Client class Environment.
An Environment describes a collection of environment variables to set when executing Tasks.
Generated from protobuf message google.cloud.batch.v1.Environment
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ variables |
array|Google\Protobuf\Internal\MapField
A map of environment variable names to values. |
getVariables
A map of environment variable names to values.
Generated from protobuf field map<string, string> variables = 1;
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setVariables
A map of environment variable names to values.
Generated from protobuf field map<string, string> variables = 1;
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|