# Google Cloud Retail V2 Client - Class RejoinUserEventsRequest (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.1 2.1.3 2.0.0 1.7.0 1.6.4 1.5.0 1.4.2 1.3.1 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Retail V2 Client class RejoinUserEventsRequest.

Request message for RejoinUserEvents method.

Generated from protobuf message `google.cloud.retail.v2.RejoinUserEventsRequest`

## Namespace

Google \\ Cloud \\ Retail \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent catalog resource name, such as `projects/1234/locations/global/catalogs/default_catalog`. |
| `↳ user_event_rejoin_scope` | `int` The type of the user event rejoin to define the scope and range of the user events to be rejoined with the latest product catalog. Defaults to `USER_EVENT_REJOIN_SCOPE_UNSPECIFIED` if this field is not set, or set to an invalid integer value. |

### getParent

Required. The parent catalog resource name, such as
`projects/1234/locations/global/catalogs/default_catalog`.

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

### setParent

Required. The parent catalog resource name, such as
`projects/1234/locations/global/catalogs/default_catalog`.

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

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

### getUserEventRejoinScope

The type of the user event rejoin to define the scope and range of the user
events to be rejoined with the latest product catalog. Defaults to
`USER_EVENT_REJOIN_SCOPE_UNSPECIFIED` if this field is not set, or set to
an invalid integer value.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [UserEventRejoinScope](https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.RejoinUserEventsRequest.UserEventRejoinScope). |

### setUserEventRejoinScope

The type of the user event rejoin to define the scope and range of the user
events to be rejoined with the latest product catalog. Defaults to
`USER_EVENT_REJOIN_SCOPE_UNSPECIFIED` if this field is not set, or set to
an invalid integer value.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [UserEventRejoinScope](https://docs.cloud.google.com/php/docs/reference/cloud-retail/latest/V2.RejoinUserEventsRequest.UserEventRejoinScope). |

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