0.11.3 (latest) 0.10.0 0.9.3 0.8.2 0.7.1 0.6.6 0.5.1 0.4.1 0.3.10

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

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` | `string[]` The set of capabilities enumerated in the above Environment proto. See also [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) |

### 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](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setCapabilities

The set of capabilities enumerated in the above Environment proto. See also
[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)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |