# Dataflow v1beta3 API - Class Package (2.0.0-beta10)

2.0.0-beta10 (latest) 2.0.0-beta09 1.0.0-beta03

    public sealed class Package : IMessage<Package>, IEquatable<Package>, IDeepCloneable<Package>, IBufferMessage, IMessage

Reference documentation and code samples for the Dataflow v1beta3 API 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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Package

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Package](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.Package), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Package](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.Package), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Package](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.Package), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataflow.V1Beta3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3)

## Assembly

Google.Cloud.Dataflow.V1Beta3.dll

## Constructors

### Package()

    public Package()

### Package(Package)

    public Package(Package other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.Package` |

## Properties

### Location

    public string Location { get; set; }

The resource to read the package from. The supported resource type is:

Google Cloud Storage:

storage.googleapis.com/{bucket}
bucket.storage.googleapis.com/

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Name

    public string Name { get; set; }

The name of the package.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Sha256

    public string Sha256 { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |