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

Response message for ApiGatewayService.ListGateways

Generated from protobuf message `google.cloud.apigateway.v1.ListGatewaysResponse`

## Namespace

Google \\ Cloud \\ ApiGateway \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ gateways` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-api-gateway/latest/V1.Gateway>` Gateways. |
| `↳ next_page_token` | `string` Next page token. |
| `↳ unreachable_locations` | `string[]` Locations that could not be reached. |

### getGateways

Gateways.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-api-gateway/latest/V1.Gateway>` |   |

### setGateways

Gateways.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-api-gateway/latest/V1.Gateway>` |

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

### getNextPageToken

Next page token.

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

### setNextPageToken

Next page token.

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

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

### getUnreachableLocations

Locations that could not be reached.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setUnreachableLocations

Locations that could not be reached.

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

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