class Google::Apis::DataflowV1b3::SdkHarnessContainerImage

Defines a SDK harness container for executing Dataflow pipelines.

Attributes

container_image[RW]

A docker container image that resides in Google Container Registry. Corresponds to the JSON property `containerImage` @return [String]

environment_id[RW]

Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness. Corresponds to the JSON property `environmentId` @return [String]

use_single_core_per_container[RW]

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. Corresponds to the JSON property `useSingleCorePerContainer` @return [Boolean]

use_single_core_per_container?[RW]

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. Corresponds to the JSON property `useSingleCorePerContainer` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 4055
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataflow_v1b3/classes.rb, line 4060
def update!(**args)
  @container_image = args[:container_image] if args.key?(:container_image)
  @environment_id = args[:environment_id] if args.key?(:environment_id)
  @use_single_core_per_container = args[:use_single_core_per_container] if args.key?(:use_single_core_per_container)
end