# Dataflow V1beta3 API - Class Google::Cloud::Dataflow::V1beta3::SdkHarnessContainerImage (v0.17.0)

0.17.0 (latest) 0.16.0 0.15.0 0.14.1 0.13.1 0.12.1 0.11.0 0.10.0 0.9.1 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Dataflow V1beta3 API class Google::Cloud::Dataflow::V1beta3::SdkHarnessContainerImage.

Defines an SDK harness container for executing Dataflow pipelines.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #capabilities

    def capabilities() -> ::Array<::String>

**Returns**

- (::Array\<::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)

### #capabilities=

    def capabilities=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::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)
**Returns**

- (::Array\<::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)

### #container_image

    def container_image() -> ::String

**Returns**

- (::String) --- A docker container image that resides in Google Container Registry.

### #container_image=

    def container_image=(value) -> ::String

**Parameter**

- **value** (::String) --- A docker container image that resides in Google Container Registry.
**Returns**

- (::String) --- A docker container image that resides in Google Container Registry.

### #environment_id

    def environment_id() -> ::String

**Returns**

- (::String) --- Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.

### #environment_id=

    def environment_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.
**Returns**

- (::String) --- Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness.

### #use_single_core_per_container

    def use_single_core_per_container() -> ::Boolean

**Returns**

- (::Boolean) --- 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.

### #use_single_core_per_container=

    def use_single_core_per_container=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- 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**

- (::Boolean) --- 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.