0.2.3 (latest) 0.1.1

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Appoptimize V1beta Client class ListReportsRequest.

Request message for the `ListReports` method.

Generated from protobuf message `google.cloud.appoptimize.v1beta.ListReportsRequest`

## Namespace

Google \\ Cloud \\ AppOptimize \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent project whose reports are to be listed. Format: `projects/{project}/locations/{location}`. |
| `↳ page_size` | `int` Optional. The maximum number of reports to return. The service may return fewer than this value. If unspecified, the server will determine the number of results to return. |
| `↳ page_token` | `string` Optional. A page token, received from a previous `ListReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReports` must match the call that provided the page token. |

### getParent

Required. The parent project whose reports are to be listed.

Format: `projects/{project}/locations/{location}`.

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

### setParent

Required. The parent project whose reports are to be listed.

Format: `projects/{project}/locations/{location}`.

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

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

### getPageSize

Optional. The maximum number of reports to return. The service may return
fewer than this value. If unspecified, the server will determine the number
of results to return.

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

### setPageSize

Optional. The maximum number of reports to return. The service may return
fewer than this value. If unspecified, the server will determine the number
of results to return.

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

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

### getPageToken

Optional. A page token, received from a previous `ListReports` call.

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

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

### setPageToken

Optional. A page token, received from a previous `ListReports` call.

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

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent project whose reports are to be listed. Format: `projects/{project}/locations/{location}`. Please see AppOptimizeClient::locationName() for help formatting this field. |

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