Google Cloud Batch V1 Client - Class Environment (0.2.2)

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\MapField

setVariables

A map of environment variable names to values.

Generated from protobuf field map<string, string> variables = 1;

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this