索引
Locations(介面)GetLocationRequest(訊息)ListLocationsRequest(訊息)ListLocationsResponse(訊息)Location(訊息)
位置
一種抽象介面,提供服務適用的位置相關資訊。服務專用的中繼資料是透過 Location.metadata 欄位提供。
| GetLocation |
|---|
|
取得位置相關資訊。
|
| ListLocations |
|---|
|
列出這項服務支援位置的相關資訊。
|
GetLocationRequest
Locations.GetLocation 的要求訊息。
| 欄位 | |
|---|---|
name |
位置的資源名稱。 |
ListLocationsRequest
Locations.ListLocations 的要求訊息。
| 欄位 | |
|---|---|
name |
擁有位置集合的資源 (如果適用的話)。 |
filter |
篩選器:可將結果範圍縮小至偏好的子集。篩選語言接受 |
page_size |
要傳回的結果數上限。如未設定,服務會選取預設值。 |
page_token |
從回應的 |
ListLocationsResponse
Locations.ListLocations 的回應訊息。
| 欄位 | |
|---|---|
locations[] |
符合要求中指定篩選器的位置清單。 |
next_page_token |
標準清單下一頁符記。 |
位置
代表 Google Cloud Platform 位置的一種資源。
| 欄位 | |
|---|---|
name |
位置的資源名稱,可以隨不同的實作而改變。例如: |
location_id |
這個位置的標準 ID,例如 |
display_name |
這個位置的易記名稱,通常是附近的城市名稱,例如「東京」。 |
labels |
位置的跨服務屬性。例如 |
metadata |
服務專用的中繼資料,例如指定位置的可用容量。 |