An action URL with associated language, list of countries restricted to, and optional platform that indicates which platform this action should be performed on.
JSON representation | |
---|---|
{ "url": string, "language": string, "restrictedCountry": [ string ], "platform": enum ( |
Fields | |
---|---|
url |
The entry point URL for this action link. |
language |
The BCP-47 language tag identifying the language in which the content from this URI is available. |
restrictedCountry[] |
ISO 3166-1 alpha-2 country code. Leave empty for unrestricted visibility. |
platform |
The platform that this action should be performed on. If this field is unset, ACTION_PLATFORM_WEB_APPLICATION will be used as fallback. |
actionLinkType |
Predetermined type of action. |
ActionPlatform
The platform that the action is performed on. Web application is the general fallback. It is recommended to have at least one ActionLink with ACTION_PLATFORM_WEB_APPLICATION. Links with Android and iOS as platform are only used on the respective system.
Enums | |
---|---|
ACTION_PLATFORM_UNSPECIFIED |
The platform is unspecified. |
ACTION_PLATFORM_WEB_APPLICATION |
The action platform is web in general. |
ACTION_PLATFORM_MOBILE_WEB |
The action platform is web on mobile devices. |
ACTION_PLATFORM_ANDROID |
The action platform is Android OS. |
ACTION_PLATFORM_IOS |
The action platform is iOS. |
ActionLinkType
Predetermined type of action associated with an action link.
Enums | |
---|---|
ACTION_LINK_TYPE_UNSPECIFIED |
The action link type is unspecified. |
ACTION_LINK_TYPE_BOOK_APPOINTMENT |
The action link type is booking an appointment. |
ACTION_LINK_TYPE_BOOK_ONLINE_APPOINTMENT |
The action link type is booking an online appointment. |
ACTION_LINK_TYPE_ORDER_FOOD |
The action link type is ordering food for delivery or takeout or both. |
ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY |
The action link type is ordering food for delivery. |
ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT |
The action link type is ordering food for takeout. |
ACTION_LINK_TYPE_MAKE_DINING_RESERVATION |
The action link type is making a dining reservation. |