0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class ListConversationsRequest.

Request message for
[AgentService.ListConversations](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.Client.AgentServiceClient.md.txt#_Google_Cloud_Ces_V1_Client_AgentServiceClient__listConversations__).

Generated from protobuf message `google.cloud.ces.v1.ListConversationsRequest`

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The resource name of the app to list conversations from. |
| `↳ page_size` | `int` Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. |
| `↳ page_token` | `string` Optional. The [next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.ListConversationsResponse.md.txt#_Google_Cloud_Ces_V1_ListConversationsResponse__getNextPageToken__) value returned from a previous list [AgentService.ListConversations](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.Client.AgentServiceClient.md.txt#_Google_Cloud_Ces_V1_Client_AgentServiceClient__listConversations__) call. |
| `↳ filter` | `string` Optional. Filter to be applied when listing the conversations. See <https://google.aip.dev/160> for more details. |
| `↳ source` | `int` Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default. Will be deprecated in favor of `sources` field. |
| `↳ sources` | `int[]` Optional. Indicate the sources of the conversations. If not set, all available sources will be applied by default. |

### getParent

Required. The resource name of the app to list conversations from.

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

### setParent

Required. The resource name of the app to list conversations from.

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

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

### getPageSize

Optional. Requested page size. Server may return fewer items than
requested. If unspecified, server will pick an appropriate default.

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

### setPageSize

Optional. Requested page size. Server may return fewer items than
requested. If unspecified, server will pick an appropriate default.

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

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

### getPageToken

Optional. The
[next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.ListConversationsResponse.md.txt#_Google_Cloud_Ces_V1_ListConversationsResponse__getNextPageToken__)
value returned from a previous list
[AgentService.ListConversations](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.Client.AgentServiceClient.md.txt#_Google_Cloud_Ces_V1_Client_AgentServiceClient__listConversations__)
call.

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

### setPageToken

Optional. The
[next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.ListConversationsResponse.md.txt#_Google_Cloud_Ces_V1_ListConversationsResponse__getNextPageToken__)
value returned from a previous list
[AgentService.ListConversations](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.Client.AgentServiceClient.md.txt#_Google_Cloud_Ces_V1_Client_AgentServiceClient__listConversations__)
call.

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

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

### getFilter

Optional. Filter to be applied when listing the conversations.

See <https://google.aip.dev/160> for more details.

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

### setFilter

Optional. Filter to be applied when listing the conversations.

See <https://google.aip.dev/160> for more details.

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

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

### getSource

Optional. Indicate the source of the conversation. If not set, Source.Live
will be applied by default. Will be deprecated in favor of `sources` field.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Source](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.Conversation.Source.md.txt). |

### setSource

Optional. Indicate the source of the conversation. If not set, Source.Live
will be applied by default. Will be deprecated in favor of `sources` field.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Source](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.Conversation.Source.md.txt). |

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

### getSources

Optional. Indicate the sources of the conversations. If not set, all
available sources will be applied by default.

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

### setSources

Optional. Indicate the sources of the conversations. If not set, all
available sources will be applied by default.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the app to list conversations from. Please see AgentServiceClient::appName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListConversationsRequest` |   |