OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/bigquery": { | 5 "https://www.googleapis.com/auth/bigquery": { |
6 "description": "View and manage your data in Google BigQuery
" | 6 "description": "View and manage your data in Google BigQuery
" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "", | 11 "basePath": "", |
12 "baseUrl": "https://bigquerydatatransfer.googleapis.com/", | 12 "baseUrl": "https://bigquerydatatransfer.googleapis.com/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "canonicalName": "BIGQUERYDATATRANSFER", | 14 "canonicalName": "BigQuery Data Transfer", |
15 "description": "Transfers data from partner SaaS applications to Google BigQ
uery on a scheduled, managed basis.", | 15 "description": "Transfers data from partner SaaS applications to Google BigQ
uery on a scheduled, managed basis.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://cloud.google.com/bigquery/", | 17 "documentationLink": "https://cloud.google.com/bigquery/", |
18 "icons": { | 18 "icons": { |
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
21 }, | 21 }, |
22 "id": "bigquerydatatransfer:v1", | 22 "id": "bigquerydatatransfer:v1", |
23 "kind": "discovery#restDescription", | 23 "kind": "discovery#restDescription", |
24 "name": "bigquerydatatransfer", | 24 "name": "bigquerydatatransfer", |
25 "ownerDomain": "google.com", | 25 "ownerDomain": "google.com", |
26 "ownerName": "Google", | 26 "ownerName": "Google", |
27 "parameters": { | 27 "parameters": { |
| 28 "upload_protocol": { |
| 29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 30 "location": "query", |
| 31 "type": "string" |
| 32 }, |
| 33 "prettyPrint": { |
| 34 "default": "true", |
| 35 "description": "Returns response with indentations and line breaks."
, |
| 36 "location": "query", |
| 37 "type": "boolean" |
| 38 }, |
| 39 "fields": { |
| 40 "description": "Selector specifying which fields to include in a par
tial response.", |
| 41 "location": "query", |
| 42 "type": "string" |
| 43 }, |
| 44 "uploadType": { |
| 45 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 46 "location": "query", |
| 47 "type": "string" |
| 48 }, |
| 49 "callback": { |
| 50 "description": "JSONP", |
| 51 "location": "query", |
| 52 "type": "string" |
| 53 }, |
| 54 "$.xgafv": { |
| 55 "description": "V1 error format.", |
| 56 "enum": [ |
| 57 "1", |
| 58 "2" |
| 59 ], |
| 60 "enumDescriptions": [ |
| 61 "v1 error format", |
| 62 "v2 error format" |
| 63 ], |
| 64 "location": "query", |
| 65 "type": "string" |
| 66 }, |
28 "alt": { | 67 "alt": { |
29 "default": "json", | 68 "default": "json", |
30 "description": "Data format for response.", | 69 "description": "Data format for response.", |
31 "enum": [ | 70 "enum": [ |
32 "json", | 71 "json", |
33 "media", | 72 "media", |
34 "proto" | 73 "proto" |
35 ], | 74 ], |
36 "enumDescriptions": [ | 75 "enumDescriptions": [ |
37 "Responses with Content-Type of application/json", | 76 "Responses with Content-Type of application/json", |
(...skipping 26 matching lines...) Expand all Loading... |
64 }, | 103 }, |
65 "oauth_token": { | 104 "oauth_token": { |
66 "description": "OAuth 2.0 token for the current user.", | 105 "description": "OAuth 2.0 token for the current user.", |
67 "location": "query", | 106 "location": "query", |
68 "type": "string" | 107 "type": "string" |
69 }, | 108 }, |
70 "bearer_token": { | 109 "bearer_token": { |
71 "description": "OAuth bearer token.", | 110 "description": "OAuth bearer token.", |
72 "location": "query", | 111 "location": "query", |
73 "type": "string" | 112 "type": "string" |
74 }, | |
75 "upload_protocol": { | |
76 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
77 "location": "query", | |
78 "type": "string" | |
79 }, | |
80 "prettyPrint": { | |
81 "default": "true", | |
82 "description": "Returns response with indentations and line breaks."
, | |
83 "location": "query", | |
84 "type": "boolean" | |
85 }, | |
86 "uploadType": { | |
87 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
88 "location": "query", | |
89 "type": "string" | |
90 }, | |
91 "fields": { | |
92 "description": "Selector specifying which fields to include in a par
tial response.", | |
93 "location": "query", | |
94 "type": "string" | |
95 }, | |
96 "$.xgafv": { | |
97 "description": "V1 error format.", | |
98 "enum": [ | |
99 "1", | |
100 "2" | |
101 ], | |
102 "enumDescriptions": [ | |
103 "v1 error format", | |
104 "v2 error format" | |
105 ], | |
106 "location": "query", | |
107 "type": "string" | |
108 }, | |
109 "callback": { | |
110 "description": "JSONP", | |
111 "location": "query", | |
112 "type": "string" | |
113 } | 113 } |
114 }, | 114 }, |
115 "protocol": "rest", | 115 "protocol": "rest", |
116 "resources": { | 116 "resources": { |
117 "projects": { | 117 "projects": { |
118 "methods": { | 118 "methods": { |
119 "isEnabled": { | 119 "isEnabled": { |
120 "description": "Returns true if data transfer is enabled for
a project.", | 120 "description": "Returns true if data transfer is enabled for
a project.", |
121 "httpMethod": "POST", | 121 "httpMethod": "POST", |
122 "id": "bigquerydatatransfer.projects.isEnabled", | 122 "id": "bigquerydatatransfer.projects.isEnabled", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 "path": "v1/{+name}:setEnabled", | 162 "path": "v1/{+name}:setEnabled", |
163 "request": { | 163 "request": { |
164 "$ref": "SetEnabledRequest" | 164 "$ref": "SetEnabledRequest" |
165 }, | 165 }, |
166 "response": { | 166 "response": { |
167 "$ref": "Empty" | 167 "$ref": "Empty" |
168 } | 168 } |
169 } | 169 } |
170 }, | 170 }, |
171 "resources": { | 171 "resources": { |
| 172 "locations": { |
| 173 "methods": { |
| 174 "isEnabled": { |
| 175 "description": "Returns true if data transfer is ena
bled for a project.", |
| 176 "httpMethod": "POST", |
| 177 "id": "bigquerydatatransfer.projects.locations.isEna
bled", |
| 178 "parameterOrder": [ |
| 179 "name" |
| 180 ], |
| 181 "parameters": { |
| 182 "name": { |
| 183 "description": "The name of the project reso
urce in the form:\n`projects/{project_id}`", |
| 184 "location": "path", |
| 185 "pattern": "^projects/[^/]+/locations/[^/]+$
", |
| 186 "required": true, |
| 187 "type": "string" |
| 188 } |
| 189 }, |
| 190 "path": "v1/{+name}:isEnabled", |
| 191 "request": { |
| 192 "$ref": "IsEnabledRequest" |
| 193 }, |
| 194 "response": { |
| 195 "$ref": "IsEnabledResponse" |
| 196 }, |
| 197 "scopes": [ |
| 198 "https://www.googleapis.com/auth/bigquery" |
| 199 ] |
| 200 }, |
| 201 "setEnabled": { |
| 202 "description": "Enables or disables data transfer fo
r a project. This\nmethod requires the additional scope of\n'https://www.googlea
pis.com/auth/cloudplatformprojects'\nto manage the cloud project permissions.", |
| 203 "httpMethod": "POST", |
| 204 "id": "bigquerydatatransfer.projects.locations.setEn
abled", |
| 205 "parameterOrder": [ |
| 206 "name" |
| 207 ], |
| 208 "parameters": { |
| 209 "name": { |
| 210 "description": "The name of the project reso
urce in the form:\n`projects/{project_id}`", |
| 211 "location": "path", |
| 212 "pattern": "^projects/[^/]+/locations/[^/]+$
", |
| 213 "required": true, |
| 214 "type": "string" |
| 215 } |
| 216 }, |
| 217 "path": "v1/{+name}:setEnabled", |
| 218 "request": { |
| 219 "$ref": "SetEnabledRequest" |
| 220 }, |
| 221 "response": { |
| 222 "$ref": "Empty" |
| 223 } |
| 224 } |
| 225 }, |
| 226 "resources": { |
| 227 "dataSources": { |
| 228 "methods": { |
| 229 "checkValidCreds": { |
| 230 "description": "Returns true if valid creden
tials exist for the given data source and\nrequesting user.", |
| 231 "httpMethod": "POST", |
| 232 "id": "bigquerydatatransfer.projects.locatio
ns.dataSources.checkValidCreds", |
| 233 "parameterOrder": [ |
| 234 "name" |
| 235 ], |
| 236 "parameters": { |
| 237 "name": { |
| 238 "description": "The data source in t
he form:\n`projects/{project_id}/dataSources/{data_source_id}`", |
| 239 "location": "path", |
| 240 "pattern": "^projects/[^/]+/location
s/[^/]+/dataSources/[^/]+$", |
| 241 "required": true, |
| 242 "type": "string" |
| 243 } |
| 244 }, |
| 245 "path": "v1/{+name}:checkValidCreds", |
| 246 "request": { |
| 247 "$ref": "CheckValidCredsRequest" |
| 248 }, |
| 249 "response": { |
| 250 "$ref": "CheckValidCredsResponse" |
| 251 }, |
| 252 "scopes": [ |
| 253 "https://www.googleapis.com/auth/bigquer
y" |
| 254 ] |
| 255 }, |
| 256 "get": { |
| 257 "description": "Retrieves a supported data s
ource and returns its settings,\nwhich can be used for UI rendering.", |
| 258 "httpMethod": "GET", |
| 259 "id": "bigquerydatatransfer.projects.locatio
ns.dataSources.get", |
| 260 "parameterOrder": [ |
| 261 "name" |
| 262 ], |
| 263 "parameters": { |
| 264 "name": { |
| 265 "description": "The field will conta
in name of the resource requested, for example:\n`projects/{project_id}/dataSour
ces/{data_source_id}`", |
| 266 "location": "path", |
| 267 "pattern": "^projects/[^/]+/location
s/[^/]+/dataSources/[^/]+$", |
| 268 "required": true, |
| 269 "type": "string" |
| 270 } |
| 271 }, |
| 272 "path": "v1/{+name}", |
| 273 "response": { |
| 274 "$ref": "DataSource" |
| 275 }, |
| 276 "scopes": [ |
| 277 "https://www.googleapis.com/auth/bigquer
y" |
| 278 ] |
| 279 }, |
| 280 "list": { |
| 281 "description": "Lists supported data sources
and returns their settings,\nwhich can be used for UI rendering.", |
| 282 "httpMethod": "GET", |
| 283 "id": "bigquerydatatransfer.projects.locatio
ns.dataSources.list", |
| 284 "parameterOrder": [ |
| 285 "parent" |
| 286 ], |
| 287 "parameters": { |
| 288 "parent": { |
| 289 "description": "The BigQuery project
id for which data sources should be returned.\nMust be in the form: `projects/{
project_id}`", |
| 290 "location": "path", |
| 291 "pattern": "^projects/[^/]+/location
s/[^/]+$", |
| 292 "required": true, |
| 293 "type": "string" |
| 294 }, |
| 295 "pageToken": { |
| 296 "description": "Pagination token, wh
ich can be used to request a specific page\nof `ListDataSourcesRequest` list res
ults. For multiple-page\nresults, `ListDataSourcesResponse` outputs\na `next_pag
e` token, which can be used as the\n`page_token` value to request the next page
of list results.", |
| 297 "location": "query", |
| 298 "type": "string" |
| 299 }, |
| 300 "pageSize": { |
| 301 "description": "Page size. The defau
lt page size is the maximum value of 1000 results.", |
| 302 "format": "int32", |
| 303 "location": "query", |
| 304 "type": "integer" |
| 305 } |
| 306 }, |
| 307 "path": "v1/{+parent}/dataSources", |
| 308 "response": { |
| 309 "$ref": "ListDataSourcesResponse" |
| 310 }, |
| 311 "scopes": [ |
| 312 "https://www.googleapis.com/auth/bigquer
y" |
| 313 ] |
| 314 } |
| 315 } |
| 316 }, |
| 317 "transferConfigs": { |
| 318 "methods": { |
| 319 "create": { |
| 320 "description": "Creates a new data transfer
configuration.", |
| 321 "httpMethod": "POST", |
| 322 "id": "bigquerydatatransfer.projects.locatio
ns.transferConfigs.create", |
| 323 "parameterOrder": [ |
| 324 "parent" |
| 325 ], |
| 326 "parameters": { |
| 327 "authorizationCode": { |
| 328 "description": "Optional OAuth2 auth
orization 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/bigquery
datatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_
scopes>&redirect_uri=<redirect_uri>\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* re
direct_uri is an optional parameter. If not specified, then\n authorization cod
e 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, w
ith the page text prompting\n the user to copy the code and paste it in the app
lication.", |
| 329 "location": "query", |
| 330 "type": "string" |
| 331 }, |
| 332 "parent": { |
| 333 "description": "The BigQuery project
id where the transfer configuration should be created.", |
| 334 "location": "path", |
| 335 "pattern": "^projects/[^/]+/location
s/[^/]+$", |
| 336 "required": true, |
| 337 "type": "string" |
| 338 } |
| 339 }, |
| 340 "path": "v1/{+parent}/transferConfigs", |
| 341 "request": { |
| 342 "$ref": "TransferConfig" |
| 343 }, |
| 344 "response": { |
| 345 "$ref": "TransferConfig" |
| 346 }, |
| 347 "scopes": [ |
| 348 "https://www.googleapis.com/auth/bigquer
y" |
| 349 ] |
| 350 }, |
| 351 "scheduleRuns": { |
| 352 "description": "Creates transfer runs for a
time range [range_start_time, range_end_time].\nFor each date - or whatever gran
ularity the data source supports - in the\nrange, one transfer run is created.\n
Note that runs are created per UTC time in the time range.", |
| 353 "httpMethod": "POST", |
| 354 "id": "bigquerydatatransfer.projects.locatio
ns.transferConfigs.scheduleRuns", |
| 355 "parameterOrder": [ |
| 356 "parent" |
| 357 ], |
| 358 "parameters": { |
| 359 "parent": { |
| 360 "description": "Transfer configurati
on name in the form:\n`projects/{project_id}/transferConfigs/{config_id}`.", |
| 361 "location": "path", |
| 362 "pattern": "^projects/[^/]+/location
s/[^/]+/transferConfigs/[^/]+$", |
| 363 "required": true, |
| 364 "type": "string" |
| 365 } |
| 366 }, |
| 367 "path": "v1/{+parent}:scheduleRuns", |
| 368 "request": { |
| 369 "$ref": "ScheduleTransferRunsRequest" |
| 370 }, |
| 371 "response": { |
| 372 "$ref": "ScheduleTransferRunsResponse" |
| 373 }, |
| 374 "scopes": [ |
| 375 "https://www.googleapis.com/auth/bigquer
y" |
| 376 ] |
| 377 }, |
| 378 "patch": { |
| 379 "description": "Updates a data transfer conf
iguration.\nAll fields must be set, even if they are not updated.", |
| 380 "httpMethod": "PATCH", |
| 381 "id": "bigquerydatatransfer.projects.locatio
ns.transferConfigs.patch", |
| 382 "parameterOrder": [ |
| 383 "name" |
| 384 ], |
| 385 "parameters": { |
| 386 "authorizationCode": { |
| 387 "description": "Optional OAuth2 auth
orization code to use with this transfer configuration.\nIf it is provided, the
transfer configuration will be associated with the\ngaia id of the authorizing u
ser.\nIn order to obtain authorization_code, please make a\nrequest to\nhttps://
www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclien
tid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri>\n\n* client_id shoul
d be OAuth client_id of BigQuery DTS API for the given\n data source returned b
y ListDataSources method.\n* data_source_scopes are the scopes returned by ListD
ataSources method.\n* redirect_uri is an optional parameter. If not specified, t
hen\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 tit
le bar of the browser, with the page text prompting\n the user to copy the code
and paste it in the application.", |
| 388 "location": "query", |
| 389 "type": "string" |
| 390 }, |
| 391 "updateMask": { |
| 392 "description": "Required list of fie
lds to be updated in this request.", |
| 393 "format": "google-fieldmask", |
| 394 "location": "query", |
| 395 "type": "string" |
| 396 }, |
| 397 "name": { |
| 398 "description": "The resource name of
the transfer run.\nTransfer run names have the form\n`projects/{project_id}/tra
nsferConfigs/{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 run
.", |
| 399 "location": "path", |
| 400 "pattern": "^projects/[^/]+/location
s/[^/]+/transferConfigs/[^/]+$", |
| 401 "required": true, |
| 402 "type": "string" |
| 403 } |
| 404 }, |
| 405 "path": "v1/{+name}", |
| 406 "request": { |
| 407 "$ref": "TransferConfig" |
| 408 }, |
| 409 "response": { |
| 410 "$ref": "TransferConfig" |
| 411 }, |
| 412 "scopes": [ |
| 413 "https://www.googleapis.com/auth/bigquer
y" |
| 414 ] |
| 415 }, |
| 416 "get": { |
| 417 "description": "Returns information about a
data transfer config.", |
| 418 "httpMethod": "GET", |
| 419 "id": "bigquerydatatransfer.projects.locatio
ns.transferConfigs.get", |
| 420 "parameterOrder": [ |
| 421 "name" |
| 422 ], |
| 423 "parameters": { |
| 424 "name": { |
| 425 "description": "The field will conta
in name of the resource requested, for example:\n`projects/{project_id}/transfer
Configs/{config_id}`", |
| 426 "location": "path", |
| 427 "pattern": "^projects/[^/]+/location
s/[^/]+/transferConfigs/[^/]+$", |
| 428 "required": true, |
| 429 "type": "string" |
| 430 } |
| 431 }, |
| 432 "path": "v1/{+name}", |
| 433 "response": { |
| 434 "$ref": "TransferConfig" |
| 435 }, |
| 436 "scopes": [ |
| 437 "https://www.googleapis.com/auth/bigquer
y" |
| 438 ] |
| 439 }, |
| 440 "delete": { |
| 441 "description": "Deletes a data transfer conf
iguration,\nincluding any associated transfer runs and logs.", |
| 442 "httpMethod": "DELETE", |
| 443 "id": "bigquerydatatransfer.projects.locatio
ns.transferConfigs.delete", |
| 444 "parameterOrder": [ |
| 445 "name" |
| 446 ], |
| 447 "parameters": { |
| 448 "name": { |
| 449 "description": "The field will conta
in name of the resource requested, for example:\n`projects/{project_id}/transfer
Configs/{config_id}`", |
| 450 "location": "path", |
| 451 "pattern": "^projects/[^/]+/location
s/[^/]+/transferConfigs/[^/]+$", |
| 452 "required": true, |
| 453 "type": "string" |
| 454 } |
| 455 }, |
| 456 "path": "v1/{+name}", |
| 457 "response": { |
| 458 "$ref": "Empty" |
| 459 }, |
| 460 "scopes": [ |
| 461 "https://www.googleapis.com/auth/bigquer
y" |
| 462 ] |
| 463 }, |
| 464 "list": { |
| 465 "description": "Returns information about al
l data transfers in the project.", |
| 466 "httpMethod": "GET", |
| 467 "id": "bigquerydatatransfer.projects.locatio
ns.transferConfigs.list", |
| 468 "parameterOrder": [ |
| 469 "parent" |
| 470 ], |
| 471 "parameters": { |
| 472 "pageToken": { |
| 473 "description": "Pagination token, wh
ich can be used to request a specific page\nof `ListTransfersRequest` list resul
ts. For multiple-page\nresults, `ListTransfersResponse` outputs\na `next_page` t
oken, which can be used as the\n`page_token` value to request the next page of l
ist results.", |
| 474 "location": "query", |
| 475 "type": "string" |
| 476 }, |
| 477 "pageSize": { |
| 478 "description": "Page size. The defau
lt page size is the maximum value of 1000 results.", |
| 479 "format": "int32", |
| 480 "location": "query", |
| 481 "type": "integer" |
| 482 }, |
| 483 "parent": { |
| 484 "description": "The BigQuery project
id for which data sources\nshould be returned: `projects/{project_id}`.", |
| 485 "location": "path", |
| 486 "pattern": "^projects/[^/]+/location
s/[^/]+$", |
| 487 "required": true, |
| 488 "type": "string" |
| 489 }, |
| 490 "dataSourceIds": { |
| 491 "description": "When specified, only
configurations of requested data sources are returned.", |
| 492 "location": "query", |
| 493 "repeated": true, |
| 494 "type": "string" |
| 495 } |
| 496 }, |
| 497 "path": "v1/{+parent}/transferConfigs", |
| 498 "response": { |
| 499 "$ref": "ListTransferConfigsResponse" |
| 500 }, |
| 501 "scopes": [ |
| 502 "https://www.googleapis.com/auth/bigquer
y" |
| 503 ] |
| 504 } |
| 505 }, |
| 506 "resources": { |
| 507 "runs": { |
| 508 "methods": { |
| 509 "delete": { |
| 510 "description": "Deletes the specifie
d transfer run.", |
| 511 "httpMethod": "DELETE", |
| 512 "id": "bigquerydatatransfer.projects
.locations.transferConfigs.runs.delete", |
| 513 "parameterOrder": [ |
| 514 "name" |
| 515 ], |
| 516 "parameters": { |
| 517 "name": { |
| 518 "description": "The field wi
ll contain name of the resource requested, for example:\n`projects/{project_id}/
transferConfigs/{config_id}/runs/{run_id}`", |
| 519 "location": "path", |
| 520 "pattern": "^projects/[^/]+/
locations/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", |
| 521 "required": true, |
| 522 "type": "string" |
| 523 } |
| 524 }, |
| 525 "path": "v1/{+name}", |
| 526 "response": { |
| 527 "$ref": "Empty" |
| 528 }, |
| 529 "scopes": [ |
| 530 "https://www.googleapis.com/auth
/bigquery" |
| 531 ] |
| 532 }, |
| 533 "get": { |
| 534 "description": "Returns information
about the particular transfer run.", |
| 535 "httpMethod": "GET", |
| 536 "id": "bigquerydatatransfer.projects
.locations.transferConfigs.runs.get", |
| 537 "parameterOrder": [ |
| 538 "name" |
| 539 ], |
| 540 "parameters": { |
| 541 "name": { |
| 542 "description": "The field wi
ll contain name of the resource requested, for example:\n`projects/{project_id}/
transferConfigs/{config_id}/runs/{run_id}`", |
| 543 "location": "path", |
| 544 "pattern": "^projects/[^/]+/
locations/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", |
| 545 "required": true, |
| 546 "type": "string" |
| 547 } |
| 548 }, |
| 549 "path": "v1/{+name}", |
| 550 "response": { |
| 551 "$ref": "TransferRun" |
| 552 }, |
| 553 "scopes": [ |
| 554 "https://www.googleapis.com/auth
/bigquery" |
| 555 ] |
| 556 }, |
| 557 "list": { |
| 558 "description": "Returns information
about running and completed jobs.", |
| 559 "httpMethod": "GET", |
| 560 "id": "bigquerydatatransfer.projects
.locations.transferConfigs.runs.list", |
| 561 "parameterOrder": [ |
| 562 "parent" |
| 563 ], |
| 564 "parameters": { |
| 565 "pageToken": { |
| 566 "description": "Pagination t
oken, 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.", |
| 567 "location": "query", |
| 568 "type": "string" |
| 569 }, |
| 570 "statuses": { |
| 571 "description": "When specifi
ed, only transfer runs with requested statuses are returned.", |
| 572 "enum": [ |
| 573 "TRANSFER_STATUS_UNSPECI
FIED", |
| 574 "INACTIVE", |
| 575 "PENDING", |
| 576 "RUNNING", |
| 577 "SUCCEEDED", |
| 578 "FAILED", |
| 579 "CANCELLED" |
| 580 ], |
| 581 "location": "query", |
| 582 "repeated": true, |
| 583 "type": "string" |
| 584 }, |
| 585 "pageSize": { |
| 586 "description": "Page size. T
he default page size is the maximum value of 1000 results.", |
| 587 "format": "int32", |
| 588 "location": "query", |
| 589 "type": "integer" |
| 590 }, |
| 591 "runAttempt": { |
| 592 "description": "Indicates ho
w run attempts are to be pulled.", |
| 593 "enum": [ |
| 594 "RUN_ATTEMPT_UNSPECIFIED
", |
| 595 "LATEST" |
| 596 ], |
| 597 "location": "query", |
| 598 "type": "string" |
| 599 }, |
| 600 "parent": { |
| 601 "description": "Name of tran
sfer configuration for which transfer runs should be retrieved.\nFormat of trans
fer configuration resource name is:\n`projects/{project_id}/transferConfigs/{con
fig_id}`.", |
| 602 "location": "path", |
| 603 "pattern": "^projects/[^/]+/
locations/[^/]+/transferConfigs/[^/]+$", |
| 604 "required": true, |
| 605 "type": "string" |
| 606 } |
| 607 }, |
| 608 "path": "v1/{+parent}/runs", |
| 609 "response": { |
| 610 "$ref": "ListTransferRunsRespons
e" |
| 611 }, |
| 612 "scopes": [ |
| 613 "https://www.googleapis.com/auth
/bigquery" |
| 614 ] |
| 615 } |
| 616 }, |
| 617 "resources": { |
| 618 "transferLogs": { |
| 619 "methods": { |
| 620 "list": { |
| 621 "description": "Returns user
facing log messages for the data transfer run.", |
| 622 "httpMethod": "GET", |
| 623 "id": "bigquerydatatransfer.
projects.locations.transferConfigs.runs.transferLogs.list", |
| 624 "parameterOrder": [ |
| 625 "parent" |
| 626 ], |
| 627 "parameters": { |
| 628 "pageToken": { |
| 629 "description": "Pagi
nation token, which can be used to request a specific page\nof `ListTransferLogs
Request` list results. For multiple-page\nresults, `ListTransferLogsResponse` ou
tputs\na `next_page` token, which can be used as the\n`page_token` value to requ
est the next page of list results.", |
| 630 "location": "query", |
| 631 "type": "string" |
| 632 }, |
| 633 "pageSize": { |
| 634 "description": "Page
size. The default page size is the maximum value of 1000 results.", |
| 635 "format": "int32", |
| 636 "location": "query", |
| 637 "type": "integer" |
| 638 }, |
| 639 "messageTypes": { |
| 640 "description": "Mess
age types to return. If not populated - INFO, WARNING and ERROR\nmessages are re
turned.", |
| 641 "enum": [ |
| 642 "MESSAGE_SEVERIT
Y_UNSPECIFIED", |
| 643 "INFO", |
| 644 "WARNING", |
| 645 "ERROR" |
| 646 ], |
| 647 "location": "query", |
| 648 "repeated": true, |
| 649 "type": "string" |
| 650 }, |
| 651 "parent": { |
| 652 "description": "Tran
sfer run name in the form:\n`projects/{project_id}/transferConfigs/{config_Id}/r
uns/{run_id}`.", |
| 653 "location": "path", |
| 654 "pattern": "^project
s/[^/]+/locations/[^/]+/transferConfigs/[^/]+/runs/[^/]+$", |
| 655 "required": true, |
| 656 "type": "string" |
| 657 } |
| 658 }, |
| 659 "path": "v1/{+parent}/transf
erLogs", |
| 660 "response": { |
| 661 "$ref": "ListTransferLog
sResponse" |
| 662 }, |
| 663 "scopes": [ |
| 664 "https://www.googleapis.
com/auth/bigquery" |
| 665 ] |
| 666 } |
| 667 } |
| 668 } |
| 669 } |
| 670 } |
| 671 } |
| 672 } |
| 673 } |
| 674 }, |
172 "dataSources": { | 675 "dataSources": { |
173 "methods": { | 676 "methods": { |
| 677 "checkValidCreds": { |
| 678 "description": "Returns true if valid credentials ex
ist for the given data source and\nrequesting user.", |
| 679 "httpMethod": "POST", |
| 680 "id": "bigquerydatatransfer.projects.dataSources.che
ckValidCreds", |
| 681 "parameterOrder": [ |
| 682 "name" |
| 683 ], |
| 684 "parameters": { |
| 685 "name": { |
| 686 "description": "The data source in the form:
\n`projects/{project_id}/dataSources/{data_source_id}`", |
| 687 "location": "path", |
| 688 "pattern": "^projects/[^/]+/dataSources/[^/]
+$", |
| 689 "required": true, |
| 690 "type": "string" |
| 691 } |
| 692 }, |
| 693 "path": "v1/{+name}:checkValidCreds", |
| 694 "request": { |
| 695 "$ref": "CheckValidCredsRequest" |
| 696 }, |
| 697 "response": { |
| 698 "$ref": "CheckValidCredsResponse" |
| 699 }, |
| 700 "scopes": [ |
| 701 "https://www.googleapis.com/auth/bigquery" |
| 702 ] |
| 703 }, |
174 "get": { | 704 "get": { |
175 "description": "Retrieves a supported data source an
d returns its settings,\nwhich can be used for UI rendering.", | 705 "description": "Retrieves a supported data source an
d returns its settings,\nwhich can be used for UI rendering.", |
176 "httpMethod": "GET", | 706 "httpMethod": "GET", |
177 "id": "bigquerydatatransfer.projects.dataSources.get
", | 707 "id": "bigquerydatatransfer.projects.dataSources.get
", |
178 "parameterOrder": [ | 708 "parameterOrder": [ |
179 "name" | 709 "name" |
180 ], | 710 ], |
181 "parameters": { | 711 "parameters": { |
182 "name": { | 712 "name": { |
183 "description": "The field will contain name
of the resource requested, for example:\n`projects/{project_id}/dataSources/{dat
a_source_id}`", | 713 "description": "The field will contain name
of the resource requested, for example:\n`projects/{project_id}/dataSources/{dat
a_source_id}`", |
(...skipping 12 matching lines...) Expand all Loading... |
196 ] | 726 ] |
197 }, | 727 }, |
198 "list": { | 728 "list": { |
199 "description": "Lists supported data sources and ret
urns their settings,\nwhich can be used for UI rendering.", | 729 "description": "Lists supported data sources and ret
urns their settings,\nwhich can be used for UI rendering.", |
200 "httpMethod": "GET", | 730 "httpMethod": "GET", |
201 "id": "bigquerydatatransfer.projects.dataSources.lis
t", | 731 "id": "bigquerydatatransfer.projects.dataSources.lis
t", |
202 "parameterOrder": [ | 732 "parameterOrder": [ |
203 "parent" | 733 "parent" |
204 ], | 734 ], |
205 "parameters": { | 735 "parameters": { |
206 "parent": { | |
207 "description": "The BigQuery project id for
which data sources should be returned.\nMust be in the form: `projects/{project_
id}`", | |
208 "location": "path", | |
209 "pattern": "^projects/[^/]+$", | |
210 "required": true, | |
211 "type": "string" | |
212 }, | |
213 "pageToken": { | 736 "pageToken": { |
214 "description": "Pagination token, which can
be used to request a specific page\nof `ListDataSourcesRequest` list results. Fo
r 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.", | 737 "description": "Pagination token, which can
be used to request a specific page\nof `ListDataSourcesRequest` list results. Fo
r 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.", |
215 "location": "query", | 738 "location": "query", |
216 "type": "string" | 739 "type": "string" |
217 }, | 740 }, |
218 "pageSize": { | 741 "pageSize": { |
219 "description": "Page size. The default page
size is the maximum value of 1000 results.", | 742 "description": "Page size. The default page
size is the maximum value of 1000 results.", |
220 "format": "int32", | 743 "format": "int32", |
221 "location": "query", | 744 "location": "query", |
222 "type": "integer" | 745 "type": "integer" |
| 746 }, |
| 747 "parent": { |
| 748 "description": "The BigQuery project id for
which data sources should be returned.\nMust be in the form: `projects/{project_
id}`", |
| 749 "location": "path", |
| 750 "pattern": "^projects/[^/]+$", |
| 751 "required": true, |
| 752 "type": "string" |
223 } | 753 } |
224 }, | 754 }, |
225 "path": "v1/{+parent}/dataSources", | 755 "path": "v1/{+parent}/dataSources", |
226 "response": { | 756 "response": { |
227 "$ref": "ListDataSourcesResponse" | 757 "$ref": "ListDataSourcesResponse" |
228 }, | 758 }, |
229 "scopes": [ | 759 "scopes": [ |
230 "https://www.googleapis.com/auth/bigquery" | 760 "https://www.googleapis.com/auth/bigquery" |
231 ] | 761 ] |
232 }, | |
233 "checkValidCreds": { | |
234 "description": "Returns true if valid credentials ex
ist for the given data source and\nrequesting user.", | |
235 "httpMethod": "POST", | |
236 "id": "bigquerydatatransfer.projects.dataSources.che
ckValidCreds", | |
237 "parameterOrder": [ | |
238 "name" | |
239 ], | |
240 "parameters": { | |
241 "name": { | |
242 "description": "The data source in the form:
\n`projects/{project_id}/dataSources/{data_source_id}`", | |
243 "location": "path", | |
244 "pattern": "^projects/[^/]+/dataSources/[^/]
+$", | |
245 "required": true, | |
246 "type": "string" | |
247 } | |
248 }, | |
249 "path": "v1/{+name}:checkValidCreds", | |
250 "request": { | |
251 "$ref": "CheckValidCredsRequest" | |
252 }, | |
253 "response": { | |
254 "$ref": "CheckValidCredsResponse" | |
255 }, | |
256 "scopes": [ | |
257 "https://www.googleapis.com/auth/bigquery" | |
258 ] | |
259 } | 762 } |
260 } | 763 } |
261 }, | 764 }, |
262 "transferConfigs": { | 765 "transferConfigs": { |
263 "methods": { | 766 "methods": { |
264 "delete": { | 767 "delete": { |
265 "description": "Deletes a data transfer configuratio
n,\nincluding any associated transfer runs and logs.", | 768 "description": "Deletes a data transfer configuratio
n,\nincluding any associated transfer runs and logs.", |
266 "httpMethod": "DELETE", | 769 "httpMethod": "DELETE", |
267 "id": "bigquerydatatransfer.projects.transferConfigs
.delete", | 770 "id": "bigquerydatatransfer.projects.transferConfigs
.delete", |
268 "parameterOrder": [ | 771 "parameterOrder": [ |
(...skipping 17 matching lines...) Expand all Loading... |
286 ] | 789 ] |
287 }, | 790 }, |
288 "list": { | 791 "list": { |
289 "description": "Returns information about all data t
ransfers in the project.", | 792 "description": "Returns information about all data t
ransfers in the project.", |
290 "httpMethod": "GET", | 793 "httpMethod": "GET", |
291 "id": "bigquerydatatransfer.projects.transferConfigs
.list", | 794 "id": "bigquerydatatransfer.projects.transferConfigs
.list", |
292 "parameterOrder": [ | 795 "parameterOrder": [ |
293 "parent" | 796 "parent" |
294 ], | 797 ], |
295 "parameters": { | 798 "parameters": { |
296 "parent": { | |
297 "description": "The BigQuery project id for
which data sources\nshould be returned: `projects/{project_id}`.", | |
298 "location": "path", | |
299 "pattern": "^projects/[^/]+$", | |
300 "required": true, | |
301 "type": "string" | |
302 }, | |
303 "dataSourceIds": { | |
304 "description": "When specified, only configu
rations of requested data sources are returned.", | |
305 "location": "query", | |
306 "repeated": true, | |
307 "type": "string" | |
308 }, | |
309 "pageToken": { | 799 "pageToken": { |
310 "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, wh
ich can be used as the\n`page_token` value to request the next page of list resu
lts.", | 800 "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, wh
ich can be used as the\n`page_token` value to request the next page of list resu
lts.", |
311 "location": "query", | 801 "location": "query", |
312 "type": "string" | 802 "type": "string" |
313 }, | 803 }, |
314 "pageSize": { | 804 "pageSize": { |
315 "description": "Page size. The default page
size is the maximum value of 1000 results.", | 805 "description": "Page size. The default page
size is the maximum value of 1000 results.", |
316 "format": "int32", | 806 "format": "int32", |
317 "location": "query", | 807 "location": "query", |
318 "type": "integer" | 808 "type": "integer" |
| 809 }, |
| 810 "parent": { |
| 811 "description": "The BigQuery project id for
which data sources\nshould be returned: `projects/{project_id}`.", |
| 812 "location": "path", |
| 813 "pattern": "^projects/[^/]+$", |
| 814 "required": true, |
| 815 "type": "string" |
| 816 }, |
| 817 "dataSourceIds": { |
| 818 "description": "When specified, only configu
rations of requested data sources are returned.", |
| 819 "location": "query", |
| 820 "repeated": true, |
| 821 "type": "string" |
319 } | 822 } |
320 }, | 823 }, |
321 "path": "v1/{+parent}/transferConfigs", | 824 "path": "v1/{+parent}/transferConfigs", |
322 "response": { | 825 "response": { |
323 "$ref": "ListTransferConfigsResponse" | 826 "$ref": "ListTransferConfigsResponse" |
324 }, | 827 }, |
325 "scopes": [ | 828 "scopes": [ |
326 "https://www.googleapis.com/auth/bigquery" | 829 "https://www.googleapis.com/auth/bigquery" |
327 ] | 830 ] |
328 }, | 831 }, |
329 "create": { | 832 "create": { |
330 "description": "Creates a new data transfer configur
ation.", | 833 "description": "Creates a new data transfer configur
ation.", |
331 "httpMethod": "POST", | 834 "httpMethod": "POST", |
332 "id": "bigquerydatatransfer.projects.transferConfigs
.create", | 835 "id": "bigquerydatatransfer.projects.transferConfigs
.create", |
333 "parameterOrder": [ | 836 "parameterOrder": [ |
334 "parent" | 837 "parent" |
335 ], | 838 ], |
336 "parameters": { | 839 "parameters": { |
| 840 "parent": { |
| 841 "description": "The BigQuery project id wher
e the transfer configuration should be created.", |
| 842 "location": "path", |
| 843 "pattern": "^projects/[^/]+$", |
| 844 "required": true, |
| 845 "type": "string" |
| 846 }, |
337 "authorizationCode": { | 847 "authorizationCode": { |
338 "description": "Optional OAuth2 authorizatio
n code to use with this transfer configuration.\nThis is required if new credent
ials are needed, as indicated by\n`CheckValidCreds`.\nIn order to obtain authori
zation_code, please make a\nrequest to\nhttps://www.gstatic.com/bigquerydatatran
sfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&
redirect_uri=<redirect_uri>\n\n* client_id should be OAuth client_id of BigQuery
DTS API for the given\n data source returned by ListDataSources method.\n* dat
a_source_scopes are the scopes returned by ListDataSources method.\n* redirect_u
ri is an optional parameter. If not specified, then\n authorization code is pos
ted 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 aut
horization 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
.", | 848 "description": "Optional OAuth2 authorizatio
n code to use with this transfer configuration.\nThis is required if new credent
ials are needed, as indicated by\n`CheckValidCreds`.\nIn order to obtain authori
zation_code, please make a\nrequest to\nhttps://www.gstatic.com/bigquerydatatran
sfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&
redirect_uri=<redirect_uri>\n\n* client_id should be OAuth client_id of BigQuery
DTS API for the given\n data source returned by ListDataSources method.\n* dat
a_source_scopes are the scopes returned by ListDataSources method.\n* redirect_u
ri is an optional parameter. If not specified, then\n authorization code is pos
ted 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 aut
horization 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
.", |
339 "location": "query", | 849 "location": "query", |
340 "type": "string" | 850 "type": "string" |
341 }, | |
342 "parent": { | |
343 "description": "The BigQuery project id wher
e the transfer configuration should be created.", | |
344 "location": "path", | |
345 "pattern": "^projects/[^/]+$", | |
346 "required": true, | |
347 "type": "string" | |
348 } | 851 } |
349 }, | 852 }, |
350 "path": "v1/{+parent}/transferConfigs", | 853 "path": "v1/{+parent}/transferConfigs", |
351 "request": { | 854 "request": { |
352 "$ref": "TransferConfig" | 855 "$ref": "TransferConfig" |
353 }, | 856 }, |
354 "response": { | 857 "response": { |
355 "$ref": "TransferConfig" | 858 "$ref": "TransferConfig" |
356 }, | 859 }, |
357 "scopes": [ | 860 "scopes": [ |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 "$ref": "TransferConfig" | 947 "$ref": "TransferConfig" |
445 }, | 948 }, |
446 "scopes": [ | 949 "scopes": [ |
447 "https://www.googleapis.com/auth/bigquery" | 950 "https://www.googleapis.com/auth/bigquery" |
448 ] | 951 ] |
449 } | 952 } |
450 }, | 953 }, |
451 "resources": { | 954 "resources": { |
452 "runs": { | 955 "runs": { |
453 "methods": { | 956 "methods": { |
| 957 "delete": { |
| 958 "description": "Deletes the specified transf
er run.", |
| 959 "httpMethod": "DELETE", |
| 960 "id": "bigquerydatatransfer.projects.transfe
rConfigs.runs.delete", |
| 961 "parameterOrder": [ |
| 962 "name" |
| 963 ], |
| 964 "parameters": { |
| 965 "name": { |
| 966 "description": "The field will conta
in name of the resource requested, for example:\n`projects/{project_id}/transfer
Configs/{config_id}/runs/{run_id}`", |
| 967 "location": "path", |
| 968 "pattern": "^projects/[^/]+/transfer
Configs/[^/]+/runs/[^/]+$", |
| 969 "required": true, |
| 970 "type": "string" |
| 971 } |
| 972 }, |
| 973 "path": "v1/{+name}", |
| 974 "response": { |
| 975 "$ref": "Empty" |
| 976 }, |
| 977 "scopes": [ |
| 978 "https://www.googleapis.com/auth/bigquer
y" |
| 979 ] |
| 980 }, |
454 "get": { | 981 "get": { |
455 "description": "Returns information about th
e particular transfer run.", | 982 "description": "Returns information about th
e particular transfer run.", |
456 "httpMethod": "GET", | 983 "httpMethod": "GET", |
457 "id": "bigquerydatatransfer.projects.transfe
rConfigs.runs.get", | 984 "id": "bigquerydatatransfer.projects.transfe
rConfigs.runs.get", |
458 "parameterOrder": [ | 985 "parameterOrder": [ |
459 "name" | 986 "name" |
460 ], | 987 ], |
461 "parameters": { | 988 "parameters": { |
462 "name": { | 989 "name": { |
463 "description": "The field will conta
in name of the resource requested, for example:\n`projects/{project_id}/transfer
Configs/{config_id}/runs/{run_id}`", | 990 "description": "The field will conta
in name of the resource requested, for example:\n`projects/{project_id}/transfer
Configs/{config_id}/runs/{run_id}`", |
(...skipping 12 matching lines...) Expand all Loading... |
476 ] | 1003 ] |
477 }, | 1004 }, |
478 "list": { | 1005 "list": { |
479 "description": "Returns information about ru
nning and completed jobs.", | 1006 "description": "Returns information about ru
nning and completed jobs.", |
480 "httpMethod": "GET", | 1007 "httpMethod": "GET", |
481 "id": "bigquerydatatransfer.projects.transfe
rConfigs.runs.list", | 1008 "id": "bigquerydatatransfer.projects.transfe
rConfigs.runs.list", |
482 "parameterOrder": [ | 1009 "parameterOrder": [ |
483 "parent" | 1010 "parent" |
484 ], | 1011 ], |
485 "parameters": { | 1012 "parameters": { |
| 1013 "parent": { |
| 1014 "description": "Name of transfer con
figuration for which transfer runs should be retrieved.\nFormat of transfer conf
iguration resource name is:\n`projects/{project_id}/transferConfigs/{config_id}`
.", |
| 1015 "location": "path", |
| 1016 "pattern": "^projects/[^/]+/transfer
Configs/[^/]+$", |
| 1017 "required": true, |
| 1018 "type": "string" |
| 1019 }, |
486 "pageToken": { | 1020 "pageToken": { |
487 "description": "Pagination token, wh
ich can be used to request a specific page\nof `ListTransferRunsRequest` list re
sults. For multiple-page\nresults, `ListTransferRunsResponse` outputs\na `next_p
age` token, which can be used as the\n`page_token` value to request the next pag
e of list results.", | 1021 "description": "Pagination token, wh
ich can be used to request a specific page\nof `ListTransferRunsRequest` list re
sults. For multiple-page\nresults, `ListTransferRunsResponse` outputs\na `next_p
age` token, which can be used as the\n`page_token` value to request the next pag
e of list results.", |
488 "location": "query", | 1022 "location": "query", |
489 "type": "string" | 1023 "type": "string" |
490 }, | 1024 }, |
491 "statuses": { | 1025 "statuses": { |
492 "description": "When specified, only
transfer runs with requested statuses are returned.", | 1026 "description": "When specified, only
transfer runs with requested statuses are returned.", |
493 "enum": [ | 1027 "enum": [ |
494 "TRANSFER_STATUS_UNSPECIFIED", | 1028 "TRANSFER_STATUS_UNSPECIFIED", |
495 "INACTIVE", | 1029 "INACTIVE", |
(...skipping 14 matching lines...) Expand all Loading... |
510 "type": "integer" | 1044 "type": "integer" |
511 }, | 1045 }, |
512 "runAttempt": { | 1046 "runAttempt": { |
513 "description": "Indicates how run at
tempts are to be pulled.", | 1047 "description": "Indicates how run at
tempts are to be pulled.", |
514 "enum": [ | 1048 "enum": [ |
515 "RUN_ATTEMPT_UNSPECIFIED", | 1049 "RUN_ATTEMPT_UNSPECIFIED", |
516 "LATEST" | 1050 "LATEST" |
517 ], | 1051 ], |
518 "location": "query", | 1052 "location": "query", |
519 "type": "string" | 1053 "type": "string" |
520 }, | |
521 "parent": { | |
522 "description": "Name of transfer con
figuration for which transfer runs should be retrieved.\nFormat of transfer conf
iguration resource name is:\n`projects/{project_id}/transferConfigs/{config_id}`
.", | |
523 "location": "path", | |
524 "pattern": "^projects/[^/]+/transfer
Configs/[^/]+$", | |
525 "required": true, | |
526 "type": "string" | |
527 } | 1054 } |
528 }, | 1055 }, |
529 "path": "v1/{+parent}/runs", | 1056 "path": "v1/{+parent}/runs", |
530 "response": { | 1057 "response": { |
531 "$ref": "ListTransferRunsResponse" | 1058 "$ref": "ListTransferRunsResponse" |
532 }, | 1059 }, |
533 "scopes": [ | 1060 "scopes": [ |
534 "https://www.googleapis.com/auth/bigquer
y" | 1061 "https://www.googleapis.com/auth/bigquer
y" |
535 ] | 1062 ] |
536 }, | |
537 "delete": { | |
538 "description": "Deletes the specified transf
er run.", | |
539 "httpMethod": "DELETE", | |
540 "id": "bigquerydatatransfer.projects.transfe
rConfigs.runs.delete", | |
541 "parameterOrder": [ | |
542 "name" | |
543 ], | |
544 "parameters": { | |
545 "name": { | |
546 "description": "The field will conta
in name of the resource requested, for example:\n`projects/{project_id}/transfer
Configs/{config_id}/runs/{run_id}`", | |
547 "location": "path", | |
548 "pattern": "^projects/[^/]+/transfer
Configs/[^/]+/runs/[^/]+$", | |
549 "required": true, | |
550 "type": "string" | |
551 } | |
552 }, | |
553 "path": "v1/{+name}", | |
554 "response": { | |
555 "$ref": "Empty" | |
556 }, | |
557 "scopes": [ | |
558 "https://www.googleapis.com/auth/bigquer
y" | |
559 ] | |
560 } | 1063 } |
561 }, | 1064 }, |
562 "resources": { | 1065 "resources": { |
563 "transferLogs": { | 1066 "transferLogs": { |
564 "methods": { | 1067 "methods": { |
565 "list": { | 1068 "list": { |
566 "description": "Returns user facing
log messages for the data transfer run.", | 1069 "description": "Returns user facing
log messages for the data transfer run.", |
567 "httpMethod": "GET", | 1070 "httpMethod": "GET", |
568 "id": "bigquerydatatransfer.projects
.transferConfigs.runs.transferLogs.list", | 1071 "id": "bigquerydatatransfer.projects
.transferConfigs.runs.transferLogs.list", |
569 "parameterOrder": [ | 1072 "parameterOrder": [ |
570 "parent" | 1073 "parent" |
571 ], | 1074 ], |
572 "parameters": { | 1075 "parameters": { |
| 1076 "pageToken": { |
| 1077 "description": "Pagination t
oken, 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.", |
| 1078 "location": "query", |
| 1079 "type": "string" |
| 1080 }, |
| 1081 "pageSize": { |
| 1082 "description": "Page size. T
he default page size is the maximum value of 1000 results.", |
| 1083 "format": "int32", |
| 1084 "location": "query", |
| 1085 "type": "integer" |
| 1086 }, |
573 "messageTypes": { | 1087 "messageTypes": { |
574 "description": "Message type
s to return. If not populated - INFO, WARNING and ERROR\nmessages are returned."
, | 1088 "description": "Message type
s to return. If not populated - INFO, WARNING and ERROR\nmessages are returned."
, |
575 "enum": [ | 1089 "enum": [ |
576 "MESSAGE_SEVERITY_UNSPEC
IFIED", | 1090 "MESSAGE_SEVERITY_UNSPEC
IFIED", |
577 "INFO", | 1091 "INFO", |
578 "WARNING", | 1092 "WARNING", |
579 "ERROR" | 1093 "ERROR" |
580 ], | 1094 ], |
581 "location": "query", | 1095 "location": "query", |
582 "repeated": true, | 1096 "repeated": true, |
583 "type": "string" | 1097 "type": "string" |
584 }, | 1098 }, |
585 "parent": { | 1099 "parent": { |
586 "description": "Transfer run
name in the form:\n`projects/{project_id}/transferConfigs/{config_Id}/runs/{run
_id}`.", | 1100 "description": "Transfer run
name in the form:\n`projects/{project_id}/transferConfigs/{config_Id}/runs/{run
_id}`.", |
587 "location": "path", | 1101 "location": "path", |
588 "pattern": "^projects/[^/]+/
transferConfigs/[^/]+/runs/[^/]+$", | 1102 "pattern": "^projects/[^/]+/
transferConfigs/[^/]+/runs/[^/]+$", |
589 "required": true, | 1103 "required": true, |
590 "type": "string" | 1104 "type": "string" |
591 }, | |
592 "pageToken": { | |
593 "description": "Pagination t
oken, 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.", | |
594 "location": "query", | |
595 "type": "string" | |
596 }, | |
597 "pageSize": { | |
598 "description": "Page size. T
he default page size is the maximum value of 1000 results.", | |
599 "format": "int32", | |
600 "location": "query", | |
601 "type": "integer" | |
602 } | 1105 } |
603 }, | 1106 }, |
604 "path": "v1/{+parent}/transferLogs", | 1107 "path": "v1/{+parent}/transferLogs", |
605 "response": { | 1108 "response": { |
606 "$ref": "ListTransferLogsRespons
e" | 1109 "$ref": "ListTransferLogsRespons
e" |
607 }, | 1110 }, |
608 "scopes": [ | 1111 "scopes": [ |
609 "https://www.googleapis.com/auth
/bigquery" | 1112 "https://www.googleapis.com/auth
/bigquery" |
610 ] | 1113 ] |
611 } | 1114 } |
612 } | 1115 } |
613 } | 1116 } |
614 } | 1117 } |
615 } | 1118 } |
616 } | 1119 } |
617 } | 1120 } |
618 } | 1121 } |
619 } | 1122 } |
620 }, | 1123 }, |
621 "revision": "20170519", | 1124 "revision": "20170609", |
622 "rootUrl": "https://bigquerydatatransfer.googleapis.com/", | 1125 "rootUrl": "https://bigquerydatatransfer.googleapis.com/", |
623 "schemas": { | 1126 "schemas": { |
624 "Empty": { | |
625 "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 i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", | |
626 "id": "Empty", | |
627 "properties": {}, | |
628 "type": "object" | |
629 }, | |
630 "TransferConfig": { | |
631 "description": "Represents a data transfer configuration. A transfer
configuration\ncontains all metadata needed to perform a data transfer. For exa
mple,\n`destination_dataset_id` specifies where data should be stored.\nWhen a n
ew transfer configuration is created, the specified\n`destination_dataset_id` is
created when needed and shared with the\nappropriate data source service accoun
t.", | |
632 "id": "TransferConfig", | |
633 "properties": { | |
634 "dataRefreshWindowDays": { | |
635 "description": "The number of days to look back to automatic
ally refresh the data.\nFor example, if `data_refresh_window_days = 10`, then ev
ery 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. S
et the value to 0\nto use the default value.", | |
636 "format": "int32", | |
637 "type": "integer" | |
638 }, | |
639 "dataSourceId": { | |
640 "description": "Data source id. Cannot be changed once data
transfer is created.", | |
641 "type": "string" | |
642 }, | |
643 "status": { | |
644 "description": "Status of the most recently updated transfer
run.\n@OutputOnly", | |
645 "enum": [ | |
646 "TRANSFER_STATUS_UNSPECIFIED", | |
647 "INACTIVE", | |
648 "PENDING", | |
649 "RUNNING", | |
650 "SUCCEEDED", | |
651 "FAILED", | |
652 "CANCELLED" | |
653 ], | |
654 "enumDescriptions": [ | |
655 "Status placeholder.", | |
656 "Data transfer is inactive.", | |
657 "Data transfer is scheduled and is waiting to be picked
up by\ndata transfer backend.", | |
658 "Data transfer is in progress.", | |
659 "Data transfer completed successsfully.", | |
660 "Data transfer failed.", | |
661 "Data transfer is cancelled." | |
662 ], | |
663 "type": "string" | |
664 }, | |
665 "destinationDatasetId": { | |
666 "description": "The BigQuery target dataset id.", | |
667 "type": "string" | |
668 }, | |
669 "name": { | |
670 "description": "The resource name of the transfer run.\nTran
sfer run 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 re
quired. The name is ignored when creating a transfer run.", | |
671 "type": "string" | |
672 }, | |
673 "userId": { | |
674 "description": "GaiaID of the user on whose behalf transfer
is done. Applicable only\nto data sources that do not support service accounts.
When set to 0,\nthe data source service account credentials are used.\n@OutputOn
ly", | |
675 "format": "int64", | |
676 "type": "string" | |
677 }, | |
678 "params": { | |
679 "additionalProperties": { | |
680 "description": "Properties of the object.", | |
681 "type": "any" | |
682 }, | |
683 "description": "Data transfer specific parameters.", | |
684 "type": "object" | |
685 }, | |
686 "displayName": { | |
687 "description": "User specified display name for the data tra
nsfer.", | |
688 "type": "string" | |
689 }, | |
690 "nextRunTime": { | |
691 "description": "Next time when data transfer will run. Outpu
t only. Applicable\nonly for batch data transfers.\n@OutputOnly", | |
692 "format": "google-datetime", | |
693 "type": "string" | |
694 }, | |
695 "disabled": { | |
696 "description": "Is this config disabled. When set to true, n
o runs are scheduled\nfor a given transfer.", | |
697 "type": "boolean" | |
698 }, | |
699 "schedule": { | |
700 "description": "Data transfer schedule in GROC format.\nIf t
he 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 ti
mes are in UTC.\nExamples of valid GROC 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`.", | |
701 "type": "string" | |
702 }, | |
703 "updateTime": { | |
704 "description": "Data transfer modification time. Ignored by
server on input.\n@OutputOnly", | |
705 "format": "google-datetime", | |
706 "type": "string" | |
707 } | |
708 }, | |
709 "type": "object" | |
710 }, | |
711 "TransferRun": { | |
712 "description": "Represents a data transfer run.", | |
713 "id": "TransferRun", | |
714 "properties": { | |
715 "scheduleTime": { | |
716 "description": "Minimum time after which a transfer run can
be started.", | |
717 "format": "google-datetime", | |
718 "type": "string" | |
719 }, | |
720 "updateTime": { | |
721 "description": "Last time the data transfer run status was u
pdated.\n@OutputOnly", | |
722 "format": "google-datetime", | |
723 "type": "string" | |
724 }, | |
725 "schedule": { | |
726 "description": "Describes the schedule of this transfer run
if it was created as part of\na regular schedule. For batch transfer runs that a
re directly created,\nthis is empty.\nNOTE: the system might choose to delay the
schedule depending on the\ncurrent load, so `schedule_time` doesn't always matc
hes this.\n@OutputOnly", | |
727 "type": "string" | |
728 }, | |
729 "runTime": { | |
730 "description": "For batch transfer runs, specifies the date
and time that\ndata should be ingested.", | |
731 "format": "google-datetime", | |
732 "type": "string" | |
733 }, | |
734 "dataSourceId": { | |
735 "description": "Data source id.\n@OutputOnly", | |
736 "type": "string" | |
737 }, | |
738 "status": { | |
739 "description": "Data transfer run status. Ignored for input
requests.\n@OutputOnly", | |
740 "enum": [ | |
741 "TRANSFER_STATUS_UNSPECIFIED", | |
742 "INACTIVE", | |
743 "PENDING", | |
744 "RUNNING", | |
745 "SUCCEEDED", | |
746 "FAILED", | |
747 "CANCELLED" | |
748 ], | |
749 "enumDescriptions": [ | |
750 "Status placeholder.", | |
751 "Data transfer is inactive.", | |
752 "Data transfer is scheduled and is waiting to be picked
up by\ndata transfer backend.", | |
753 "Data transfer is in progress.", | |
754 "Data transfer completed successsfully.", | |
755 "Data transfer failed.", | |
756 "Data transfer is cancelled." | |
757 ], | |
758 "type": "string" | |
759 }, | |
760 "name": { | |
761 "description": "The resource name of the transfer run.\nTran
sfer run names have the form\n`projects/{project_id}/transferConfigs/{config_id}
/runs/{run_id}`.\nThe name is ignored when creating a transfer run.", | |
762 "type": "string" | |
763 }, | |
764 "destinationDatasetId": { | |
765 "description": "The BigQuery target dataset id.", | |
766 "type": "string" | |
767 }, | |
768 "userId": { | |
769 "description": "The user id for this transfer run.\n@OutputO
nly", | |
770 "format": "int64", | |
771 "type": "string" | |
772 }, | |
773 "params": { | |
774 "additionalProperties": { | |
775 "description": "Properties of the object.", | |
776 "type": "any" | |
777 }, | |
778 "description": "Data transfer specific parameters.", | |
779 "type": "object" | |
780 }, | |
781 "endTime": { | |
782 "description": "Time when transfer run ended. Parameter igno
red by server for input\nrequests.\n@OutputOnly", | |
783 "format": "google-datetime", | |
784 "type": "string" | |
785 }, | |
786 "startTime": { | |
787 "description": "Time when transfer run was started. Paramete
r ignored by server for input\nrequests.\n@OutputOnly", | |
788 "format": "google-datetime", | |
789 "type": "string" | |
790 } | |
791 }, | |
792 "type": "object" | |
793 }, | |
794 "CheckValidCredsRequest": { | |
795 "description": "A request to determine whether the user has valid cr
edentials. 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 sour
ce has the Google+ authorization type, this method\nreturns false, as it cannot
be determined whether the credentials are\nalready valid merely based on the use
r id.", | |
796 "id": "CheckValidCredsRequest", | |
797 "properties": {}, | |
798 "type": "object" | |
799 }, | |
800 "CheckValidCredsResponse": { | 1127 "CheckValidCredsResponse": { |
801 "description": "A response indicating whether the credentials exist
and are valid.", | 1128 "description": "A response indicating whether the credentials exist
and are valid.", |
802 "id": "CheckValidCredsResponse", | 1129 "id": "CheckValidCredsResponse", |
803 "properties": { | 1130 "properties": { |
804 "hasValidCreds": { | 1131 "hasValidCreds": { |
805 "description": "If set to `true`, the credentials exist and
are valid.", | 1132 "description": "If set to `true`, the credentials exist and
are valid.", |
806 "type": "boolean" | 1133 "type": "boolean" |
807 } | 1134 } |
808 }, | 1135 }, |
809 "type": "object" | 1136 "type": "object" |
810 }, | 1137 }, |
811 "ScheduleTransferRunsResponse": { | 1138 "ScheduleTransferRunsResponse": { |
812 "description": "A response to schedule transfer runs for a time rang
e.", | 1139 "description": "A response to schedule transfer runs for a time rang
e.", |
813 "id": "ScheduleTransferRunsResponse", | 1140 "id": "ScheduleTransferRunsResponse", |
814 "properties": { | 1141 "properties": { |
815 "createdRuns": { | 1142 "createdRuns": { |
816 "description": "The transfer runs that were created.", | 1143 "description": "The transfer runs that were created.", |
817 "items": { | 1144 "items": { |
818 "$ref": "TransferRun" | 1145 "$ref": "TransferRun" |
819 }, | 1146 }, |
820 "type": "array" | 1147 "type": "array" |
821 } | 1148 } |
822 }, | 1149 }, |
823 "type": "object" | 1150 "type": "object" |
824 }, | 1151 }, |
| 1152 "ListTransferLogsResponse": { |
| 1153 "description": "The returned list transfer run messages.", |
| 1154 "id": "ListTransferLogsResponse", |
| 1155 "properties": { |
| 1156 "transferMessages": { |
| 1157 "description": "The stored pipeline transfer messages.\n@Out
putOnly", |
| 1158 "items": { |
| 1159 "$ref": "TransferMessage" |
| 1160 }, |
| 1161 "type": "array" |
| 1162 }, |
| 1163 "nextPageToken": { |
| 1164 "description": "The next-pagination token. For multiple-page
list results,\nthis token can be used as the\n`GetTransferRunLogRequest.page_to
ken`\nto request the next page of list results.\n@OutputOnly", |
| 1165 "type": "string" |
| 1166 } |
| 1167 }, |
| 1168 "type": "object" |
| 1169 }, |
825 "TransferMessage": { | 1170 "TransferMessage": { |
826 "description": "Represents a user facing message for a particular da
ta transfer run.", | 1171 "description": "Represents a user facing message for a particular da
ta transfer run.", |
827 "id": "TransferMessage", | 1172 "id": "TransferMessage", |
828 "properties": { | 1173 "properties": { |
829 "messageTime": { | 1174 "messageTime": { |
830 "description": "Time when message was logged.", | 1175 "description": "Time when message was logged.", |
831 "format": "google-datetime", | 1176 "format": "google-datetime", |
832 "type": "string" | 1177 "type": "string" |
833 }, | 1178 }, |
834 "severity": { | 1179 "severity": { |
(...skipping 12 matching lines...) Expand all Loading... |
847 ], | 1192 ], |
848 "type": "string" | 1193 "type": "string" |
849 }, | 1194 }, |
850 "messageText": { | 1195 "messageText": { |
851 "description": "Message text.", | 1196 "description": "Message text.", |
852 "type": "string" | 1197 "type": "string" |
853 } | 1198 } |
854 }, | 1199 }, |
855 "type": "object" | 1200 "type": "object" |
856 }, | 1201 }, |
857 "ListTransferLogsResponse": { | |
858 "description": "The returned list transfer run messages.", | |
859 "id": "ListTransferLogsResponse", | |
860 "properties": { | |
861 "transferMessages": { | |
862 "description": "The stored pipeline transfer messages.\n@Out
putOnly", | |
863 "items": { | |
864 "$ref": "TransferMessage" | |
865 }, | |
866 "type": "array" | |
867 }, | |
868 "nextPageToken": { | |
869 "description": "The next-pagination token. For multiple-page
list results,\nthis token can be used as the\n`GetTransferRunLogRequest.page_to
ken`\nto request the next page of list results.\n@OutputOnly", | |
870 "type": "string" | |
871 } | |
872 }, | |
873 "type": "object" | |
874 }, | |
875 "ListDataSourcesResponse": { | 1202 "ListDataSourcesResponse": { |
876 "description": "Returns list of supported data sources and their met
adata.", | 1203 "description": "Returns list of supported data sources and their met
adata.", |
877 "id": "ListDataSourcesResponse", | 1204 "id": "ListDataSourcesResponse", |
878 "properties": { | 1205 "properties": { |
879 "dataSources": { | 1206 "dataSources": { |
880 "description": "List of supported data sources and their tra
nsfer settings.", | 1207 "description": "List of supported data sources and their tra
nsfer settings.", |
881 "items": { | 1208 "items": { |
882 "$ref": "DataSource" | 1209 "$ref": "DataSource" |
883 }, | 1210 }, |
884 "type": "array" | 1211 "type": "array" |
885 }, | 1212 }, |
886 "nextPageToken": { | 1213 "nextPageToken": { |
887 "description": "The next-pagination token. For multiple-page
list results,\nthis token can be used as the\n`ListDataSourcesRequest.page_toke
n`\nto request the next page of list results.\n@OutputOnly", | 1214 "description": "The next-pagination token. For multiple-page
list results,\nthis token can be used as the\n`ListDataSourcesRequest.page_toke
n`\nto request the next page of list results.\n@OutputOnly", |
888 "type": "string" | 1215 "type": "string" |
889 } | 1216 } |
890 }, | 1217 }, |
891 "type": "object" | 1218 "type": "object" |
892 }, | 1219 }, |
893 "DataSourceParameter": { | 1220 "DataSourceParameter": { |
894 "description": "Represents a data source parameter with validation r
ules, 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 renderi
ng\nand validation.\nThus, whoever uses this api can decide to generate either g
eneric ui,\nor custom data source specific forms.", | 1221 "description": "Represents a data source parameter with validation r
ules, 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 renderi
ng\nand validation.\nThus, whoever uses this api can decide to generate either g
eneric ui,\nor custom data source specific forms.", |
895 "id": "DataSourceParameter", | 1222 "id": "DataSourceParameter", |
896 "properties": { | 1223 "properties": { |
897 "description": { | 1224 "validationHelpUrl": { |
898 "description": "Parameter description.", | 1225 "description": "URL to a help document to further explain th
e naming requirements.", |
899 "type": "string" | 1226 "type": "string" |
900 }, | 1227 }, |
901 "allowedValues": { | |
902 "description": "All possible values for the parameter.", | |
903 "items": { | |
904 "type": "string" | |
905 }, | |
906 "type": "array" | |
907 }, | |
908 "minValue": { | 1228 "minValue": { |
909 "description": "For integer and double values specifies mini
mum allowed value.", | 1229 "description": "For integer and double values specifies mini
mum allowed value.", |
910 "format": "double", | 1230 "format": "double", |
911 "type": "number" | 1231 "type": "number" |
912 }, | 1232 }, |
913 "validationHelpUrl": { | |
914 "description": "URL to a help document to further explain th
e naming requirements.", | |
915 "type": "string" | |
916 }, | |
917 "validationRegex": { | 1233 "validationRegex": { |
918 "description": "Regular expression which can be used for par
ameter validation.", | 1234 "description": "Regular expression which can be used for par
ameter validation.", |
919 "type": "string" | 1235 "type": "string" |
920 }, | 1236 }, |
921 "paramId": { | 1237 "paramId": { |
922 "description": "Parameter identifier.", | 1238 "description": "Parameter identifier.", |
923 "type": "string" | 1239 "type": "string" |
924 }, | 1240 }, |
925 "required": { | 1241 "required": { |
926 "description": "Is parameter required.", | 1242 "description": "Is parameter required.", |
927 "type": "boolean" | 1243 "type": "boolean" |
928 }, | 1244 }, |
929 "repeated": { | 1245 "repeated": { |
930 "description": "Can parameter have multiple values.", | 1246 "description": "Can parameter have multiple values.", |
931 "type": "boolean" | 1247 "type": "boolean" |
932 }, | 1248 }, |
933 "displayName": { | 1249 "displayName": { |
934 "description": "Parameter display name in the user interface
.", | 1250 "description": "Parameter display name in the user interface
.", |
935 "type": "string" | 1251 "type": "string" |
936 }, | 1252 }, |
| 1253 "validationDescription": { |
| 1254 "description": "Description of the requirements for this fie
ld, in case the user input does\nnot fulfill the regex pattern or min/max values
.", |
| 1255 "type": "string" |
| 1256 }, |
937 "immutable": { | 1257 "immutable": { |
938 "description": "Cannot be changed after initial creation.", | 1258 "description": "Cannot be changed after initial creation.", |
939 "type": "boolean" | 1259 "type": "boolean" |
940 }, | 1260 }, |
941 "validationDescription": { | |
942 "description": "Description of the requirements for this fie
ld, in case the user input does\nnot fulfill the regex pattern or min/max values
.", | |
943 "type": "string" | |
944 }, | |
945 "fields": { | 1261 "fields": { |
946 "description": "When parameter is a record, describes child
fields.", | 1262 "description": "When parameter is a record, describes child
fields.", |
947 "items": { | 1263 "items": { |
948 "$ref": "DataSourceParameter" | 1264 "$ref": "DataSourceParameter" |
949 }, | 1265 }, |
950 "type": "array" | 1266 "type": "array" |
951 }, | 1267 }, |
952 "maxValue": { | 1268 "maxValue": { |
953 "description": "For integer and double values specifies maxm
inum allowed value.", | 1269 "description": "For integer and double values specifies maxm
inum allowed value.", |
954 "format": "double", | 1270 "format": "double", |
(...skipping 17 matching lines...) Expand all Loading... |
972 "Double precision floating point parameter.", | 1288 "Double precision floating point parameter.", |
973 "Boolean parameter.", | 1289 "Boolean parameter.", |
974 "Record parameter.", | 1290 "Record parameter.", |
975 "Page ID for a Google+ Page." | 1291 "Page ID for a Google+ Page." |
976 ], | 1292 ], |
977 "type": "string" | 1293 "type": "string" |
978 }, | 1294 }, |
979 "recurse": { | 1295 "recurse": { |
980 "description": "If set to true, schema should be taken from
the parent with the same\nparameter_id. Only applicable when parameter type is R
ECORD.", | 1296 "description": "If set to true, schema should be taken from
the parent with the same\nparameter_id. Only applicable when parameter type is R
ECORD.", |
981 "type": "boolean" | 1297 "type": "boolean" |
| 1298 }, |
| 1299 "description": { |
| 1300 "description": "Parameter description.", |
| 1301 "type": "string" |
| 1302 }, |
| 1303 "allowedValues": { |
| 1304 "description": "All possible values for the parameter.", |
| 1305 "items": { |
| 1306 "type": "string" |
| 1307 }, |
| 1308 "type": "array" |
982 } | 1309 } |
983 }, | 1310 }, |
984 "type": "object" | 1311 "type": "object" |
985 }, | 1312 }, |
986 "ListTransferRunsResponse": { | 1313 "ListTransferRunsResponse": { |
987 "description": "The returned list of pipelines in the project.", | 1314 "description": "The returned list of pipelines in the project.", |
988 "id": "ListTransferRunsResponse", | 1315 "id": "ListTransferRunsResponse", |
989 "properties": { | 1316 "properties": { |
990 "transferRuns": { | 1317 "transferRuns": { |
991 "description": "The stored pipeline transfer runs.\n@OutputO
nly", | 1318 "description": "The stored pipeline transfer runs.\n@OutputO
nly", |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1114 "type": "array" | 1441 "type": "array" |
1115 }, | 1442 }, |
1116 "helpUrl": { | 1443 "helpUrl": { |
1117 "description": "Url for the help document for this data sour
ce.", | 1444 "description": "Url for the help document for this data sour
ce.", |
1118 "type": "string" | 1445 "type": "string" |
1119 }, | 1446 }, |
1120 "defaultSchedule": { | 1447 "defaultSchedule": { |
1121 "description": "Default data transfer schedule.\nExamples of
valid schedules include:\n`1st,3rd monday of month 15:30`,\n`every wed,fri of j
an,jun 13:15`, and\n`first sunday of quarter 00:00`.", | 1448 "description": "Default data transfer schedule.\nExamples of
valid schedules include:\n`1st,3rd monday of month 15:30`,\n`every wed,fri of j
an,jun 13:15`, and\n`first sunday of quarter 00:00`.", |
1122 "type": "string" | 1449 "type": "string" |
1123 }, | 1450 }, |
1124 "supportsMultipleTransfers": { | |
1125 "description": "Indicates whether the data source supports m
ultiple transfers\nto different BigQuery targets.", | |
1126 "type": "boolean" | |
1127 }, | |
1128 "statusUpdateDeadlineSeconds": { | 1451 "statusUpdateDeadlineSeconds": { |
1129 "description": "The number of seconds to wait for a status u
pdate from the data source\nbefore BigQuery marks the transfer as failed.", | 1452 "description": "The number of seconds to wait for a status u
pdate from the data source\nbefore BigQuery marks the transfer as failed.", |
1130 "format": "int32", | 1453 "format": "int32", |
1131 "type": "integer" | 1454 "type": "integer" |
1132 }, | 1455 }, |
1133 "manualRunsDisabled": { | 1456 "supportsMultipleTransfers": { |
1134 "description": "Disables backfilling and manual run scheduli
ng\nfor the data source.", | 1457 "description": "Indicates whether the data source supports m
ultiple transfers\nto different BigQuery targets.", |
1135 "type": "boolean" | 1458 "type": "boolean" |
1136 }, | 1459 }, |
1137 "defaultDataRefreshWindowDays": { | 1460 "defaultDataRefreshWindowDays": { |
1138 "description": "Default data refresh window on days.\nOnly m
eaningful when `data_refresh_type` = `SLIDING_WINDOW`.", | 1461 "description": "Default data refresh window on days.\nOnly m
eaningful when `data_refresh_type` = `SLIDING_WINDOW`.", |
1139 "format": "int32", | 1462 "format": "int32", |
1140 "type": "integer" | 1463 "type": "integer" |
1141 }, | 1464 }, |
| 1465 "manualRunsDisabled": { |
| 1466 "description": "Disables backfilling and manual run scheduli
ng\nfor the data source.", |
| 1467 "type": "boolean" |
| 1468 }, |
1142 "transferType": { | 1469 "transferType": { |
1143 "description": "Transfer type. Currently supports only batch
transfers,\nwhich are transfers that use the BigQuery batch APIs (load or\nquer
y) to ingest the data.", | 1470 "description": "Transfer type. Currently supports only batch
transfers,\nwhich are transfers that use the BigQuery batch APIs (load or\nquer
y) to ingest the data.", |
1144 "enum": [ | 1471 "enum": [ |
1145 "TRANSFER_TYPE_UNSPECIFIED", | 1472 "TRANSFER_TYPE_UNSPECIFIED", |
1146 "BATCH", | 1473 "BATCH", |
1147 "STREAMING" | 1474 "STREAMING" |
1148 ], | 1475 ], |
1149 "enumDescriptions": [ | 1476 "enumDescriptions": [ |
1150 "Invalid or Unknown transfer type placeholder.", | 1477 "Invalid or Unknown transfer type placeholder.", |
1151 "Batch data transfer.", | 1478 "Batch data transfer.", |
1152 "Streaming data transfer. Streaming data source currentl
y doesn't\nsupport multiple transfer configs per project." | 1479 "Streaming data transfer. Streaming data source currentl
y doesn't\nsupport multiple transfer configs per project." |
1153 ], | 1480 ], |
1154 "type": "string" | 1481 "type": "string" |
1155 }, | 1482 }, |
1156 "description": { | 1483 "description": { |
1157 "description": "User friendly data source description string
.", | 1484 "description": "User friendly data source description string
.", |
1158 "type": "string" | 1485 "type": "string" |
1159 } | 1486 } |
1160 }, | 1487 }, |
1161 "type": "object" | 1488 "type": "object" |
1162 }, | 1489 }, |
1163 "ScheduleTransferRunsRequest": { | 1490 "ScheduleTransferRunsRequest": { |
1164 "description": "A request to schedule transfer runs for a time range
.", | 1491 "description": "A request to schedule transfer runs for a time range
.", |
1165 "id": "ScheduleTransferRunsRequest", | 1492 "id": "ScheduleTransferRunsRequest", |
1166 "properties": { | 1493 "properties": { |
1167 "rangeEndTime": { | 1494 "rangeStartTime": { |
1168 "description": "End time of the range of transfer runs.", | 1495 "description": "Start time of the range of transfer runs.", |
1169 "format": "google-datetime", | 1496 "format": "google-datetime", |
1170 "type": "string" | 1497 "type": "string" |
1171 }, | 1498 }, |
1172 "rangeStartTime": { | 1499 "rangeEndTime": { |
1173 "description": "Start time of the range of transfer runs.", | 1500 "description": "End time of the range of transfer runs.", |
1174 "format": "google-datetime", | 1501 "format": "google-datetime", |
1175 "type": "string" | 1502 "type": "string" |
1176 } | 1503 } |
1177 }, | 1504 }, |
1178 "type": "object" | 1505 "type": "object" |
| 1506 }, |
| 1507 "Empty": { |
| 1508 "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 i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
| 1509 "id": "Empty", |
| 1510 "properties": {}, |
| 1511 "type": "object" |
| 1512 }, |
| 1513 "TransferConfig": { |
| 1514 "description": "Represents a data transfer configuration. A transfer
configuration\ncontains all metadata needed to perform a data transfer. For exa
mple,\n`destination_dataset_id` specifies where data should be stored.\nWhen a n
ew transfer configuration is created, the specified\n`destination_dataset_id` is
created when needed and shared with the\nappropriate data source service accoun
t.", |
| 1515 "id": "TransferConfig", |
| 1516 "properties": { |
| 1517 "nextRunTime": { |
| 1518 "description": "Next time when data transfer will run. Outpu
t only. Applicable\nonly for batch data transfers.\n@OutputOnly", |
| 1519 "format": "google-datetime", |
| 1520 "type": "string" |
| 1521 }, |
| 1522 "dataSourceId": { |
| 1523 "description": "Data source id. Cannot be changed once data
transfer is created.", |
| 1524 "type": "string" |
| 1525 }, |
| 1526 "disabled": { |
| 1527 "description": "Is this config disabled. When set to true, n
o runs are scheduled\nfor a given transfer.", |
| 1528 "type": "boolean" |
| 1529 }, |
| 1530 "status": { |
| 1531 "description": "Status of the most recently updated transfer
run.\n@OutputOnly", |
| 1532 "enum": [ |
| 1533 "TRANSFER_STATUS_UNSPECIFIED", |
| 1534 "INACTIVE", |
| 1535 "PENDING", |
| 1536 "RUNNING", |
| 1537 "SUCCEEDED", |
| 1538 "FAILED", |
| 1539 "CANCELLED" |
| 1540 ], |
| 1541 "enumDescriptions": [ |
| 1542 "Status placeholder.", |
| 1543 "Data transfer is inactive.", |
| 1544 "Data transfer is scheduled and is waiting to be picked
up by\ndata transfer backend.", |
| 1545 "Data transfer is in progress.", |
| 1546 "Data transfer completed successsfully.", |
| 1547 "Data transfer failed.", |
| 1548 "Data transfer is cancelled." |
| 1549 ], |
| 1550 "type": "string" |
| 1551 }, |
| 1552 "updateTime": { |
| 1553 "description": "Data transfer modification time. Ignored by
server on input.\n@OutputOnly", |
| 1554 "format": "google-datetime", |
| 1555 "type": "string" |
| 1556 }, |
| 1557 "schedule": { |
| 1558 "description": "Data transfer schedule in GROC format.\nIf t
he 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 ti
mes are in UTC.\nExamples of valid GROC 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`.", |
| 1559 "type": "string" |
| 1560 }, |
| 1561 "destinationDatasetId": { |
| 1562 "description": "The BigQuery target dataset id.", |
| 1563 "type": "string" |
| 1564 }, |
| 1565 "name": { |
| 1566 "description": "The resource name of the transfer run.\nTran
sfer run 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 re
quired. The name is ignored when creating a transfer run.", |
| 1567 "type": "string" |
| 1568 }, |
| 1569 "params": { |
| 1570 "additionalProperties": { |
| 1571 "description": "Properties of the object.", |
| 1572 "type": "any" |
| 1573 }, |
| 1574 "description": "Data transfer specific parameters.", |
| 1575 "type": "object" |
| 1576 }, |
| 1577 "dataRefreshWindowDays": { |
| 1578 "description": "The number of days to look back to automatic
ally refresh the data.\nFor example, if `data_refresh_window_days = 10`, then ev
ery 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. S
et the value to 0\nto use the default value.", |
| 1579 "format": "int32", |
| 1580 "type": "integer" |
| 1581 }, |
| 1582 "displayName": { |
| 1583 "description": "User specified display name for the data tra
nsfer.", |
| 1584 "type": "string" |
| 1585 } |
| 1586 }, |
| 1587 "type": "object" |
| 1588 }, |
| 1589 "TransferRun": { |
| 1590 "description": "Represents a data transfer run.", |
| 1591 "id": "TransferRun", |
| 1592 "properties": { |
| 1593 "updateTime": { |
| 1594 "description": "Last time the data transfer run status was u
pdated.\n@OutputOnly", |
| 1595 "format": "google-datetime", |
| 1596 "type": "string" |
| 1597 }, |
| 1598 "schedule": { |
| 1599 "description": "Describes the schedule of this transfer run
if it was created as part of\na regular schedule. For batch transfer runs that a
re directly created,\nthis is empty.\nNOTE: the system might choose to delay the
schedule depending on the\ncurrent load, so `schedule_time` doesn't always matc
hes this.\n@OutputOnly", |
| 1600 "type": "string" |
| 1601 }, |
| 1602 "destinationDatasetId": { |
| 1603 "description": "The BigQuery target dataset id.", |
| 1604 "type": "string" |
| 1605 }, |
| 1606 "name": { |
| 1607 "description": "The resource name of the transfer run.\nTran
sfer run names have the form\n`projects/{project_id}/transferConfigs/{config_id}
/runs/{run_id}`.\nThe name is ignored when creating a transfer run.", |
| 1608 "type": "string" |
| 1609 }, |
| 1610 "runTime": { |
| 1611 "description": "For batch transfer runs, specifies the date
and time that\ndata should be ingested.", |
| 1612 "format": "google-datetime", |
| 1613 "type": "string" |
| 1614 }, |
| 1615 "params": { |
| 1616 "additionalProperties": { |
| 1617 "description": "Properties of the object.", |
| 1618 "type": "any" |
| 1619 }, |
| 1620 "description": "Data transfer specific parameters.", |
| 1621 "type": "object" |
| 1622 }, |
| 1623 "endTime": { |
| 1624 "description": "Time when transfer run ended. Parameter igno
red by server for input\nrequests.\n@OutputOnly", |
| 1625 "format": "google-datetime", |
| 1626 "type": "string" |
| 1627 }, |
| 1628 "startTime": { |
| 1629 "description": "Time when transfer run was started. Paramete
r ignored by server for input\nrequests.\n@OutputOnly", |
| 1630 "format": "google-datetime", |
| 1631 "type": "string" |
| 1632 }, |
| 1633 "dataSourceId": { |
| 1634 "description": "Data source id.\n@OutputOnly", |
| 1635 "type": "string" |
| 1636 }, |
| 1637 "scheduleTime": { |
| 1638 "description": "Minimum time after which a transfer run can
be started.", |
| 1639 "format": "google-datetime", |
| 1640 "type": "string" |
| 1641 }, |
| 1642 "status": { |
| 1643 "description": "Data transfer run status. Ignored for input
requests.\n@OutputOnly", |
| 1644 "enum": [ |
| 1645 "TRANSFER_STATUS_UNSPECIFIED", |
| 1646 "INACTIVE", |
| 1647 "PENDING", |
| 1648 "RUNNING", |
| 1649 "SUCCEEDED", |
| 1650 "FAILED", |
| 1651 "CANCELLED" |
| 1652 ], |
| 1653 "enumDescriptions": [ |
| 1654 "Status placeholder.", |
| 1655 "Data transfer is inactive.", |
| 1656 "Data transfer is scheduled and is waiting to be picked
up by\ndata transfer backend.", |
| 1657 "Data transfer is in progress.", |
| 1658 "Data transfer completed successsfully.", |
| 1659 "Data transfer failed.", |
| 1660 "Data transfer is cancelled." |
| 1661 ], |
| 1662 "type": "string" |
| 1663 } |
| 1664 }, |
| 1665 "type": "object" |
| 1666 }, |
| 1667 "CheckValidCredsRequest": { |
| 1668 "description": "A request to determine whether the user has valid cr
edentials. 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 sour
ce has the Google+ authorization type, this method\nreturns false, as it cannot
be determined whether the credentials are\nalready valid merely based on the use
r id.", |
| 1669 "id": "CheckValidCredsRequest", |
| 1670 "properties": {}, |
| 1671 "type": "object" |
1179 } | 1672 } |
1180 }, | 1673 }, |
1181 "servicePath": "", | 1674 "servicePath": "", |
1182 "title": "BigQuery Data Transfer Service API", | 1675 "title": "BigQuery Data Transfer Service API", |
1183 "version": "v1" | 1676 "version": "v1" |
1184 } | 1677 } |
OLD | NEW |