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

MyBusinessLodging

import { MyBusinessLodging } from "https://googleapis.deno.dev/v1/mybusinesslodging:v1.ts";

The My Business Lodging API enables managing lodging business information on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.

class MyBusinessLodging {
constructor(client?: CredentialsClient, baseUrl?: string);
async locationsGetLodging(name: string, opts?: LocationsGetLodgingOptions): Promise<Lodging>;
async locationsLodgingGetGoogleUpdated(name: string, opts?: LocationsLodgingGetGoogleUpdatedOptions): Promise<GetGoogleUpdatedLodgingResponse>;
async locationsUpdateLodging(
name: string,
req: Lodging,
): Promise<Lodging>;
}

§Constructors

§
new MyBusinessLodging(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
locationsGetLodging(name: string, opts?: LocationsGetLodgingOptions): Promise<Lodging>
[src]

Returns the Lodging of a specific location.

@param name

Required. Google identifier for this location in the form: locations/{location_id}/lodging

§
locationsLodgingGetGoogleUpdated(name: string, opts?: LocationsLodgingGetGoogleUpdatedOptions): Promise<GetGoogleUpdatedLodgingResponse>
[src]

Returns the Google updated Lodging of a specific location.

@param name

Required. Google identifier for this location in the form: locations/{location_id}/lodging

§
locationsUpdateLodging(name: string, req: Lodging, opts?: LocationsUpdateLodgingOptions): Promise<Lodging>
[src]

Updates the Lodging of a specific location.

@param name

Required. Google identifier for this location in the form: locations/{location_id}/lodging