0.6.2 (latest) 0.6.1 0.5.3 0.4.1 0.3.0 0.2.2 0.1.2 Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class AppHubService.

AppHubService represents the App Hub Service.

Generated from protobuf message `google.cloud.developerconnect.v1.AppHubService`

## Namespace

Google \\ Cloud \\ DeveloperConnect \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ apphub_service` | `string` Required. Output only. Immutable. The name of the App Hub Service. Format: `projects/{project}/locations/{location}/applications/{application}/services/{service}`. |
| `↳ criticality` | `string` Output only. The criticality of the App Hub Service. |
| `↳ environment` | `string` Output only. The environment of the App Hub Service. |

### getApphubService

Required. Output only. Immutable. The name of the App Hub Service.

Format:
`projects/{project}/locations/{location}/applications/{application}/services/{service}`.

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

### setApphubService

Required. Output only. Immutable. The name of the App Hub Service.

Format:
`projects/{project}/locations/{location}/applications/{application}/services/{service}`.

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

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

### getCriticality

Output only. The criticality of the App Hub Service.

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

### setCriticality

Output only. The criticality of the App Hub Service.

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

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

### getEnvironment

Output only. The environment of the App Hub Service.

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

### setEnvironment

Output only. The environment of the App Hub Service.

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

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