Reference documentation and code samples for the Google Cloud Design Center V1 Client class ListSpacesRequest.

Message for requesting a list of spaces.

Generated from protobuf message `google.cloud.designcenter.v1.ListSpacesRequest`

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The name of the parent resource, for which spaces are listed. |
| `↳ page_size` | `int` Optional. The maximum number of pages to return from this request. If unspecified, the value automatically reflects the number of results returned. |
| `↳ page_token` | `string` Optional. If present, retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call. |
| `↳ filter` | `string` Optional. A filter that chooses which spaces to return. |
| `↳ order_by` | `string` Optional. How the results are sorted. |

### getParent

Required. The name of the parent resource, for which spaces are listed.

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

### setParent

Required. The name of the parent resource, for which spaces are listed.

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

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

### getPageSize

Optional. The maximum number of pages to return from this request.

If unspecified, the value automatically reflects the number of results
returned.

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

### setPageSize

Optional. The maximum number of pages to return from this request.

If unspecified, the value automatically reflects the number of results
returned.

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

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

### getPageToken

Optional. If present, retrieve the next batch of results from the preceding
call to this method. pageToken must be the value of nextPageToken from the
previous response. The values of other method parameters should be
identical to those in the previous call.

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

### setPageToken

Optional. If present, retrieve the next batch of results from the preceding
call to this method. pageToken must be the value of nextPageToken from the
previous response. The values of other method parameters should be
identical to those in the previous call.

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

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

### getFilter

Optional. A filter that chooses which spaces to return.

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

### setFilter

Optional. A filter that chooses which spaces to return.

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

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

### getOrderBy

Optional. How the results are sorted.

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

### setOrderBy

Optional. How the results are sorted.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The name of the parent resource, for which spaces are listed. Please see DesignCenterClient::locationName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ListSpacesRequest` |   |