Google Cloud Retail V2 Client - Class RejoinUserEventsRequest (2.1.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

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
Returns
Type Description
$this