Skip to main content

transfer_logs

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

Overview

Nametransfer_logs
TypeResource
Idgoogle.bigquerydatatransfer.transfer_logs

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
messageTextstringMessage text.
messageTimestring (google-datetime)Time when message was logged.
severitystringMessage severity.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_transfer_configs_runs_transfer_logs_listselectprojectsId, locationsId, transferConfigsId, runsIdpageToken, pageSize, messageTypesReturns log messages for the transfer run.
projects_transfer_configs_runs_transfer_logs_listselectprojectsId, transferConfigsId, runsIdpageToken, pageSize, messageTypesReturns log messages for the transfer run.

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
runsIdstring
transferConfigsIdstring
messageTypesstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Returns log messages for the transfer run.

SELECT
messageText,
messageTime,
severity
FROM google.bigquerydatatransfer.transfer_logs
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND transferConfigsId = '{{ transferConfigsId }}' -- required
AND runsId = '{{ runsId }}' -- required
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}'
AND messageTypes = '{{ messageTypes }}';