# Google Cloud Datastream V1 Client - Class ListPrivateConnectionsRequest (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.0 2.1.1 2.0.1 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Datastream V1 Client class ListPrivateConnectionsRequest.

Request for listing private connections.

Generated from protobuf message `google.cloud.datastream.v1.ListPrivateConnectionsRequest`

## Namespace

Google \\ Cloud \\ Datastream \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent that owns the collection of private connectivity configurations. |
| `↳ page_size` | `int` Maximum number of private connectivity configurations to return. If unspecified, at most 50 private connectivity configurations that will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
| `↳ page_token` | `string` Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPrivateConnections` must match the call that provided the page token. |
| `↳ filter` | `string` Filter request. |
| `↳ order_by` | `string` Order by fields for the result. |

### getParent

Required. The parent that owns the collection of private connectivity
configurations.

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

### setParent

Required. The parent that owns the collection of private connectivity
configurations.

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

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

### getPageSize

Maximum number of private connectivity configurations to return.

If unspecified, at most 50 private connectivity configurations that will be
returned. The maximum value is 1000; values above 1000 will be coerced to
1000.

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

### setPageSize

Maximum number of private connectivity configurations to return.

If unspecified, at most 50 private connectivity configurations that will be
returned. The maximum value is 1000; values above 1000 will be coerced to
1000.

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

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

### getPageToken

Page token received from a previous `ListPrivateConnections` call.

Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
`ListPrivateConnections` must match the call that provided the page
token.

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

### setPageToken

Page token received from a previous `ListPrivateConnections` call.

Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
`ListPrivateConnections` must match the call that provided the page
token.

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

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

### getFilter

Filter request.

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

### setFilter

Filter request.

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

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

### getOrderBy

Order by fields for the result.

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

### setOrderBy

Order by fields for the result.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent that owns the collection of private connectivity configurations. Please see DatastreamClient::locationName() for help formatting this field. |

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