REST Resource: projects.locations
bookmark_borderbookmark
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源: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。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-05-24。"],[],[]]