# Google Cloud Telco Automation V1 Client - Class OrchestrationCluster (1.3.0)

1.3.0 (latest) 1.2.3 1.1.1 1.0.3 0.2.5 0.1.0 Reference documentation and code samples for the Google Cloud Telco Automation V1 Client class OrchestrationCluster.

Orchestration cluster represents a GKE cluster with config controller and
TNA specific components installed on it.

Generated from protobuf message `google.cloud.telcoautomation.v1.OrchestrationCluster`

## Namespace

Google \\ Cloud \\ TelcoAutomation \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Name of the orchestration cluster. The name of orchestration cluster cannot be more than 24 characters. |
| `↳ management_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-telcoautomation/latest/V1.ManagementConfig` Management configuration of the underlying GKE cluster. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. \[Output only\] Create time stamp. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. \[Output only\] Update time stamp. |
| `↳ labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Labels as key value pairs. |
| `↳ tna_version` | `string` Output only. Provides the TNA version installed on the cluster. |
| `↳ state` | `int` Output only. State of the Orchestration Cluster. |

### getName

Name of the orchestration cluster. The name of orchestration cluster cannot
be more than 24 characters.

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

### setName

Name of the orchestration cluster. The name of orchestration cluster cannot
be more than 24 characters.

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

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

### getManagementConfig

Management configuration of the underlying GKE cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-telcoautomation/latest/V1.ManagementConfig|null` |   |

### hasManagementConfig

### clearManagementConfig

### setManagementConfig

Management configuration of the underlying GKE cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-telcoautomation/latest/V1.ManagementConfig` |

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

### getCreateTime

Output only. \[Output only\] Create time stamp.

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

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. \[Output only\] Create time stamp.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getUpdateTime

Output only. \[Output only\] Update time stamp.

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

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. \[Output only\] Update time stamp.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getLabels

Labels as key value pairs.

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

### setLabels

Labels as key value pairs.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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

### getTnaVersion

Output only. Provides the TNA version installed on the cluster.

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

### setTnaVersion

Output only. Provides the TNA version installed on the cluster.

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

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

### getState

Output only. State of the Orchestration Cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-telcoautomation/latest/V1.OrchestrationCluster.State). |

### setState

Output only. State of the Orchestration Cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-telcoautomation/latest/V1.OrchestrationCluster.State). |

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