MyBusinessPlaceActions
import { MyBusinessPlaceActions } from "https://googleapis.deno.dev/v1/mybusinessplaceactions:v1.ts";
The My Business Place Actions API provides an interface for managing place action links of a location on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.
§Methods
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.
Required. The resource name of the location where to create this place action link. locations/{location_id}
.
Gets the specified place action link.
Required. The name of the place action link to fetch.
Lists the place action links for the specified location.
Required. The name of the location whose place action links will be listed. locations/{location_id}
.
Updates the specified place action link and returns it.
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.
Returns the list of available place action types for a location or country.