Method: projects.transferConfigs.scheduleRuns

Creates transfer runs for a time range [rangeStartTime, rangeEndTime]. For each date - or whatever granularity the data source supports - in the range, one transfer run is created. Note that runs are created per UTC time in the time range.

HTTP request

POST https://bigquerydatatransfer.googleapis.com/v1/{parent=projects/*/transferConfigs/*}:scheduleRuns

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
parent

string

Transfer configuration name in the form: projects/{projectId}/transferConfigs/{config_id}.

Request body

The request body contains data with the following structure:

JSON representation
{
  "rangeStartTime": string,
  "rangeEndTime": string,
}
Fields
rangeStartTime

string (Timestamp format)

Start time of the range of transfer runs.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

rangeEndTime

string (Timestamp format)

End time of the range of transfer runs.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

Response body

If successful, the response body contains data with the following structure:

A response to schedule transfer runs for a time range.

JSON representation
{
  "createdRuns": [
    {
      object(TransferRun)
    }
  ],
}
Fields
createdRuns[]

object(TransferRun)

The transfer runs that were created.

Authorization

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/bigquery

For more information, see the Auth Guide.

Send feedback about...