Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class SdkHarnessContainerImage.
Defines a SDK harness container for executing Dataflow pipelines.
Generated from protobuf message google.dataflow.v1beta3.SdkHarnessContainerImage
Namespace
Google \ Cloud \ Dataflow \ V1beta3Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ container_image |
string
A docker container image that resides in Google Container Registry. |
↳ use_single_core_per_container |
bool
If true, recommends the Dataflow service to use only one core per SDK container instance with this image. If false (or unset) recommends using more than one core per SDK container instance with this image for efficiency. Note that Dataflow service may choose to override this property if needed. |
↳ environment_id |
string
Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness. |
↳ capabilities |
array
The set of capabilities enumerated in the above Environment proto. See also https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto |
getContainerImage
A docker container image that resides in Google Container Registry.
Returns | |
---|---|
Type | Description |
string |
setContainerImage
A docker container image that resides in Google Container Registry.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getUseSingleCorePerContainer
If true, recommends the Dataflow service to use only one core per SDK container instance with this image. If false (or unset) recommends using more than one core per SDK container instance with this image for efficiency. Note that Dataflow service may choose to override this property if needed.
Returns | |
---|---|
Type | Description |
bool |
setUseSingleCorePerContainer
If true, recommends the Dataflow service to use only one core per SDK container instance with this image. If false (or unset) recommends using more than one core per SDK container instance with this image for efficiency. Note that Dataflow service may choose to override this property if needed.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getEnvironmentId
Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
Returns | |
---|---|
Type | Description |
string |
setEnvironmentId
Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCapabilities
The set of capabilities enumerated in the above Environment proto. See also https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setCapabilities
The set of capabilities enumerated in the above Environment proto. See also https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |