Skip to main content

place_action_links

Overview

Nameplace_action_links
TypeResource
Idgooglemybusiness.mybusinessplaceactions.place_action_links

Fields

NameDatatypeDescription
namestringOptional. 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.
updateTimestringOutput only. The time when the place action link was last modified.
uristringRequired. 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).
createTimestringOutput only. The time when the place action link was created.
isEditablebooleanOutput only. Indicates whether this link can be edited by the client.
isPreferredbooleanOptional. 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.
placeActionTypestringRequired. The type of place action that can be performed using this link.
providerTypestringOutput only. Specifies the provider type.

Methods

NameAccessible byRequired ParamsDescription
locations_placeActionLinks_getSELECTlocationsId, placeActionLinksIdGets the specified place action link.
locations_placeActionLinks_listSELECTlocationsIdLists the place action links for the specified location.
locations_placeActionLinks_createINSERTlocationsIdCreates 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.
locations_placeActionLinks_deleteDELETElocationsId, placeActionLinksIdDeletes a place action link from the specified location.
locations_placeActionLinks_patchEXEClocationsId, placeActionLinksIdUpdates the specified place action link and returns it.