# Class Pipeline (0.12.1)

0.12.1 (latest) 0.12.0 0.11.0 0.10.0 0.9.18 0.8.0 0.7.2 0.6.2 0.5.2 0.4.1 0.3.0 0.2.3 0.1.0

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

Specifies a series of actions to execute, expressed as Docker
containers.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `actions` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/lifesciences/latest/google.cloud.lifesciences_v2beta.types.Action]` The list of actions to execute, in the order they are specified. |
| `resources` | `https://docs.cloud.google.com/python/docs/reference/lifesciences/latest/google.cloud.lifesciences_v2beta.types.Resources` The resources required for execution. |
| `environment` | `MutableMapping[str, str]` The environment to pass into every action. Each action can also specify additional environment variables but cannot delete an entry from this map (though they can overwrite it with a different value). |
| `encrypted_environment` | `https://docs.cloud.google.com/python/docs/reference/lifesciences/latest/google.cloud.lifesciences_v2beta.types.Secret` The encrypted environment to pass into every action. Each action can also specify its own encrypted environment. The secret must decrypt to a JSON-encoded dictionary where key-value pairs serve as environment variable names and their values. The decoded environment variables can overwrite the values specified by the `environment` field. |
| `timeout` | `google.protobuf.duration_pb2.Duration` The maximum amount of time to give the pipeline to complete. This includes the time spent waiting for a worker to be allocated. If the pipeline fails to complete before the timeout, it will be cancelled and the error code will be set to DEADLINE_EXCEEDED. If unspecified, it will default to 7 days. |

## Classes

### EnvironmentEntry

    EnvironmentEntry(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. |