0.6.0 (latest) 0.5.3 0.4.5 0.3.1 0.2.0 0.1.6 Reference documentation and code samples for the Google Cloud App Hub V1 Client class FunctionalType.

The functional type of a service or workload.

Generated from protobuf message `google.cloud.apphub.v1.FunctionalType`

## Namespace

Google \\ Cloud \\ AppHub \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ type` | `int` Output only. The functional type of a service or workload. |

### getType

Output only. The functional type of a service or workload.

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

### setType

Output only. The functional type of a service or workload.

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

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