Google Cloud Dataflow V1beta3 Client - Class Package (0.5.1)

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
NameDescription
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/

getName

The name of the package.

Returns
TypeDescription
string

setName

The name of the package.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this