# Google Cloud Deploy V1 Client - Class CloudRunConfig (2.0.0)

2.0.0 (latest) 1.6.3 1.5.7 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.19.1 0.18.1 0.17.0 0.16.0 0.15.0 0.14.0 0.13.1 0.12.1 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.4 Reference documentation and code samples for the Google Cloud Deploy V1 Client class CloudRunConfig.

CloudRunConfig contains the Cloud Run runtime configuration.

Generated from protobuf message `google.cloud.deploy.v1.CloudRunConfig`

## Namespace

Google \\ Cloud \\ Deploy \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ automatic_traffic_control` | `bool` Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments. |
| `↳ canary_revision_tags` | `array` Optional. A list of tags that are added to the canary revision while the canary phase is in progress. |
| `↳ prior_revision_tags` | `array` Optional. A list of tags that are added to the prior revision while the canary phase is in progress. |
| `↳ stable_revision_tags` | `array` Optional. A list of tags that are added to the final stable revision when the stable phase is applied. |

### getAutomaticTrafficControl

Whether Cloud Deploy should update the traffic stanza in a Cloud Run
Service on the user's behalf to facilitate traffic splitting. This is
required to be true for CanaryDeployments, but optional for
CustomCanaryDeployments.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setAutomaticTrafficControl

Whether Cloud Deploy should update the traffic stanza in a Cloud Run
Service on the user's behalf to facilitate traffic splitting. This is
required to be true for CanaryDeployments, but optional for
CustomCanaryDeployments.

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

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

### getCanaryRevisionTags

Optional. A list of tags that are added to the canary revision while the
canary phase is in progress.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/RepeatedField` |   |

### setCanaryRevisionTags

Optional. A list of tags that are added to the canary revision while the
canary phase is in progress.

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

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

### getPriorRevisionTags

Optional. A list of tags that are added to the prior revision while the
canary phase is in progress.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/RepeatedField` |   |

### setPriorRevisionTags

Optional. A list of tags that are added to the prior revision while the
canary phase is in progress.

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

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

### getStableRevisionTags

Optional. A list of tags that are added to the final stable revision when
the stable phase is applied.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/RepeatedField` |   |

### setStableRevisionTags

Optional. A list of tags that are added to the final stable revision when
the stable phase is applied.

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

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