"description":"A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
"type":"object",
"properties":{},
"id":"Empty"
},
"Location":{
"description":"A resource that represents Google Cloud Platform location.",
"type":"object",
"properties":{
"labels":{
"description":"Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}",
"description":"Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`",
"description":"The canonical id for this location. For example: `\"us-east1\"`.",
"type":"string"
},
"metadata":{
"additionalProperties":{
"description":"Properties of the object. Contains field @type with type URL.",
"type":"any"
},
"description":"Service-specific metadata. For example the available capacity at the given\nlocation.",
"type":"object"
}
},
"id":"Location"
},
"TransferConfig":{
"id":"TransferConfig",
"description":"Represents a data transfer configuration. A transfer configuration\ncontains all metadata needed to perform a data transfer. For example,\n`destination_dataset_id` specifies where data should be stored.\nWhen a new transfer configuration is created, the specified\n`destination_dataset_id` is created when needed and shared with the\nappropriate data source service account.",
"type":"object",
"properties":{
"dataRefreshWindowDays":{
"description":"The number of days to look back to automatically refresh the data.\nFor example, if `data_refresh_window_days = 10`, then every day\nBigQuery reingests data for [today-10, today-1], rather than ingesting data\nfor just [today-1].\nOnly valid if the data source supports the feature. Set the value to 0\nto use the default value.",
"format":"int32",
"type":"integer"
},
"dataSourceId":{
"description":"Data source id. Cannot be changed once data transfer is created.",
"type":"string"
},
"state":{
"enumDescriptions":[
"State placeholder.",
"Data transfer is scheduled and is waiting to be picked up by\ndata transfer backend.",
"Data transfer is in progress.",
"Data transfer completed successsfully.",
"Data transfer failed.",
"Data transfer is cancelled."
],
"enum":[
"TRANSFER_STATE_UNSPECIFIED",
"PENDING",
"RUNNING",
"SUCCEEDED",
"FAILED",
"CANCELLED"
],
"description":"Output only. State of the most recently updated transfer run.",
"type":"string"
},
"userId":{
"description":"Output only. Unique ID of the user on whose behalf transfer is done.\nApplicable only to data sources that do not support service accounts.\nWhen set to 0, the data source service account credentials are used.\nMay be negative. Note, that this identifier is not stable.\nIt may change over time even for the same user.",
"format":"int64",
"type":"string"
},
"destinationDatasetId":{
"description":"The BigQuery target dataset id.",
"type":"string"
},
"name":{
"description":"The resource name of the transfer config.\nTransfer config names have the form\n`projects/{project_id}/transferConfigs/{config_id}`.\nWhere `config_id` is usually a uuid, even though it is not\nguaranteed or required. The name is ignored when creating a transfer\nconfig.",
"type":"string"
},
"params":{
"description":"Data transfer specific parameters.",
"type":"object",
"additionalProperties":{
"description":"Properties of the object.",
"type":"any"
}
},
"datasetRegion":{
"description":"Output only. Region in which BigQuery dataset is located.",
"type":"string"
},
"displayName":{
"description":"User specified display name for the data transfer.",
"type":"string"
},
"nextRunTime":{
"description":"Output only. Next time when data transfer will run.",
"format":"google-datetime",
"type":"string"
},
"disabled":{
"description":"Is this config disabled. When set to true, no runs are scheduled\nfor a given transfer.",
"type":"boolean"
},
"updateTime":{
"description":"Output only. Data transfer modification time. Ignored by server on input.",
"format":"google-datetime",
"type":"string"
},
"schedule":{
"description":"Data transfer schedule.\nIf the data source does not support a custom schedule, this should be\nempty. If it is empty, the default value for the data source will be\nused.\nThe specified times are in UTC.\nExamples of valid format:\n`1st,3rd monday of month 15:30`,\n`every wed,fri of jan,jun 13:15`, and\n`first sunday of quarter 00:00`.\nSee more explanation about the format here:\nhttps://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format\nNOTE: the granularity should be at least 8 hours, or less frequent.",
"description":"Represents a data transfer run.\nNext id: 24",
"type":"object",
"properties":{
"scheduleTime":{
"description":"Minimum time after which a transfer run can be started.",
"format":"google-datetime",
"type":"string"
},
"errorStatus":{
"$ref":"Status",
"description":"Status of the transfer run."
},
"updateTime":{
"description":"Output only. Last time the data transfer run state was updated.",
"format":"google-datetime",
"type":"string"
},
"schedule":{
"description":"Output only. Describes the schedule of this transfer run if it was\ncreated as part of a regular schedule. For batch transfer runs that are\nscheduled manually, this is empty.\nNOTE: the system might choose to delay the schedule depending on the\ncurrent load, so `schedule_time` doesn't always matches this.",
"type":"string"
},
"runTime":{
"description":"For batch transfer runs, specifies the date and time that\ndata should be ingested.",
"format":"google-datetime",
"type":"string"
},
"dataSourceId":{
"description":"Output only. Data source id.",
"type":"string"
},
"state":{
"enumDescriptions":[
"State placeholder.",
"Data transfer is scheduled and is waiting to be picked up by\ndata transfer backend.",
"Data transfer is in progress.",
"Data transfer completed successsfully.",
"Data transfer failed.",
"Data transfer is cancelled."
],
"enum":[
"TRANSFER_STATE_UNSPECIFIED",
"PENDING",
"RUNNING",
"SUCCEEDED",
"FAILED",
"CANCELLED"
],
"description":"Data transfer run state. Ignored for input requests.",
"type":"string"
},
"name":{
"description":"The resource name of the transfer run.\nTransfer run names have the form\n`projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`.\nThe name is ignored when creating a transfer run.",
"type":"string"
},
"destinationDatasetId":{
"description":"The BigQuery target dataset id.",
"type":"string"
},
"userId":{
"description":"Output only. Unique ID of the user on whose behalf transfer is done.\nApplicable only to data sources that do not support service accounts.\nWhen set to 0, the data source service account credentials are used.\nMay be negative. Note, that this identifier is not stable.\nIt may change over time even for the same user.",
"format":"int64",
"type":"string"
},
"params":{
"description":"Data transfer specific parameters.",
"description":"A request to determine whether the user has valid credentials. This method\nis used to limit the number of OAuth popups in the user interface. The\nuser id is inferred from the API call context.\nIf the data source has the Google+ authorization type, this method\nreturns false, as it cannot be determined whether the credentials are\nalready valid merely based on the user id.",
"description":"The returned list transfer run messages.",
"type":"object",
"properties":{
"transferMessages":{
"description":"Output only. The stored pipeline transfer messages.",
"type":"array",
"items":{
"$ref":"TransferMessage"
}
},
"nextPageToken":{
"description":"Output only. The next-pagination token. For multiple-page list results,\nthis token can be used as the\n`GetTransferRunLogRequest.page_token`\nto request the next page of list results.",
"description":"Output only. The next-pagination token. For multiple-page list results,\nthis token can be used as the\n`ListDataSourcesRequest.page_token`\nto request the next page of list results.",
"type":"string"
}
},
"id":"ListDataSourcesResponse"
},
"DataSourceParameter":{
"description":"Represents a data source parameter with validation rules, so that\nparameters can be rendered in the UI. These parameters are given to us by\nsupported data sources, and include all needed information for rendering\nand validation.\nThus, whoever uses this api can decide to generate either generic ui,\nor custom data source specific forms.",
"type":"object",
"properties":{
"displayName":{
"description":"Parameter display name in the user interface.",
"description":"Output only. The next-pagination token. For multiple-page list results,\nthis token can be used as the\n`ListTransferRunsRequest.page_token`\nto request the next page of list results.",
"type":"string"
}
}
},
"ListTransferConfigsResponse":{
"id":"ListTransferConfigsResponse",
"description":"The returned list of pipelines in the project.",
"type":"object",
"properties":{
"transferConfigs":{
"description":"Output only. The stored pipeline transfer configurations.",
"type":"array",
"items":{
"$ref":"TransferConfig"
}
},
"nextPageToken":{
"description":"Output only. The next-pagination token. For multiple-page list results,\nthis token can be used as the\n`ListTransferConfigsRequest.page_token`\nto request the next page of list results.",
"description":"Api auth scopes for which refresh token needs to be obtained. Only valid\nwhen `client_id` is specified. Ignored otherwise. These are scopes needed\nby a data source to prepare data and ingest them into BigQuery,\ne.g., https://www.googleapis.com/auth/bigquery",
"description":"Data source client id which should be used to receive refresh token.\nWhen not supplied, no offline credentials are populated for data transfer.",
"description":"Specifies whether the data source supports a user defined schedule, or\noperates on the default schedule.\nWhen set to `true`, user can override default schedule.",
"The data source won't support data auto refresh, which is default value.",
"The data source supports data auto refresh, and runs will be scheduled\nfor the past few days. Does not allow custom values to be set for each\ntransfer config.",
"The data source supports data auto refresh, and runs will be scheduled\nfor the past few days. Allows custom values to be set for each transfer\nconfig."
],
"enum":[
"DATA_REFRESH_TYPE_UNSPECIFIED",
"SLIDING_WINDOW",
"CUSTOM_SLIDING_WINDOW"
],
"description":"Specifies whether the data source supports automatic data refresh for the\npast few days, and how it's supported.\nFor some data sources, data might not be complete until a few days later,\nso it's useful to refresh data automatically.",
"description":"Default data transfer schedule.\nExamples of valid schedules include:\n`1st,3rd monday of month 15:30`,\n`every wed,fri of jan,jun 13:15`, and\n`first sunday of quarter 00:00`.",
"description":"Transfer type. Currently supports only batch transfers,\nwhich are transfers that use the BigQuery batch APIs (load or\nquery) to ingest the data.",
"description":"The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RPC APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is designed to be:\n\n- Simple to use and understand for most users\n- Flexible enough to meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pieces of data: error code, error message,\nand error details. The error code should be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message that helps\ndevelopers *understand* and *resolve* the error. If a localized user-facing\nerror message is needed, put the localized message in the error details or\nlocalize it in the client. The optional error details may contain arbitrary\ninformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Language mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` message is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some exceptions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n\nThe error model and the `Status` message can be used in a variety of\nenvironments, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\n- Asynchronous operations. If an API call embeds asynchronous operation\n results in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
"description":"A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
"type":"string"
},
"details":{
"description":"A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.",
"type":"array",
"items":{
"additionalProperties":{
"description":"Properties of the object. Contains field @type with type URL.",
"type":"any"
},
"type":"object"
}
},
"code":{
"description":"The status code, which should be an enum value of google.rpc.Code.",
"description":"Pagination token, which can be used to request a specific page\nof `ListDataSourcesRequest` list results. For multiple-page\nresults, `ListDataSourcesResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.",
"type":"string"
},
"pageSize":{
"location":"query",
"description":"Page size. The default page size is the maximum value of 1000 results.",
"format":"int32",
"type":"integer"
},
"parent":{
"description":"The BigQuery project id for which data sources should be returned.\nMust be in the form: `projects/{project_id}`",
"description":"Returns true if valid credentials exist for the given data source and\nrequesting user.\nSome data sources doesn't support service account, so we need to talk to\nthem on behalf of the end user. This API just checks whether we have OAuth\ntoken for the particular user, which is a pre-requisite before user can\ncreate a transfer config.",
"description":"Creates a new data transfer configuration.",
"response":{
"$ref":"TransferConfig"
},
"parameterOrder":[
"parent"
],
"httpMethod":"POST",
"parameters":{
"parent":{
"description":"The BigQuery project id where the transfer configuration should be created.\nMust be in the format /projects/{project_id}/locations/{location_id}\nIf specified location and location of the destination bigquery dataset\ndo not match - the request will fail.",
"required":true,
"type":"string",
"pattern":"^projects/[^/]+$",
"location":"path"
},
"authorizationCode":{
"location":"query",
"description":"Optional OAuth2 authorization code to use with this transfer configuration.\nThis is required if new credentials are needed, as indicated by\n`CheckValidCreds`.\nIn order to obtain authorization_code, please make a\nrequest to\nhttps://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=\u003cdatatransferapiclientid\u003e&scope=\u003cdata_source_scopes\u003e&redirect_uri=\u003credirect_uri\u003e\n\n* client_id should be OAuth client_id of BigQuery DTS API for the given\n data source returned by ListDataSources method.\n* data_source_scopes are the scopes returned by ListDataSources method.\n* redirect_uri is an optional parameter. If not specified, then\n authorization code is posted to the opener of authorization flow window.\n Otherwise it will be sent to the redirect uri. A special value of\n urn:ietf:wg:oauth:2.0:oob means that authorization code should be\n returned in the title bar of the browser, with the page text prompting\n the user to copy the code and paste it in the application.",
"description":"Creates transfer runs for a time range [start_time, end_time].\nFor each date - or whatever granularity the data source supports - in the\nrange, one transfer run is created.\nNote that runs are created per UTC time in the time range."
},
"get":{
"description":"Returns information about a data transfer config.",
"httpMethod":"GET",
"parameterOrder":[
"name"
],
"response":{
"$ref":"TransferConfig"
},
"parameters":{
"name":{
"description":"The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}`",
"description":"The resource name of the transfer config.\nTransfer config names have the form\n`projects/{project_id}/transferConfigs/{config_id}`.\nWhere `config_id` is usually a uuid, even though it is not\nguaranteed or required. The name is ignored when creating a transfer\nconfig.",
"required":true,
"type":"string"
},
"authorizationCode":{
"description":"Optional OAuth2 authorization code to use with this transfer configuration.\nIf it is provided, the transfer configuration will be associated with the\nauthorizing user.\nIn order to obtain authorization_code, please make a\nrequest to\nhttps://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=\u003cdatatransferapiclientid\u003e&scope=\u003cdata_source_scopes\u003e&redirect_uri=\u003credirect_uri\u003e\n\n* client_id should be OAuth client_id of BigQuery DTS API for the given\n data source returned by ListDataSources method.\n* data_source_scopes are the scopes returned by ListDataSources method.\n* redirect_uri is an optional parameter. If not specified, then\n authorization code is posted to the opener of authorization flow window.\n Otherwise it will be sent to the redirect uri. A special value of\n urn:ietf:wg:oauth:2.0:oob means that authorization code should be\n returned in the title bar of the browser, with the page text prompting\n the user to copy the code and paste it in the application.",
"type":"string",
"location":"query"
},
"updateMask":{
"location":"query",
"description":"Required list of fields to be updated in this request.",
"description":"Deletes a data transfer configuration,\nincluding any associated transfer runs and logs.",
"response":{
"$ref":"Empty"
},
"parameterOrder":[
"name"
],
"httpMethod":"DELETE"
},
"list":{
"description":"Returns information about all data transfers in the project.",
"httpMethod":"GET",
"parameterOrder":[
"parent"
],
"response":{
"$ref":"ListTransferConfigsResponse"
},
"parameters":{
"parent":{
"pattern":"^projects/[^/]+$",
"location":"path",
"description":"The BigQuery project id for which data sources\nshould be returned: `projects/{project_id}`.",
"required":true,
"type":"string"
},
"dataSourceIds":{
"description":"When specified, only configurations of requested data sources are returned.",
"type":"string",
"repeated":true,
"location":"query"
},
"pageToken":{
"description":"Pagination token, which can be used to request a specific page\nof `ListTransfersRequest` list results. For multiple-page\nresults, `ListTransfersResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.",
"type":"string",
"location":"query"
},
"pageSize":{
"location":"query",
"description":"Page size. The default page size is the maximum value of 1000 results.",
"description":"The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`",
"description":"The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`",
"description":"Returns information about running and completed jobs.",
"httpMethod":"GET",
"response":{
"$ref":"ListTransferRunsResponse"
},
"parameterOrder":[
"parent"
],
"parameters":{
"pageToken":{
"location":"query",
"description":"Pagination token, which can be used to request a specific page\nof `ListTransferRunsRequest` list results. For multiple-page\nresults, `ListTransferRunsResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.",
"type":"string"
},
"states":{
"description":"When specified, only transfer runs with requested states are returned.",
"type":"string",
"repeated":true,
"location":"query",
"enum":[
"TRANSFER_STATE_UNSPECIFIED",
"PENDING",
"RUNNING",
"SUCCEEDED",
"FAILED",
"CANCELLED"
]
},
"pageSize":{
"description":"Page size. The default page size is the maximum value of 1000 results.",
"format":"int32",
"type":"integer",
"location":"query"
},
"runAttempt":{
"description":"Indicates how run attempts are to be pulled.",
"description":"Name of transfer configuration for which transfer runs should be retrieved.\nFormat of transfer configuration resource name is:\n`projects/{project_id}/transferConfigs/{config_id}`.",
"description":"Pagination token, which can be used to request a specific page\nof `ListTransferLogsRequest` list results. For multiple-page\nresults, `ListTransferLogsResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.",
"type":"string",
"location":"query"
},
"pageSize":{
"location":"query",
"description":"Page size. The default page size is the maximum value of 1000 results.",
"format":"int32",
"type":"integer"
},
"messageTypes":{
"repeated":true,
"location":"query",
"enum":[
"MESSAGE_SEVERITY_UNSPECIFIED",
"INFO",
"WARNING",
"ERROR"
],
"description":"Message types to return. If not populated - INFO, WARNING and ERROR\nmessages are returned.",
"description":"The BigQuery project id for which data sources should be returned.\nMust be in the form: `projects/{project_id}`",
"required":true,
"type":"string",
"pattern":"^projects/[^/]+/locations/[^/]+$",
"location":"path"
},
"pageToken":{
"description":"Pagination token, which can be used to request a specific page\nof `ListDataSourcesRequest` list results. For multiple-page\nresults, `ListDataSourcesResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.",
"type":"string",
"location":"query"
},
"pageSize":{
"description":"Page size. The default page size is the maximum value of 1000 results.",
"description":"Returns true if valid credentials exist for the given data source and\nrequesting user.\nSome data sources doesn't support service account, so we need to talk to\nthem on behalf of the end user. This API just checks whether we have OAuth\ntoken for the particular user, which is a pre-requisite before user can\ncreate a transfer config.",
"request":{
"$ref":"CheckValidCredsRequest"
},
"response":{
"$ref":"CheckValidCredsResponse"
},
"parameterOrder":[
"name"
],
"httpMethod":"POST"
}
}
},
"transferConfigs":{
"methods":{
"get":{
"response":{
"$ref":"TransferConfig"
},
"parameterOrder":[
"name"
],
"httpMethod":"GET",
"parameters":{
"name":{
"description":"The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}`",
"description":"Returns information about a data transfer config."
},
"patch":{
"httpMethod":"PATCH",
"parameterOrder":[
"name"
],
"response":{
"$ref":"TransferConfig"
},
"scopes":[
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters":{
"name":{
"description":"The resource name of the transfer config.\nTransfer config names have the form\n`projects/{project_id}/transferConfigs/{config_id}`.\nWhere `config_id` is usually a uuid, even though it is not\nguaranteed or required. The name is ignored when creating a transfer\nconfig.",
"description":"Optional OAuth2 authorization code to use with this transfer configuration.\nIf it is provided, the transfer configuration will be associated with the\nauthorizing user.\nIn order to obtain authorization_code, please make a\nrequest to\nhttps://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=\u003cdatatransferapiclientid\u003e&scope=\u003cdata_source_scopes\u003e&redirect_uri=\u003credirect_uri\u003e\n\n* client_id should be OAuth client_id of BigQuery DTS API for the given\n data source returned by ListDataSources method.\n* data_source_scopes are the scopes returned by ListDataSources method.\n* redirect_uri is an optional parameter. If not specified, then\n authorization code is posted to the opener of authorization flow window.\n Otherwise it will be sent to the redirect uri. A special value of\n urn:ietf:wg:oauth:2.0:oob means that authorization code should be\n returned in the title bar of the browser, with the page text prompting\n the user to copy the code and paste it in the application.",
"type":"string",
"location":"query"
},
"updateMask":{
"location":"query",
"description":"Required list of fields to be updated in this request.",
"description":"The BigQuery project id for which data sources\nshould be returned: `projects/{project_id}`.",
"required":true,
"type":"string"
},
"dataSourceIds":{
"description":"When specified, only configurations of requested data sources are returned.",
"type":"string",
"repeated":true,
"location":"query"
},
"pageToken":{
"location":"query",
"description":"Pagination token, which can be used to request a specific page\nof `ListTransfersRequest` list results. For multiple-page\nresults, `ListTransfersResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.",
"type":"string"
},
"pageSize":{
"location":"query",
"description":"Page size. The default page size is the maximum value of 1000 results.",
"description":"Creates a new data transfer configuration.",
"request":{
"$ref":"TransferConfig"
},
"response":{
"$ref":"TransferConfig"
},
"parameterOrder":[
"parent"
],
"httpMethod":"POST",
"scopes":[
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters":{
"parent":{
"pattern":"^projects/[^/]+/locations/[^/]+$",
"location":"path",
"description":"The BigQuery project id where the transfer configuration should be created.\nMust be in the format /projects/{project_id}/locations/{location_id}\nIf specified location and location of the destination bigquery dataset\ndo not match - the request will fail.",
"required":true,
"type":"string"
},
"authorizationCode":{
"description":"Optional OAuth2 authorization code to use with this transfer configuration.\nThis is required if new credentials are needed, as indicated by\n`CheckValidCreds`.\nIn order to obtain authorization_code, please make a\nrequest to\nhttps://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=\u003cdatatransferapiclientid\u003e&scope=\u003cdata_source_scopes\u003e&redirect_uri=\u003credirect_uri\u003e\n\n* client_id should be OAuth client_id of BigQuery DTS API for the given\n data source returned by ListDataSources method.\n* data_source_scopes are the scopes returned by ListDataSources method.\n* redirect_uri is an optional parameter. If not specified, then\n authorization code is posted to the opener of authorization flow window.\n Otherwise it will be sent to the redirect uri. A special value of\n urn:ietf:wg:oauth:2.0:oob means that authorization code should be\n returned in the title bar of the browser, with the page text prompting\n the user to copy the code and paste it in the application.",
"description":"Creates transfer runs for a time range [start_time, end_time].\nFor each date - or whatever granularity the data source supports - in the\nrange, one transfer run is created.\nNote that runs are created per UTC time in the time range.",
"request":{
"$ref":"ScheduleTransferRunsRequest"
},
"response":{
"$ref":"ScheduleTransferRunsResponse"
},
"parameterOrder":[
"parent"
],
"httpMethod":"POST",
"scopes":[
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters":{
"parent":{
"description":"Transfer configuration name in the form:\n`projects/{project_id}/transferConfigs/{config_id}`.",
"description":"The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`",
"description":"The field will contain name of the resource requested, for example:\n`projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`",
"description":"Name of transfer configuration for which transfer runs should be retrieved.\nFormat of transfer configuration resource name is:\n`projects/{project_id}/transferConfigs/{config_id}`.",
"required":true,
"type":"string"
},
"pageToken":{
"description":"Pagination token, which can be used to request a specific page\nof `ListTransferRunsRequest` list results. For multiple-page\nresults, `ListTransferRunsResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.",
"type":"string",
"location":"query"
},
"states":{
"description":"When specified, only transfer runs with requested states are returned.",
"type":"string",
"repeated":true,
"location":"query",
"enum":[
"TRANSFER_STATE_UNSPECIFIED",
"PENDING",
"RUNNING",
"SUCCEEDED",
"FAILED",
"CANCELLED"
]
},
"pageSize":{
"location":"query",
"description":"Page size. The default page size is the maximum value of 1000 results.",
"format":"int32",
"type":"integer"
},
"runAttempt":{
"description":"Indicates how run attempts are to be pulled.",
"description":"Transfer run name in the form:\n`projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}`.",
"required":true,
"type":"string"
},
"pageToken":{
"location":"query",
"description":"Pagination token, which can be used to request a specific page\nof `ListTransferLogsRequest` list results. For multiple-page\nresults, `ListTransferLogsResponse` outputs\na `next_page` token, which can be used as the\n`page_token` value to request the next page of list results.",
"type":"string"
},
"pageSize":{
"location":"query",
"description":"Page size. The default page size is the maximum value of 1000 results.",
"format":"int32",
"type":"integer"
},
"messageTypes":{
"repeated":true,
"location":"query",
"enum":[
"MESSAGE_SEVERITY_UNSPECIFIED",
"INFO",
"WARNING",
"ERROR"
],
"description":"Message types to return. If not populated - INFO, WARNING and ERROR\nmessages are returned.",
"description":"Selector specifying which fields to include in a partial response.",
"type":"string"
},
"$.xgafv":{
"enumDescriptions":[
"v1 error format",
"v2 error format"
],
"location":"query",
"enum":[
"1",
"2"
],
"description":"V1 error format.",
"type":"string"
},
"callback":{
"description":"JSONP",
"type":"string",
"location":"query"
},
"alt":{
"enumDescriptions":[
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location":"query",
"description":"Data format for response.",
"default":"json",
"enum":[
"json",
"media",
"proto"
],
"type":"string"
},
"access_token":{
"description":"OAuth access token.",
"type":"string",
"location":"query"
},
"key":{
"location":"query",
"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"type":"string"
},
"quotaUser":{
"location":"query",
"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",