# Google Cloud Migration Center V1 Client - Class ListReportsRequest (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class ListReportsRequest.

A request for a list of Reports.

Generated from protobuf message `google.cloud.migrationcenter.v1.ListReportsRequest`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Parent value for `ListReportsRequest`. |
| `↳ page_size` | `int` Requested page size. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default value. |
| `↳ page_token` | `string` A token identifying a page of results that the server should return. |
| `↳ filter` | `string` Filtering results. |
| `↳ order_by` | `string` Field to sort by. See <https://google.aip.dev/132#ordering> for more details. |
| `↳ view` | `int` Determines what information to retrieve for each Report. |

### getParent

Required. Parent value for `ListReportsRequest`.

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

### setParent

Required. Parent value for `ListReportsRequest`.

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

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

### getPageSize

Requested page size. The server may return fewer items than requested.

If unspecified, the server will pick an appropriate default value.

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

### setPageSize

Requested page size. The server may return fewer items than requested.

If unspecified, the server will pick an appropriate default value.

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

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

### getPageToken

A token identifying a page of results that the server should return.

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

### setPageToken

A token identifying a page of results that the server should return.

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

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

### getFilter

Filtering results.

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

### setFilter

Filtering results.

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

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

### getOrderBy

Field to sort by. See <https://google.aip.dev/132#ordering> for more details.

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

### setOrderBy

Field to sort by. See <https://google.aip.dev/132#ordering> for more details.

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

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

### getView

Determines what information to retrieve for each Report.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ReportView](https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.ReportView). |

### setView

Determines what information to retrieve for each Report.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent value for `ListReportsRequest`. Please see MigrationCenterClient::reportConfigName() for help formatting this field. |

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