MyBusinessBusinessInformation
import { MyBusinessBusinessInformation } from "https://googleapis.deno.dev/v1/mybusinessbusinessinformation:v1.ts";
The My Business Business Information API provides an interface for managing business information. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.
§Methods
Creates a new Location that will be owned by the logged in user.
Required. The name of the account in which to create this location.
Lists the locations for the specified account.
Required. The name of the account to fetch locations from. If the parent Account is of AccountType PERSONAL, only Locations that are directly owned by the Account are returned, otherwise it will return all accessible locations from the Account, either directly or indirectly.
Returns the list of attributes that would be available for a location with the given primary category and country.
Returns a list of business categories for the provided language and GConcept ids.
Returns a list of business categories. Search will match the category name but not the category ID. Search only matches the front of a category name (that is, 'food' may return 'Food Court' but not 'Fast Food Restaurant').
Searches the chain based on chain name.
Search all of the possible locations that are a match to the specified request.
Gets the Google-updated version of the specified location.
Required. Google identifier for this location in the form of locations/{location_id}/attributes
.
Deletes a location. If this location cannot be deleted using the API and
it is marked so in the
google.mybusiness.businessinformation.v1.LocationState
, use the Google
Business Profile website.
Required. The name of the location to delete.
Looks up all the attributes set for a given location.
Required. Google identifier for this location in the form of locations/{location_id}/attributes
.
Gets the Google-updated version of the specified location.
Required. The name of the location to fetch.
Updates the specified location.
Google identifier for this location in the form: locations/{location_id}
.
Update attributes for a given location.
Required. Google identifier for this location in the form of locations/{location_id}/attributes
.