0.11.3 (latest) 0.10.0 0.9.3 0.8.2 0.7.1 0.6.6 0.5.1 0.4.1 0.3.10

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class Package.

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.

Generated from protobuf message `google.dataflow.v1beta3.Package`

## Namespace

Google \\ Cloud \\ Dataflow \\ V1beta3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` The name of the package. |
| `↳ location` | `string` The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/ |
| `↳ sha256` | `string` 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. |

### getName

The name of the package.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

The name of the package.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLocation

The resource to read the package from. The supported resource type is:
Google Cloud Storage:
storage.googleapis.com/{bucket}
bucket.storage.googleapis.com/

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setLocation

The resource to read the package from. The supported resource type is:
Google Cloud Storage:
storage.googleapis.com/{bucket}
bucket.storage.googleapis.com/

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSha256

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSha256

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |