Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class WorkerSettings.
Provides data to pass through to the worker harness.
Generated from protobuf message google.dataflow.v1beta3.WorkerSettings
Namespace
Google \ Cloud \ Dataflow \ V1beta3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ base_url
string
The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is " http://www.googleapis.com/ "
↳ reporting_enabled
bool
Whether to send work progress updates to the service.
↳ service_path
string
The Cloud Dataflow service path relative to the root URL, for example, "dataflow/v1b3/projects".
↳ shuffle_service_path
string
The Shuffle service path relative to the root URL, for example, "shuffle/v1beta1".
↳ worker_id
string
The ID of the worker running this pipeline.
↳ temp_storage_prefix
string
The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
getBaseUrl
The base URL for accessing Google Cloud APIs.
When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is " http://www.googleapis.com/ "
string
setBaseUrl
The base URL for accessing Google Cloud APIs.
When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is " http://www.googleapis.com/ "
var
string
$this
getReportingEnabled
Whether to send work progress updates to the service.
bool
setReportingEnabled
Whether to send work progress updates to the service.
var
bool
$this
getServicePath
The Cloud Dataflow service path relative to the root URL, for example, "dataflow/v1b3/projects".
string
setServicePath
The Cloud Dataflow service path relative to the root URL, for example, "dataflow/v1b3/projects".
var
string
$this
getShuffleServicePath
The Shuffle service path relative to the root URL, for example, "shuffle/v1beta1".
string
setShuffleServicePath
The Shuffle service path relative to the root URL, for example, "shuffle/v1beta1".
var
string
$this
getWorkerId
The ID of the worker running this pipeline.
string
setWorkerId
The ID of the worker running this pipeline.
var
string
$this
getTempStoragePrefix
The prefix of the resources the system should use for temporary storage.
The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
string
setTempStoragePrefix
The prefix of the resources the system should use for temporary storage.
The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
var
string
$this