# Google Cloud Telco Automation V1 Client - Class ResourceStatus (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 ResourceStatus.

Status of a deployment resource.

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

## 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 resource. |
| `↳ resource_namespace` | `string` Namespace of the resource. |
| `↳ group` | `string` Group to which the resource belongs to. |
| `↳ version` | `string` Version of the resource. |
| `↳ kind` | `string` Kind of the resource. |
| `↳ resource_type` | `int` Output only. Resource type. |
| `↳ status` | `int` Output only. Status of the resource. |
| `↳ nf_deploy_status` | `https://docs.cloud.google.com/php/docs/reference/cloud-telcoautomation/latest/V1.NFDeployStatus` Output only. Detailed status of NFDeploy. |

### getName

Name of the resource.

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

### setName

Name of the resource.

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

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

### getResourceNamespace

Namespace of the resource.

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

### setResourceNamespace

Namespace of the resource.

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

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

### getGroup

Group to which the resource belongs to.

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

### setGroup

Group to which the resource belongs to.

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

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

### getVersion

Version of the resource.

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

### setVersion

Version of the resource.

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

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

### getKind

Kind of the resource.

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

### setKind

Kind of the resource.

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

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

### getResourceType

Output only. Resource type.

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

### setResourceType

Output only. Resource type.

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

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

### getStatus

Output only. Status of the resource.

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

### setStatus

Output only. Status of the resource.

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

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

### getNfDeployStatus

Output only. Detailed status of NFDeploy.

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

### hasNfDeployStatus

### clearNfDeployStatus

### setNfDeployStatus

Output only. Detailed status of NFDeploy.

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

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