Resource: PlaceActionLink
Represents a place action link and its attributes.
JSON representation |
---|
{ "name": string, "providerType": enum ( |
Fields | |
---|---|
name |
Optional. The resource name, in the format The name field will only be considered in placeActionLinks.patch and placeActionLinks.delete requests for updating and deleting links respectively. However, it will be ignored in placeActionLinks.create request, where |
providerType |
Output only. Specifies the provider type. |
isEditable |
Output only. Indicates whether this link can be edited by the client. |
uri |
Required. The link uri. The same uri can be reused for different action types across different locations. However, only one place action link is allowed for each unique combination of (uri, place action type, location). |
placeActionType |
Required. The type of place action that can be performed using this link. |
isPreferred |
Optional. Whether this link is preferred by the merchant. Only one link can be marked as preferred per place action type at a location. If a future request marks a different link as preferred for the same place action type, then the current preferred link (if any exists) will lose its preference. |
createTime |
Output only. The time when the place action link was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time when the place action link was last modified. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
ProviderType
The type of the link provider, can only be read.
Enums | |
---|---|
PROVIDER_TYPE_UNSPECIFIED |
Not specified. |
MERCHANT |
A 1P provider such as a merchant, or an agency on behalf of a merchant. |
AGGREGATOR_3P |
A 3P aggregator, such as a Reserve with Google partner. |
PlaceActionType
The type of place action that can be performed using the link.
Enums | |
---|---|
PLACE_ACTION_TYPE_UNSPECIFIED |
Not specified. |
APPOINTMENT |
The action type is booking an appointment. |
ONLINE_APPOINTMENT |
The action type is booking an online appointment. |
DINING_RESERVATION |
The action type is making a dining reservation. |
FOOD_ORDERING |
The action type is ordering food for delivery and/or takeout. |
FOOD_DELIVERY |
The action type is ordering food for delivery. |
FOOD_TAKEOUT |
The action type is ordering food for takeout. |
SHOP_ONLINE |
The action type is shopping, that can be delivery and/or pickup. |
Methods |
|
---|---|
|
Creates a place action link associated with the specified location, and returns it. |
|
Deletes a place action link from the specified location. |
|
Gets the specified place action link. |
|
Lists the place action links for the specified location. |
|
Updates the specified place action link and returns it. |