資源:位置
品牌的實際位置相關資訊。
JSON 表示法 |
---|
{ "name": string, "placeId": string, "locationEntryPointConfigs": [ { object ( |
欄位 | |
---|---|
name |
地點的專屬 ID。 唯讀。由平台定義。 |
placeId |
必要欄位。地點的地點 ID,或是 Google 地圖中的專屬 ID。 透過代理程式為使用者提供服務後,即無法修改。 |
locationEntryPointConfigs[] |
位置的進入點設定清單。 透過代理程式為使用者提供服務後,即無法修改。 |
agent |
必要欄位。與地點相關聯的服務專員名稱。如果品牌 ID 是「1234」且服務專員 ID 為「5678」,這個欄位會解析為「brands/1234/agents/5678」。 |
locationTestUrl |
僅供輸出。用於測試該地點對話體驗的網址。 由平台定義。 |
testUrls[] |
僅供輸出。網址,用於測試該地點的對話體驗。 由平台定義。 |
conversationalSettings |
選用設定。與某個語言對應的對話設定。語言代碼會以格式正確的 IETF BCP 47 語言標記表示。 這個物件中包含 |
defaultLocale |
必要欄位。位置的預設語言代碼。 |
listingId |
僅供輸出。識別與這個地點相關聯的 Google 我的商家資訊。 |
LocationEntryPointConfig
位置的進入點設定。
JSON 表示法 |
---|
{
"allowedEntryPoint": enum ( |
欄位 | |
---|---|
allowedEntryPoint |
必要欄位。允許顯示該地點的 Google 平台。 |
EntryPoint
允許顯示該地點的 Google 平台。
列舉 | |
---|---|
ENTRY_POINT_UNSPECIFIED |
未指定進入點。 |
PLACESHEET |
使用者在 Google 搜尋上搜尋商家所在地點時顯示。 |
MAPS_TACTILE |
使用者在 Google 地圖上搜尋商家所在地點時顯示。 |
方法 |
|
---|---|
|
為品牌建立新地點。 |
|
刪除位置。 |
|
取得位置相關資訊。 |
|
取得地點的推出資訊。 |
|
取得地點的驗證資訊。 |
|
列出品牌的所有地點。 |
|
更新位置的相關資訊。 |
|
開始某地點的推出程序。 |
|
開始驗證地點。 |
|
更新營業地點的推出資訊。 |