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
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.
Generated from protobuf field string redirect_uri = 1;
Returns | |
---|---|
Type | Description |
string |
setRedirectUri
URL must have length equal or less than 2000 characters.
Generated from protobuf field string redirect_uri = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |