Skip to main content

regions

Overview

Nameregions
TypeResource
Idgoogle.compute.regions

Fields

NameDatatypeDescription
idstring[Output Only] The unique identifier for the resource. This identifier is defined by the server.
namestring[Output Only] Name of the resource.
descriptionstring[Output Only] Textual description of the resource.
statusstring[Output Only] Status of the region, either UP or DOWN.
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
quotasarray[Output Only] Quotas assigned to this region.
deprecatedobjectDeprecation status for a public resource.
selfLinkstring[Output Only] Server-defined URL for the resource.
kindstring[Output Only] Type of the resource. Always compute#region for regions.
supportsPzsboolean[Output Only] Reserved for future use.
zonesarray[Output Only] A list of zones available in this region, in the form of resource URLs.

Methods

NameAccessible byRequired ParamsDescription
getSELECTproject, regionReturns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the quotas field). To exclude one or more fields, set your request's fields query parameter to only include the fields you need. For example, to only include the id and selfLink fields, add the query parameter ?fields=id,selfLink to your request.
listSELECTprojectRetrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the items.quotas field). To exclude one or more fields, set your request's fields query parameter to only include the fields you need. For example, to only include the id and selfLink fields, add the query parameter ?fields=id,selfLink to your request.