# Google Cloud Network Management V1 Client - Class ReachabilityDetails (2.9.2)

2.9.2 (latest) 2.9.1 2.8.0 2.7.0 2.6.1 2.5.0 2.4.2 2.3.2 2.2.1 2.1.1 2.0.1 1.7.3 1.5.0 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Network Management V1 Client class ReachabilityDetails.

Results of the configuration analysis from the last run of the test.

Generated from protobuf message `google.cloud.networkmanagement.v1.ReachabilityDetails`

## Namespace

Google \\ Cloud \\ NetworkManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ result` | `int` The overall result of the test's configuration analysis. |
| `↳ verify_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The time of the configuration analysis. |
| `↳ error` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html` The details of a failure or a cancellation of reachability analysis. |
| `↳ traces` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-network-management/latest/V1.Trace>` Result may contain a list of traces if a test has multiple possible paths in the network, such as when destination endpoint is a load balancer with multiple backends. |

### getResult

The overall result of the test's configuration analysis.

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

### setResult

The overall result of the test's configuration analysis.

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

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

### getVerifyTime

The time of the configuration analysis.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasVerifyTime

### clearVerifyTime

### setVerifyTime

The time of the configuration analysis.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getError

The details of a failure or a cancellation of reachability analysis.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html|null` |   |

### hasError

### clearError

### setError

The details of a failure or a cancellation of reachability analysis.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Status.html` |

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

### getTraces

Result may contain a list of traces if a test has multiple possible
paths in the network, such as when destination endpoint is a load balancer
with multiple backends.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-network-management/latest/V1.Trace>` |   |

### setTraces

Result may contain a list of traces if a test has multiple possible
paths in the network, such as when destination endpoint is a load balancer
with multiple backends.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-network-management/latest/V1.Trace>` |

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