---
title: "POST /v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}:startManualRuns"
method: POST
path: "/v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}:startManualRuns"
tags: ["projects"]
---

# POST /v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}:startManualRuns

`POST /v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}:startManualRuns`

## Request

- Base URL: `https://bigquerydatatransfer.googleapis.com`
- URL: `https://bigquerydatatransfer.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/transferConfigs/{transferConfigsId}:startManualRuns`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/bigquery`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/bigquery`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Manually initiates transfer runs. You can schedule these runs in two ways: 1. For a specific point in time using the 'requested_run_time' parameter. 2. For a period between 'start_time' (inclusive) and 'end_time' (exclusive). If scheduling a single run, it is set to execute immediately (schedule_time equals the current time). When scheduling multiple runs within a time range, the first run starts now, and subsequent runs are delayed by 15 seconds each.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `transferConfigsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Request body

- StartManualTransferRunsRequest: A request to start manual transfer runs.
  - `requestedRunTime` string, google-datetime: A run_time timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_run_time must be a past time and cannot include future time values.
  - `requestedTimeRange` TimeRange: A specification for a time range, this will request transfer runs with run_time between start_time (inclusive) and end_time (exclusive).
    - `endTime` string, google-datetime: End time of the range of transfer runs. For example, `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future. Creates transfer runs where run_time is in the range between start_time (inclusive) and end_time (exclusive).
    - `startTime` string, google-datetime: Start time of the range of transfer runs. For example, `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than the end_time. Creates transfer runs where run_time is in the range between start_time (inclusive) and end_time (exclusive).

## Response `200`

Successful response

- StartManualTransferRunsResponse: A response to start manual transfer runs.
  - `runs` TransferRun[]: The transfer runs that were created.
    - `dataSourceId` string: Output only. Data source id.
    - `destinationDatasetId` string: Output only. The BigQuery target dataset id.
    - `emailPreferences` EmailPreferences: Represents preferences for sending email notifications for transfer run events.
      - `enableFailureEmail` boolean: If true, email notifications will be sent on transfer run failures.
    - `endTime` string, google-datetime: Output only. Time when transfer run ended. Parameter ignored by server for input requests.
    - `errorStatus` Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
      - `code` integer: The status code, which should be an enum value of google.rpc.Code.
      - `details` object[]: A list of messages that carry the error details. There is a common set of message types for APIs to use.
      - `message` string: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    - `name` string: Identifier. The resource name of the transfer run. Transfer run names have the form `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`. The name is ignored when creating a transfer run.
    - `notificationPubsubTopic` string: Output only. Pub/Sub topic where a notification will be sent after this transfer run finishes. The format for specifying a pubsub topic is: `projects/{project_id}/topics/{topic_id}`
    - `parameterConfig` ParameterConfig: Configuration for data source parameters.
      - `secretManagerManagedParams` string[]: Optional. The list of parameters that are stored in Secret Manager. The value of a parameter included in this list will be interpreted as a Secret Manager key version resource name instead of a raw value. The raw value will be retrieved from Secret Manager upon execution.
    - `params` object: Output only. Parameters specific to each data source. For more information see the bq tab in the 'Setting up a data transfer' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq
    - `runTime` string, google-datetime: For batch transfer runs, specifies the date and time of the data should be ingested.
    - `schedule` string: Output only. Describes the schedule of this transfer run if it was created as part of a regular schedule. For batch transfer runs that are scheduled manually, this is empty. NOTE: the system might choose to delay the schedule depending on the current load, so `schedule_time` doesn't always match this.
    - `scheduleTime` string, google-datetime: Minimum time after which a transfer run can be started.
    - `startTime` string, google-datetime: Output only. Time when transfer run was started. Parameter ignored by server for input requests.
    - `state` 'TRANSFER_STATE_UNSPECIFIED' | 'PENDING' | 'RUNNING' | 'SUCCEEDED' | 'FAILED' | 'CANCELLED': Data transfer run state. Ignored for input requests.
    - `updateTime` string, google-datetime: Output only. Last time the data transfer run state was updated.
    - `userId` string, int64: Deprecated. Unique ID of the user on whose behalf transfer is done.

---

[API](https://skmtc.dev/google/apis/bigquerydatatransfer.md) - [All operations](https://skmtc.dev/google/apis/bigquerydatatransfer/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/bigquerydatatransfer/revisions/0de47e8db40e?raw)
