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 ContainerSpec.

Container Spec.

Generated from protobuf message `google.dataflow.v1beta3.ContainerSpec`

## Namespace

Google \\ Cloud \\ Dataflow \\ V1beta3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ image` | `string` Name of the docker container image. E.g., gcr.io/project/some-image |
| `↳ metadata` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.TemplateMetadata` Metadata describing a template including description and validation rules. |
| `↳ sdk_info` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.SDKInfo` Required. SDK info of the Flex Template. |
| `↳ default_environment` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.FlexTemplateRuntimeEnvironment` Default runtime environment for the job. |
| `↳ image_repository_username_secret_id` | `string` Secret Manager secret id for username to authenticate to private registry. |
| `↳ image_repository_password_secret_id` | `string` Secret Manager secret id for password to authenticate to private registry. |
| `↳ image_repository_cert_path` | `string` Cloud Storage path to self-signed certificate of private registry. |

### getImage

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setImage

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

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

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

### getMetadata

Metadata describing a template including description and validation rules.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.TemplateMetadata|null` |   |

### hasMetadata

### clearMetadata

### setMetadata

Metadata describing a template including description and validation rules.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.TemplateMetadata` |

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

### getSdkInfo

Required. SDK info of the Flex Template.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.SDKInfo|null` |   |

### hasSdkInfo

### clearSdkInfo

### setSdkInfo

Required. SDK info of the Flex Template.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.SDKInfo` |

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

### getDefaultEnvironment

Default runtime environment for the job.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.FlexTemplateRuntimeEnvironment|null` |   |

### hasDefaultEnvironment

### clearDefaultEnvironment

### setDefaultEnvironment

Default runtime environment for the job.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataflow/latest/V1beta3.FlexTemplateRuntimeEnvironment` |

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

### getImageRepositoryUsernameSecretId

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setImageRepositoryUsernameSecretId

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

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

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

### getImageRepositoryPasswordSecretId

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setImageRepositoryPasswordSecretId

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

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

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

### getImageRepositoryCertPath

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setImageRepositoryCertPath

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

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

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