2.3.1 (latest) 2.1.3 2.0.4 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Api Gateway V1 Client class Diagnostic.

Diagnostic information from configuration processing.

Generated from protobuf message `google.cloud.apigateway.v1.OperationMetadata.Diagnostic`

## Namespace

Google \\ Cloud \\ ApiGateway \\ V1 \\ OperationMetadata

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ location` | `string` Location of the diagnostic. |
| `↳ message` | `string` The diagnostic message. |

### getLocation

Location of the diagnostic.

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

### setLocation

Location of the diagnostic.

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

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

### getMessage

The diagnostic message.

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

### setMessage

The diagnostic message.

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

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