Skip to main content

locations

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

Overview

Namelocations
TypeResource
Idgoogle.dataplex.locations

Fields

The following fields are returned by SELECT queries:

Successful response

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

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_getselectprojectsId, locationsIdGets information about a location.
projects_locations_listselectprojectsIdfilter, pageSize, pageToken, extraLocationTypesLists information about the supported locations for this service.
projects_locations_lookup_entryexecprojectsId, locationsIdview, aspectTypes, paths, entryLooks up an entry by name using the permission on the source system.
projects_locations_search_entriesexecprojectsId, locationsIdquery, pageSize, pageToken, orderBy, scope, semanticSearchSearches for Entries matching the given query and scope.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring
aspectTypesstring
entrystring
extraLocationTypesstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
pathsstring
querystring
scopestring
semanticSearchboolean
viewstring

SELECT examples

Gets information about a location.

SELECT
name,
displayName,
labels,
locationId,
metadata
FROM google.dataplex.locations
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required;

Lifecycle Methods

Looks up an entry by name using the permission on the source system.

EXEC google.dataplex.locations.projects_locations_lookup_entry 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@view='{{ view }}',
@aspectTypes='{{ aspectTypes }}',
@paths='{{ paths }}',
@entry='{{ entry }}';