0.22.5 (latest) 0.22.4 0.21.0 0.20.0 0.19.0 0.18.0 0.17.37 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.2 0.2.0 0.1.2

    Environment(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An Environment describes a collection of environment
variables to set when executing Tasks.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `variables` | `MutableMapping[str, str]` A map of environment variable names to values. |
| `secret_variables` | `MutableMapping[str, str]` A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable. |
| `encrypted_variables` | `https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1.types.Environment.KMSEnvMap` An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values. |

## Classes

### KMSEnvMap

    KMSEnvMap(mapping=None, *, ignore_unknown_fields=False, **kwargs)

### SecretVariablesEntry

    SecretVariablesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### VariablesEntry

    VariablesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |