# Dataflow v1beta3 API - Class ContainerSpec (2.0.0-beta10)

2.0.0-beta10 (latest) 2.0.0-beta09 1.0.0-beta03

    public sealed class ContainerSpec : IMessage<ContainerSpec>, IEquatable<ContainerSpec>, IDeepCloneable<ContainerSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Dataflow v1beta3 API class ContainerSpec.

Container Spec.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ContainerSpec

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ContainerSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.ContainerSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ContainerSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.ContainerSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ContainerSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.ContainerSpec), [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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataflow.V1Beta3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3)

## Assembly

Google.Cloud.Dataflow.V1Beta3.dll

## Constructors

### ContainerSpec()

    public ContainerSpec()

### ContainerSpec(ContainerSpec)

    public ContainerSpec(ContainerSpec other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.ContainerSpec` |

## Properties

### DefaultEnvironment

    public FlexTemplateRuntimeEnvironment DefaultEnvironment { get; set; }

Default runtime environment for the job.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.FlexTemplateRuntimeEnvironment` |   |

### Image

    public string Image { get; set; }

Name of the docker container image. E.g., gcr.io/project/some-image

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ImageRepositoryCertPath

    public string ImageRepositoryCertPath { get; set; }

Cloud Storage path to self-signed certificate of private registry.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ImageRepositoryPasswordSecretId

    public string ImageRepositoryPasswordSecretId { get; set; }

Secret Manager secret id for password to authenticate to private registry.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ImageRepositoryUsernameSecretId

    public string ImageRepositoryUsernameSecretId { get; set; }

Secret Manager secret id for username to authenticate to private registry.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Metadata

    public TemplateMetadata Metadata { get; set; }

Metadata describing a template including description and validation rules.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.TemplateMetadata` |   |

### SdkInfo

    public SDKInfo SdkInfo { get; set; }

Required. SDK info of the Flex Template.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.SDKInfo` |   |