Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class SdkHarnessContainerImage.
Defines an SDK harness container for executing Dataflow pipelines.
Generated from protobuf message google.dataflow.v1beta3.SdkHarnessContainerImage
Namespace
Google \ Cloud \ Dataflow \ V1beta3
Methods
__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 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
beam_runner_api.proto
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Dataflow V1beta3 Client - Class SdkHarnessContainerImage (0.8.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.2 (latest)](/php/docs/reference/cloud-dataflow/latest/V1beta3.SdkHarnessContainerImage)\n- [0.8.1](/php/docs/reference/cloud-dataflow/0.8.1/V1beta3.SdkHarnessContainerImage)\n- [0.7.1](/php/docs/reference/cloud-dataflow/0.7.1/V1beta3.SdkHarnessContainerImage)\n- [0.6.6](/php/docs/reference/cloud-dataflow/0.6.6/V1beta3.SdkHarnessContainerImage)\n- [0.5.1](/php/docs/reference/cloud-dataflow/0.5.1/V1beta3.SdkHarnessContainerImage)\n- [0.4.1](/php/docs/reference/cloud-dataflow/0.4.1/V1beta3.SdkHarnessContainerImage)\n- [0.3.10](/php/docs/reference/cloud-dataflow/0.3.10/V1beta3.SdkHarnessContainerImage) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class SdkHarnessContainerImage.\n\nDefines an SDK harness container for executing Dataflow pipelines.\n\nGenerated from protobuf message `google.dataflow.v1beta3.SdkHarnessContainerImage`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataflow \\\\ V1beta3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getContainerImage\n\nA docker container image that resides in Google Container Registry.\n\n### setContainerImage\n\nA docker container image that resides in Google Container Registry.\n\n### getUseSingleCorePerContainer\n\nIf true, recommends the Dataflow service to use only one core per SDK\ncontainer instance with this image. If false (or unset) recommends using\nmore than one core per SDK container instance with this image for\nefficiency. Note that Dataflow service may choose to override this property\nif needed.\n\n### setUseSingleCorePerContainer\n\nIf true, recommends the Dataflow service to use only one core per SDK\ncontainer instance with this image. If false (or unset) recommends using\nmore than one core per SDK container instance with this image for\nefficiency. Note that Dataflow service may choose to override this property\nif needed.\n\n### getEnvironmentId\n\nEnvironment ID for the Beam runner API proto Environment that corresponds\nto the current SDK Harness.\n\n### setEnvironmentId\n\nEnvironment ID for the Beam runner API proto Environment that corresponds\nto the current SDK Harness.\n\n### getCapabilities\n\nThe set of capabilities enumerated in the above Environment proto. See also\n[beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)\n\n### setCapabilities\n\nThe set of capabilities enumerated in the above Environment proto. See also\n[beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)"]]