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

Environment of the Application, Service, or Workload

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

## Namespace

Google \\ Cloud \\ AppHub \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ type` | `int` Required. Environment Type. |

### getType

Required. Environment Type.

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

### setType

Required. Environment Type.

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

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