Google Cloud Retail V2 Client - Class RedirectAction (1.1.1)

Reference documentation and code samples for the Google Cloud Retail V2 Client class RedirectAction.

Redirects a shopper to a specific page.

  • Rule Condition:
  • Action Input: Request Query
  • Action Result: Redirects shopper to provided uri.

Generated from protobuf message google.cloud.retail.v2.Rule.RedirectAction

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ redirect_uri string

URL must have length equal or less than 2000 characters.

getRedirectUri

URL must have length equal or less than 2000 characters.

Returns
TypeDescription
string

setRedirectUri

URL must have length equal or less than 2000 characters.

Parameter
NameDescription
var string
Returns
TypeDescription
$this