1.3.0 (latest) 1.2.3 1.1.4 1.0.5 0.4.5 0.3.2 0.2.2 0.1.6 Reference documentation and code samples for the Google Cloud BeyondCorp AppConnectors V1 Client class ContainerHealthDetails.

ContainerHealthDetails reflects the health details of a container.

Generated from protobuf message `google.cloud.beyondcorp.appconnectors.v1.ContainerHealthDetails`

## Namespace

Google \\ Cloud \\ BeyondCorp \\ AppConnectors \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ expected_config_version` | `string` The version of the expected config. |
| `↳ current_config_version` | `string` The version of the current config. |
| `↳ extended_status` | `array|Google\Protobuf\Internal\MapField` The extended status. Such as ExitCode, StartedAt, FinishedAt, etc. |
| `↳ error_msg` | `string` The latest error message. |

### getExpectedConfigVersion

The version of the expected config.

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

### setExpectedConfigVersion

The version of the expected config.

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

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

### getCurrentConfigVersion

The version of the current config.

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

### setCurrentConfigVersion

The version of the current config.

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

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

### getExtendedStatus

The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Internal\MapField` |   |

### setExtendedStatus

The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|Google\Protobuf\Internal\MapField` |

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

### getErrorMsg

The latest error message.

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

### setErrorMsg

The latest error message.

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

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