My Business Lodging API
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
My Business Lodging API を使用すると、Google に掲載されている宿泊施設に関するビジネス情報を管理できます。
注 - API を有効にした後に割り当てが 0 の場合は、GBP の API アクセスをリクエストしてください。
サービス: mybusinesslodging.googleapis.com
このサービスを呼び出すには、Google が提供するクライアント ライブラリを使用することをおすすめします。アプリケーションで独自のライブラリを使用してこのサービスを呼び出す必要がある場合は、API リクエストを行う際に次の情報を使用します。
ディスカバリ ドキュメント
ディスカバリ ドキュメントは、REST API を記述して使用するための機械可読仕様です。クライアント ライブラリ、IDE プラグイン、Google API と連携するその他のツールのビルドに使用されます。1 つのサービスで複数のディスカバリ ドキュメントを提供できます。このサービスには、次の検索ドキュメントが用意されています。
サービス エンドポイント
サービス エンドポイントは、API サービスのネットワーク アドレスを指定するベース URL です。1 つのサービスに複数のサービス エンドポイントが存在することがあります。このサービスには次のサービス エンドポイントがあり、以下のすべての URI がこのサービス エンドポイントに関連しています。
https://mybusinesslodging.googleapis.com
Methods |
getLodging |
GET /v1/{name=locations/*/lodging}
特定の場所の宿泊施設を返します。 |
updateLodging |
PATCH /v1/{lodging.name=locations/*/lodging}
特定の場所の宿泊施設を更新します。 |
Methods |
getGoogleUpdated |
GET /v1/{name=locations/*/lodging}:getGoogleUpdated
Google が更新した特定の場所の宿泊施設を返します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-01 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2023-12-01 UTC。"],[[["The My Business Lodging API allows management of lodging business information on Google."],["You may need to request access to the GBP API if your quota is 0 after enabling the API."],["Client libraries are recommended for using this service, but the discovery document and service endpoint are provided for custom integrations."],["The API provides methods to retrieve and update lodging information for specific locations, including Google's updates."]]],["The My Business Lodging API manages lodging business data on Google, accessible via `mybusinesslodging.googleapis.com`. It provides two REST resources: `v1.locations` and `v1.locations.lodging`. `v1.locations` allows retrieving (`getLodging`) and updating (`updateLodging`) a specific location's lodging data. `v1.locations.lodging` permits retrieval of Google's updated lodging information (`getGoogleUpdated`). Access may require requesting GBP API access if the initial quota is zero. Client libraries are recommended; a discovery document is available for custom implementations.\n"]]