# Google Shopping Merchant Reviews V1beta Client - Class ProductReviewDestinationStatus (0.6.1)

0.6.1 (latest) 0.6.0 0.5.3 0.4.0 0.3.1 0.2.0 0.1.2

> [!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 Shopping Merchant Reviews V1beta Client class ProductReviewDestinationStatus.

The destination status of the product review status.

Generated from protobuf message `google.shopping.merchant.reviews.v1beta.ProductReviewStatus.ProductReviewDestinationStatus`

## Namespace

Google \\ Shopping \\ Merchant \\ Reviews \\ V1beta \\ ProductReviewStatus

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ reporting_context` | `int` Output only. The name of the reporting context. |

### getReportingContext

Output only. The name of the reporting context.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ReportingContextEnum](https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.ReportingContext.ReportingContextEnum.html). |

### setReportingContext

Output only. The name of the reporting context.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ReportingContextEnum](https://docs.cloud.google.com/php/docs/reference/shopping-common-protos/latest/Type.ReportingContext.ReportingContextEnum.html). |

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