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

Request message for the `CreateReport` method.

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

## 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 Google Cloud project that will own the report. This value does not define the scope of the report data. See `Report.scope` for setting the data scope. Format: `projects/{project}/locations/{location}`. |
| `↳ report_id` | `string` Required. The ID to use for this report. This ID must be unique within the parent project and should comply with RFC 1034 restrictions (letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum). |
| `↳ report` | `https://docs.cloud.google.com/php/docs/reference/cloud-appoptimize/latest/V1beta.Report` Required. The report resource to create. |

### getParent

Required. The parent Google Cloud project that will own the report.

This value does not define the scope of the report data. See `Report.scope`
for setting the data scope.
Format: `projects/{project}/locations/{location}`.

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

### setParent

Required. The parent Google Cloud project that will own the report.

This value does not define the scope of the report data. See `Report.scope`
for setting the data scope.
Format: `projects/{project}/locations/{location}`.

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

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

### getReportId

Required. The ID to use for this report. This ID must be unique within
the parent project and should comply with RFC 1034 restrictions (letters,
numbers, and hyphen, with the first character a letter, the last a letter
or a number, and a 63 character maximum).

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

### setReportId

Required. The ID to use for this report. This ID must be unique within
the parent project and should comply with RFC 1034 restrictions (letters,
numbers, and hyphen, with the first character a letter, the last a letter
or a number, and a 63 character maximum).

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

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

### getReport

Required. The report resource to create.

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

### hasReport

### clearReport

### setReport

Required. The report resource to create.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-appoptimize/latest/V1beta.Report` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent Google Cloud project that will own the report. This value does not define the scope of the report data. See `Report.scope` for setting the data scope. Format: `projects/{project}/locations/{location}`. Please see AppOptimizeClient::locationName() for help formatting this field. |
| `report` | `https://docs.cloud.google.com/php/docs/reference/cloud-appoptimize/latest/V1beta.Report` Required. The report resource to create. |
| `reportId` | `string` Required. The ID to use for this report. This ID must be unique within the parent project and should comply with RFC 1034 restrictions (letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum). |

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