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
Methods
__construct
Constructor.
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.
string
setContainerImage
A docker container image that resides in Google Container Registry.
var
string
$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.
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.
var
bool
$this
getEnvironmentId
Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
string
setEnvironmentId
Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
var
string
$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
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
var
string[]
$this