ListLocationsResponse
Stay organized with collections
Save and categorize content based on your preferences.
JSON representation |
{
"locations": [
{
object (Location )
}
],
"nextPageToken": string
} |
Fields |
locations[] |
object (Location )
A list of locations that matches the specified filter in the request.
|
nextPageToken |
string
The standard List next-page token.
|
Location
A resource that represents Google Cloud Platform location.
JSON representation |
{
"name": string,
"locationId": string,
"displayName": string,
"labels": {
string: string,
...
},
"metadata": {
"@type": string,
field1: ...,
...
}
} |
Fields |
name |
string
Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1"
|
locationId |
string
The canonical id for this location. For example: "us-east1" .
|
displayName |
string
The friendly name for this location, typically a nearby city name. For example, "Tokyo".
|
labels |
map (key: string, value: string)
Cross-service attributes for the location. For example
{"cloud.googleapis.com/region": "us-east1"}
|
metadata |
object
Service-specific metadata. For example the available capacity at the given location. An object containing fields of an arbitrary type. An additional field "@type" contains a URI identifying the type. Example: { "id": 1234, "@type": "types.example.com/standard/id" } .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-12-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-12-17 UTC."],[[["The JSON representation of the `ListLocations` response includes an array of `locations` objects and a `nextPageToken` string for pagination."],["Each `locations` object represents a Google Cloud Platform location, with properties like `name`, `locationId`, `displayName`, `labels`, and `metadata`."],["`locationId` is the canonical identifier for a location (e.g., \"us-east1\"), while `displayName` provides a user-friendly name (e.g., \"Tokyo\")."],["The `metadata` section in the location object allows for service-specific information and it contains a field `@type` to indicate the type of data."],["The `labels` section of a location object is a map of key-value pairs, it will include cross service attributes."]]],[]]