public sealed class SdkHarnessContainerImage : IMessage<SdkHarnessContainerImage>, IEquatable<SdkHarnessContainerImage>, IDeepCloneable<SdkHarnessContainerImage>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataflow v1beta3 API class SdkHarnessContainerImage.
Defines a SDK harness container for executing Dataflow pipelines.
public bool UseSingleCorePerContainer { get; set; }
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSdkHarnessContainerImage\u003c/code\u003e class, part of the Dataflow v1beta3 API, defines a container for executing Dataflow pipelines.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSdkHarnessContainerImage\u003c/code\u003e class is associated with the \u003ccode\u003eGoogle.Cloud.Dataflow.V1Beta3\u003c/code\u003e namespace and is available in the \u003ccode\u003eGoogle.Cloud.Dataflow.V1Beta3.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eCapabilities\u003c/code\u003e, \u003ccode\u003eContainerImage\u003c/code\u003e, \u003ccode\u003eEnvironmentId\u003c/code\u003e, and \u003ccode\u003eUseSingleCorePerContainer\u003c/code\u003e, allowing specification of the container's settings and characteristics.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available, one default, and one that takes another \u003ccode\u003eSdkHarnessContainerImage\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,["# Dataflow v1beta3 API - Class SdkHarnessContainerImage (2.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.SdkHarnessContainerImage)\n- [2.0.0-beta06](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/2.0.0-beta06/Google.Cloud.Dataflow.V1Beta3.SdkHarnessContainerImage)\n- [1.0.0-beta03](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/1.0.0-beta03/Google.Cloud.Dataflow.V1Beta3.SdkHarnessContainerImage) \n\n public sealed class SdkHarnessContainerImage : IMessage\u003cSdkHarnessContainerImage\u003e, IEquatable\u003cSdkHarnessContainerImage\u003e, IDeepCloneable\u003cSdkHarnessContainerImage\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataflow v1beta3 API class SdkHarnessContainerImage.\n\nDefines a SDK harness container for executing Dataflow pipelines. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SdkHarnessContainerImage \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SdkHarnessContainerImage](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.SdkHarnessContainerImage), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SdkHarnessContainerImage](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.SdkHarnessContainerImage), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SdkHarnessContainerImage](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.SdkHarnessContainerImage), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dataflow.V1Beta3](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataflow.V1Beta3.dll\n\nConstructors\n------------\n\n### SdkHarnessContainerImage()\n\n public SdkHarnessContainerImage()\n\n### SdkHarnessContainerImage(SdkHarnessContainerImage)\n\n public SdkHarnessContainerImage(SdkHarnessContainerImage other)\n\nProperties\n----------\n\n### Capabilities\n\n public RepeatedField\u003cstring\u003e Capabilities { get; }\n\nThe set of capabilities enumerated in the above Environment proto. See also\n\u003chttps://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/beam_runner_api.proto\u003e\n\n### ContainerImage\n\n public string ContainerImage { get; set; }\n\nA docker container image that resides in Google Container Registry.\n\n### EnvironmentId\n\n public string EnvironmentId { get; set; }\n\nEnvironment ID for the Beam runner API proto Environment that corresponds\nto the current SDK Harness.\n\n### UseSingleCorePerContainer\n\n public bool UseSingleCorePerContainer { get; set; }\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."]]