# Google API Common Protos Client - Class ListLocationsRequest (4.14.0)

4.14.0 (latest) 4.13.0 4.12.5 4.11.0 4.10.0 4.9.0 4.8.3 Reference documentation and code samples for the Google API Common Protos Client class ListLocationsRequest.

The request message for Locations.ListLocations.

Generated from protobuf message `google.cloud.location.ListLocationsRequest`

## Namespace

Google \\ Cloud \\ Location

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` The resource that owns the locations collection, if applicable. |
| `↳ filter` | `string` The standard list filter. |
| `↳ page_size` | `int` The standard list page size. |
| `↳ page_token` | `string` The standard list page token. |

### getName

The resource that owns the locations collection, if applicable.

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

### setName

The resource that owns the locations collection, if applicable.

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

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

### getFilter

The standard list filter.

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

### setFilter

The standard list filter.

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

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

### getPageSize

The standard list page size.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPageSize

The standard list page size.

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

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

### getPageToken

The standard list page token.

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

### setPageToken

The standard list page token.

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

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