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 ReadReportRequest.

Request message for the `ReadReport` method.

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

## Namespace

Google \\ Cloud \\ AppOptimize \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The resource name of the report to query. Format: `projects/{project}/locations/{location}/reports/{report_id}`. |
| `↳ page_size` | `int` Optional. The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 10,000 rows will be returned per page. The maximum allowed value is 25,000; values above 25,000 are coerced to 25,000. |
| `↳ page_token` | `string` Optional. A page token, received from a previous `ReadReport` call, to retrieve the subsequent page of results. When `page_token` is specified, `job_reference` must also be provided from the previous response, and the `statement` field must not be set. |

### getName

Required. The resource name of the report to query.

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

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

### setName

Required. The resource name of the report to query.

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

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

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

### getPageSize

Optional. The maximum number of rows to return. The service may return
fewer than this value. If unspecified, at most 10,000 rows will be returned
per page. The maximum allowed value is 25,000; values above 25,000 are
coerced to 25,000.

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

### setPageSize

Optional. The maximum number of rows to return. The service may return
fewer than this value. If unspecified, at most 10,000 rows will be returned
per page. The maximum allowed value is 25,000; values above 25,000 are
coerced to 25,000.

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

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

### getPageToken

Optional. A page token, received from a previous `ReadReport` call, to
retrieve the subsequent page of results. When `page_token` is specified,
`job_reference` must also be provided from the previous response, and the
`statement` field must not be set.

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

### setPageToken

Optional. A page token, received from a previous `ReadReport` call, to
retrieve the subsequent page of results. When `page_token` is specified,
`job_reference` must also be provided from the previous response, and the
`statement` field must not be set.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The resource name of the report to query. Format: `projects/{project}/locations/{location}/reports/{report_id}`. Please see AppOptimizeClient::reportName() for help formatting this field. |

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