# Google Cloud Video Live Stream V1 Client - Class ListChannelsRequest (1.4.0)

1.4.0 (latest) 1.3.2 1.2.1 1.1.3 1.0.0 0.7.5 0.6.2 0.5.0 0.4.2 0.3.2 0.2.6 Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class ListChannelsRequest.

Request message for "LivestreamService.ListChannels".

Generated from protobuf message `google.cloud.video.livestream.v1.ListChannelsRequest`

## Namespace

Google \\ Cloud \\ Video \\ LiveStream \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `↳ page_size` | `int` The maximum number of items to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response's [next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.ListChannelsResponse#_Google_Cloud_Video_LiveStream_V1_ListChannelsResponse__getNextPageToken__) to determine if there are more items left to be queried. |
| `↳ page_token` | `string` The next_page_token value returned from a previous List request, if any. |
| `↳ filter` | `string` The filter to apply to list results. |
| `↳ order_by` | `string` Specifies the ordering of results following syntax at <https://cloud.google.com/apis/design/design_patterns#sorting_order>. |

### getParent

Required. The parent location for the resource, in the form of:
`projects/{project}/locations/{location}`.

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

### setParent

Required. The parent location for the resource, in the form of:
`projects/{project}/locations/{location}`.

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

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

### getPageSize

The maximum number of items to return. If unspecified, server
will pick an appropriate default. Server may return fewer items than
requested. A caller should only rely on response's
[next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.ListChannelsResponse#_Google_Cloud_Video_LiveStream_V1_ListChannelsResponse__getNextPageToken__)
to determine if there are more items left to be queried.

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

### setPageSize

The maximum number of items to return. If unspecified, server
will pick an appropriate default. Server may return fewer items than
requested. A caller should only rely on response's
[next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.ListChannelsResponse#_Google_Cloud_Video_LiveStream_V1_ListChannelsResponse__getNextPageToken__)
to determine if there are more items left to be queried.

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

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

### getPageToken

The next_page_token value returned from a previous List request, if any.

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

### setPageToken

The next_page_token value returned from a previous List request, if any.

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

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

### getFilter

The filter to apply to list results.

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

### setFilter

The filter to apply to list results.

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

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

### getOrderBy

Specifies the ordering of results following syntax at
<https://cloud.google.com/apis/design/design_patterns#sorting_order>.

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

### setOrderBy

Specifies the ordering of results following syntax at
<https://cloud.google.com/apis/design/design_patterns#sorting_order>.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. Please see LivestreamServiceClient::locationName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-video-live-stream/latest/V1.ListChannelsRequest` |   |