REST Resource: projects.locations

資源:Location

代表 Google Cloud 位置的資源。

JSON 表示法
{
  "name": string,
  "locationId": string,
  "displayName": string,
  "labels": {
    string: string,
    ...
  },
  "metadata": {
    "@type": string,
    field1: ...,
    ...
  }
}
欄位
name

string

區域的完整資源名稱。例如:「projects/example-project/locations/us-east1」。

locationId

string

區域的資源 ID。例如:「us-east1」。

displayName

string

這個位置的易記名稱,通常是附近的城市名稱,例如「東京」。

labels

map (key: string, value: string)

位置的跨服務屬性。例如

{"cloud.googleapis.com/region": "us-east1"}

包含 "key": value 組合清單的物件。例如 { "name": "wrench", "mass": "1.3kg", "count": "3" }。

metadata

object

僅供輸出。位置中的可用區集合。地圖會以每個可用區的小寫 ID 做為鍵,如 Compute Engine 所定義。建立 Redis 執行個體時,可以在 locationId 或 alternative_location_id 欄位中指定這些金鑰。

方法

get

取得位置的相關資訊。

getSharedRegionalCertificateAuthority

取得 Redis 叢集的區域憑證授權單位資訊詳細資料。

list

列出這項服務支援位置的相關資訊。