locations
Creates, updates, deletes, gets or lists a locations
resource.
Overview
Name | locations |
Type | Resource |
Id | google.bigquerydatatransfer.locations |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1" |
displayName | string | The friendly name for this location, typically a nearby city name. For example, "Tokyo". |
labels | object | Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} |
locationId | string | The canonical id for this location. For example: "us-east1" . |
metadata | object | Service-specific metadata. For example the available capacity at the given location. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_get | SELECT | locationsId, projectsId | Gets information about a location. |
projects_locations_list | SELECT | projectsId | Lists information about the supported locations for this service. |
projects_locations_enroll_data_sources | EXEC | locationsId, projectsId | Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the ListDataSources RPC and as such, will appear in the BigQuery UI, and the documents can be found in the public guide for BigQuery Web UI and Data Transfer Service. |
projects_locations_unenroll_data_sources | EXEC | locationsId, projectsId | Unenroll data sources in a user project. This allows users to remove transfer configurations for these data sources. They will no longer appear in the ListDataSources RPC and will also no longer appear in the BigQuery UI. Data transfers configurations of unenrolled data sources will not be scheduled. |
SELECT
examples
Lists information about the supported locations for this service.
SELECT
name,
displayName,
labels,
locationId,
metadata
FROM google.bigquerydatatransfer.locations
WHERE projectsId = '{{ projectsId }}';