Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://googleapis.deno.dev/v1/mybusinessbusinessinformation:v1.ts";

§Classes

GoogleAuth
MyBusinessBusinessInformation

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.

§Variables

auth

§Interfaces

AccountsLocationsCreateOptions

Additional options for MyBusinessBusinessInformation#accountsLocationsCreate.

AccountsLocationsListOptions

Additional options for MyBusinessBusinessInformation#accountsLocationsList.

AdWordsLocationExtensions

Additional information that is surfaced in AdWords.

Attribute

A location attribute. Attributes provide additional information about a location. The attributes that can be set on a location may vary based on the properties of that location (for example, category). Available attributes are determined by Google and may be added and removed without API changes.

AttributeMetadata

Metadata for an attribute. Contains display information for the attribute, including a localized name and a heading for grouping related attributes together.

Attributes

A container for all the attributes for a given location.

AttributesListOptions

Additional options for MyBusinessBusinessInformation#attributesList.

AttributeValueMetadata

Metadata for supported attribute values.

BatchGetCategoriesResponse

Response message for BusinessCategories.BatchGetBusinessCategories.

BusinessHours

Represents the time periods that this location is open for business. Holds a collection of TimePeriod instances.

Categories

A collection of categories that describes the business. During updates, both fields must be set. Clients are prohibited from individually updating the primary or additional categories using the update mask.

CategoriesBatchGetOptions

Additional options for MyBusinessBusinessInformation#categoriesBatchGet.

CategoriesListOptions

Additional options for MyBusinessBusinessInformation#categoriesList.

Category

A category describing what this business is (not what it does). For a list of valid category IDs, and the mappings to their human-readable names, see categories.list.

Chain

A chain is a brand that your business's locations can be affiliated with.

ChainName

Name to be used when displaying the chain.

ChainsSearchOptions

Additional options for MyBusinessBusinessInformation#chainsSearch.

ChainUri

Url to be used when displaying the chain.

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

Date

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

Empty

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

FreeFormServiceItem

Represents a free-form service offered by the merchant. These are services that are not exposed as part of our structure service data. The merchant manually enters the names for of such services via a geomerchant surface.

GoogleLocation

Represents a Location that is present on Google. This can be a location that has been claimed by the user, someone else, or could be unclaimed.

GoogleUpdatedLocation

Represents a location that was modified by Google.

Label

Label to be used when displaying the price list, section, or item.

LatLng

An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.

ListAttributeMetadataResponse

Response for AttributesService.ListAttributeMetadata.

ListCategoriesResponse

Response message for BusinessCategories.ListCategories.

ListLocationsResponse

Response message for Locations.ListLocations.

Location

A location. See the [help center article] (https://support.google.com/business/answer/3038177) for a detailed description of these fields, or the category endpoint for a list of valid business categories.

LocationsGetGoogleUpdatedOptions

Additional options for MyBusinessBusinessInformation#locationsGetGoogleUpdated.

LocationsGetOptions

Additional options for MyBusinessBusinessInformation#locationsGet.

LocationsPatchOptions

Additional options for MyBusinessBusinessInformation#locationsPatch.

LocationsUpdateAttributesOptions

Additional options for MyBusinessBusinessInformation#locationsUpdateAttributes.

Metadata

Additional non-user-editable information about the location.

Money

Represents an amount of money with its currency type.

MoreHours

The time periods during which a location is open for certain types of business.

MoreHoursType

More hours types that a business can offers, in addition to its regular hours.

OpenInfo

Information related to the opening state of the business.

PhoneNumbers

A collection of phone numbers for the business. During updates, both fields must be set. Clients may not update just the primary or additional phone numbers using the update mask. International phone format is preferred, such as "+1 415 555 0132", see more in (https://developers.google.com/style/phone-numbers#international-phone-numbers).

PlaceInfo

Defines an area that's represented by a place ID.

Places

Defines the union of areas represented by a set of places.

PostalAddress

Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478

Profile

All information pertaining to the location's profile.

RelationshipData

Information of all parent and children locations related to this one.

RelevantLocation

Information about another location that is related to current one. The relation can be any one of DEPARTMENT_OF or INDEPENDENT_ESTABLISHMENT_OF, and the location specified here can be on either side (parent/child) of the location.

RepeatedEnumAttributeValue

Values for an attribute with a value_type of REPEATED_ENUM. This consists of two lists of value IDs: those that are set (true) and those that are unset (false). Values absent are considered unknown. At least one value must be specified.

SearchChainsResponse

Response message for Locations.SearchChains.

SearchGoogleLocationsRequest

Request message for GoogleLocations.SearchGoogleLocations.

SearchGoogleLocationsResponse

Response message for GoogleLocations.SearchGoogleLocations.

ServiceAreaBusiness

Service area businesses provide their service at the customer's location (for example, a locksmith or plumber).

ServiceItem

A message that describes a single service item. It is used to describe the type of service that the merchant provides. For example, haircut can be a service.

ServiceType

A message describing a service type that the business offers.

SpecialHourPeriod

Represents a single time period when a location's operational hours differ from its normal business hours. A special hour period must represent a range of less than 24 hours. The open_time and start_date must predate the close_time and end_date. The close_time and end_date can extend to 11:59 a.m. on the day after the specified start_date. For example, the following inputs are valid: start_date=2015-11-23, open_time=08:00, close_time=18:00 start_date=2015-11-23, end_date=2015-11-23, open_time=08:00, close_time=18:00 start_date=2015-11-23, end_date=2015-11-24, open_time=13:00, close_time=11:59 The following inputs are not valid: start_date=2015-11-23, open_time=13:00, close_time=11:59 start_date=2015-11-23, end_date=2015-11-24, open_time=13:00, close_time=12:00 start_date=2015-11-23, end_date=2015-11-25, open_time=08:00, close_time=18:00

SpecialHours

Represents a set of time periods when a location's operational hours differ from its normal business hours.

StructuredServiceItem

Represents a structured service offered by the merchant. For eg: toilet_installation.

TimeOfDay

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.

TimePeriod

Represents a span of time that the business is open, starting on the specified open day/time and closing on the specified close day/time. The closing time must occur after the opening time, for example later in the same day, or on a subsequent day.

UriAttributeValue

Values for an attribute with a value_type of URL.