Google Cloud Retail V2 Client - Class RejoinUserEventsRequest (1.4.2)

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

Google \ Cloud \ Retail \ V2

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this