Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class RedirectAction.
Redirects a shopper to the provided URI.
Generated from protobuf messagegoogle.cloud.discoveryengine.v1.Control.RedirectAction
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ Control
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ redirect_uri
string
Required. The URI to which the shopper will be redirected. Required. URI must have length equal or less than 2000 characters. Otherwise an INVALID ARGUMENT error is thrown.
getRedirectUri
Required. The URI to which the shopper will be redirected.
Required.
URI must have length equal or less than 2000 characters.
Otherwise an INVALID ARGUMENT error is thrown.
Returns
Type
Description
string
setRedirectUri
Required. The URI to which the shopper will be redirected.
Required.
URI must have length equal or less than 2000 characters.
Otherwise an INVALID ARGUMENT error is thrown.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Discovery Engine V1 Client - Class RedirectAction (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/php/docs/reference/cloud-discoveryengine/latest/V1.Control.RedirectAction)\n- [1.6.1](/php/docs/reference/cloud-discoveryengine/1.6.1/V1.Control.RedirectAction)\n- [1.5.1](/php/docs/reference/cloud-discoveryengine/1.5.1/V1.Control.RedirectAction)\n- [1.4.0](/php/docs/reference/cloud-discoveryengine/1.4.0/V1.Control.RedirectAction)\n- [1.3.3](/php/docs/reference/cloud-discoveryengine/1.3.3/V1.Control.RedirectAction)\n- [1.2.0](/php/docs/reference/cloud-discoveryengine/1.2.0/V1.Control.RedirectAction)\n- [1.1.0](/php/docs/reference/cloud-discoveryengine/1.1.0/V1.Control.RedirectAction)\n- [1.0.0](/php/docs/reference/cloud-discoveryengine/1.0.0/V1.Control.RedirectAction)\n- [0.11.3](/php/docs/reference/cloud-discoveryengine/0.11.3/V1.Control.RedirectAction)\n- [0.8.0](/php/docs/reference/cloud-discoveryengine/0.8.0/V1.Control.RedirectAction)\n- [0.7.1](/php/docs/reference/cloud-discoveryengine/0.7.1/V1.Control.RedirectAction)\n- [0.6.0](/php/docs/reference/cloud-discoveryengine/0.6.0/V1.Control.RedirectAction)\n- [0.5.0](/php/docs/reference/cloud-discoveryengine/0.5.0/V1.Control.RedirectAction)\n- [0.4.0](/php/docs/reference/cloud-discoveryengine/0.4.0/V1.Control.RedirectAction)\n- [0.3.0](/php/docs/reference/cloud-discoveryengine/0.3.0/V1.Control.RedirectAction)\n- [0.2.0](/php/docs/reference/cloud-discoveryengine/0.2.0/V1.Control.RedirectAction)\n- [0.1.1](/php/docs/reference/cloud-discoveryengine/0.1.1/V1.Control.RedirectAction) \nReference documentation and code samples for the Google Cloud Discovery Engine V1 Client class RedirectAction.\n\nRedirects a shopper to the provided URI.\n\nGenerated from protobuf message `google.cloud.discoveryengine.v1.Control.RedirectAction`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DiscoveryEngine \\\\ V1 \\\\ Control\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getRedirectUri\n\nRequired. The URI to which the shopper will be redirected.\n\nRequired.\nURI must have length equal or less than 2000 characters.\nOtherwise an INVALID ARGUMENT error is thrown.\n\n### setRedirectUri\n\nRequired. The URI to which the shopper will be redirected.\n\nRequired.\nURI must have length equal or less than 2000 characters.\nOtherwise an INVALID ARGUMENT error is thrown."]]