POST /v1/locations/{locationsId}/placeActionLinks
Creates a place action link associated with the specified location, and returns it. The request is considered duplicate if the parent, place_action_link.uri and place_action_link.place_action_type are the same as a previous request.
Request
- Base URLhttps://mybusinessplaceactions.googleapis.com
- Authnone declared
Path parameters
Request body
Output only. The time when the place action link was created.
Output only. Indicates whether this link can be edited by the client.
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.
Optional. The resource name, in the format locations/{location_id}/placeActionLinks/{place_action_link_id}. The name field will only be considered in UpdatePlaceActionLink and DeletePlaceActionLink requests for updating and deleting links respectively. However, it will be ignored in CreatePlaceActionLink request, where place_action_link_id will be assigned by the server on successful creation of a new link and returned as part of the response.
Required. The type of place action that can be performed using this link.
Output only. Specifies the provider type.
Output only. The time when the place action link was last modified.
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).
Response
Successful response
Output only. The time when the place action link was created.
Output only. Indicates whether this link can be edited by the client.
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.
Optional. The resource name, in the format locations/{location_id}/placeActionLinks/{place_action_link_id}. The name field will only be considered in UpdatePlaceActionLink and DeletePlaceActionLink requests for updating and deleting links respectively. However, it will be ignored in CreatePlaceActionLink request, where place_action_link_id will be assigned by the server on successful creation of a new link and returned as part of the response.
Required. The type of place action that can be performed using this link.
Output only. Specifies the provider type.
Output only. The time when the place action link was last modified.
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).
Changes
No recorded changes to this operation across all 3 revisions of this API.