REST Resource: projects.locations

Resource: Location

A resource that represents a Google Cloud location.

JSON representation
{
  "name": string,
  "locationId": string,
  "displayName": string,
  "labels": {
    string: string,
    ...
  },
  "metadata": {
    "@type": string,
    field1: ...,
    ...
  }
}
Fields
name

string

Full resource name for the region. For example: "projects/example-project/locations/us-east1".

locationId

string

Resource ID for the region. 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"}

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

metadata

object

Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by Compute Engine. These keys can be specified in locationId or alternativeLocationId fields when creating a Redis instance.

Methods

get

Gets information about a location.

list

Lists information about the supported locations for this service.