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 an instance of ScheduleTransferRunsResponse.

Authorization

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/bigquery
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Auth Guide.

Try it!

Send feedback about...