Skip to main content

locations

Creates, updates, deletes, gets or lists a locations resource.

Overview

Namelocations
TypeResource
Idgoogle.logging.locations

Fields

NameDatatypeDescription
namestringResource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1"
displayNamestringThe friendly name for this location, typically a nearby city name. For example, "Tokyo".
labelsobjectCross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
locationIdstringThe canonical id for this location. For example: "us-east1".
metadataobjectService-specific metadata. For example the available capacity at the given location.

Methods

NameAccessible byRequired ParamsDescription
billing_accounts_locations_getSELECTbillingAccountsId, locationsIdGets information about a location.
billing_accounts_locations_listSELECTbillingAccountsIdLists information about the supported locations for this service.
folders_locations_getSELECTfoldersId, locationsIdGets information about a location.
folders_locations_listSELECTfoldersIdLists information about the supported locations for this service.
locations_listSELECTnameLists information about the supported locations for this service.
organizations_locations_getSELECTlocationsId, organizationsIdGets information about a location.
organizations_locations_listSELECTorganizationsIdLists information about the supported locations for this service.
projects_locations_getSELECTlocationsId, projectsIdGets information about a location.
projects_locations_listSELECTprojectsIdLists information about the supported locations for this service.

SELECT examples

Lists information about the supported locations for this service.

SELECT
name,
displayName,
labels,
locationId,
metadata
FROM google.logging.locations
WHERE name = '{{ name }}';