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/{project_id}/transferConfigs/{config_id}.

Authorization requires one or more of the following Google IAM permissions on the specified resource parent:

  • resourcemanager.projects.own
  • resourcemanager.projects.update
  • bigquery.transfers.update

Request body

The request body contains data with the following structure:

JSON representation
{
  "startTime": string,
  "endTime": string,
}
Fields
startTime

string (Timestamp format)

Start time of the range of transfer runs. For example, "2017-05-25T00:00:00+00:00".

endTime

string (Timestamp format)

End time of the range of transfer runs. For example, "2017-05-30T00:00:00+00:00".

Response body

If successful, the response body contains an instance of ScheduleTransferRunsResponse.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Auth Guide.

Try it!

Send feedback about...