# Class Package (0.14.0)

0.14.0 (latest) 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.17 0.7.0 0.6.2 0.5.5 0.4.1 0.3.1 0.2.0 0.1.5

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

The packages that must be installed in order for a worker to
run the steps of the Cloud Dataflow job that will be assigned to
its worker pool.

This is the mechanism by which the Cloud Dataflow SDK causes
code to be loaded onto the workers. For example, the Cloud
Dataflow Java SDK might use this to install jars containing the
user's code and all of the various dependencies (libraries, data
files, etc.) required in order for that code to run.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` The name of the package. |
| `location` | `str` The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/ |
| `sha256` | `str` Optional. The hex-encoded SHA256 checksum of the package. If the checksum is provided, the worker will verify the checksum of the package before using it. If the checksum does not match, the worker will fail to start. |