Skip to main content

transfer_resources

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

Overview

Nametransfer_resources
TypeResource
Idgoogle.bigquerydatatransfer.transfer_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. Resource name.
destinationstringOptional. Resource destination. (RESOURCE_DESTINATION_UNSPECIFIED, RESOURCE_DESTINATION_BIGQUERY, RESOURCE_DESTINATION_DATAPROC_METASTORE, RESOURCE_DESTINATION_BIGLAKE_METASTORE, RESOURCE_DESTINATION_BIGLAKE_REST_CATALOG, RESOURCE_DESTINATION_BIGLAKE_HIVE_CATALOG)
hierarchyDetailobjectOptional. Details about the hierarchy. (id: HierarchyDetail)
lastSuccessfulRunobjectOutput only. Run details for the last successful run. (id: TransferRunBrief)
latestRunobjectOptional. Run details for the latest run. (id: TransferRunBrief)
latestStatusDetailobjectOptional. Status details for the latest run. (id: TransferResourceStatusDetail)
typestringOptional. Resource type. (RESOURCE_TYPE_UNSPECIFIED, RESOURCE_TYPE_TABLE, RESOURCE_TYPE_PARTITION)
updateTimestring (google-datetime)Output only. Time when the resource was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_transfer_configs_transfer_resources_getselectprojectsId, locationsId, transferConfigsId, transferResourcesIdReturns a transfer resource.
projects_transfer_configs_transfer_resources_getselectprojectsId, transferConfigsId, transferResourcesIdReturns a transfer resource.
projects_locations_transfer_configs_transfer_resources_listselectprojectsId, locationsId, transferConfigsIdpageSize, pageToken, filterReturns information about transfer resources.
projects_transfer_configs_transfer_resources_listselectprojectsId, transferConfigsIdpageSize, pageToken, filterReturns information about transfer resources.

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
transferConfigsIdstring
transferResourcesIdstring
filterstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Returns a transfer resource.

SELECT
name,
destination,
hierarchyDetail,
lastSuccessfulRun,
latestRun,
latestStatusDetail,
type,
updateTime
FROM google.bigquerydatatransfer.transfer_resources
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND transferConfigsId = '{{ transferConfigsId }}' -- required
AND transferResourcesId = '{{ transferResourcesId }}' -- required
;