REST Resource: projects.locations
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:Location
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
服务专属元数据。例如,指定位置的可用容量。 包含任意类型的字段的对象。附加字段 "@type" 包含用于标示相应类型的 URI。示例:{ "id": 1234, "@type": "types.example.com/standard/id" } 。
|
方法 |
|
获取位置相关信息。 |
|
列出有关此服务所支持位置的信息。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-05-24。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
{"lastModified": "\u6700\u540e\u66f4\u65b0\u65f6\u95f4 (UTC)\uff1a2024-05-24\u3002"}