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

์ด ์œ„์น˜์˜ ๋ณ„์นญ์œผ๋กœ, ์ผ๋ฐ˜์ ์œผ๋กœ ์ธ๊ทผ ๋„์‹œ ์ด๋ฆ„์ž…๋‹ˆ๋‹ค. ์˜ˆ: 'Tokyo'

labels

map (key: string, value: string)

์œ„์น˜์— ๋Œ€ํ•œ ๊ต์ฐจ ์„œ๋น„์Šค ์†์„ฑ์ž…๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

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

"key": value ์Œ ๋ชฉ๋ก์„ ํฌํ•จํ•˜๋Š” ๊ฐ์ฒด์ž…๋‹ˆ๋‹ค. ์˜ˆ: { "name": "wrench", "mass": "1.3kg", "count": "3" }

metadata

object

์„œ๋น„์Šค๋ณ„ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ์ž…๋‹ˆ๋‹ค. ์˜ˆ: ํŠน์ • ์œ„์น˜์˜ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์šฉ๋Ÿ‰

๋ฉ”์„œ๋“œ

get

์œ„์น˜ ์ •๋ณด๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค.

list

์ด ์„œ๋น„์Šค์— ์ง€์›๋˜๋Š” ์œ„์น˜ ์ •๋ณด๋ฅผ ๋‚˜์—ดํ•ฉ๋‹ˆ๋‹ค.