Google Cloud Retail V2 Client - Class RedirectAction (1.7.0)

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

Redirects a shopper to a specific page.

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

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

Namespace

Google \ Cloud \ Retail \ V2 \ Rule

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setRedirectUri

URL must have length equal or less than 2000 characters.

Parameter
Name Description
var string
Returns
Type Description
$this