Dataflow V1beta3 API - Class Google::Cloud::Dataflow::V1beta3::Package (v0.16.0)

Reference documentation and code samples for the Dataflow V1beta3 API class Google::Cloud::Dataflow::V1beta3::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#location

def location() -> ::String
Returns
  • (::String) — The resource to read the package from. The supported resource type is:

    Google Cloud Storage:

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

#location=

def location=(value) -> ::String
Parameter
  • value (::String) — The resource to read the package from. The supported resource type is:

    Google Cloud Storage:

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

Returns
  • (::String) — The resource to read the package from. The supported resource type is:

    Google Cloud Storage:

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

#name

def name() -> ::String
Returns
  • (::String) — The name of the package.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name of the package.
Returns
  • (::String) — The name of the package.

#sha256

def sha256() -> ::String
Returns
  • (::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.

#sha256=

def sha256=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.