OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "", | 11 "basePath": "", |
12 "baseUrl": "https://storagetransfer.googleapis.com/", | 12 "baseUrl": "https://storagetransfer.googleapis.com/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "description": "Transfers data from external data sources to a Google Cloud
Storage bucket or between Google Cloud Storage buckets.", | 14 "description": "Transfers data from external data sources to a Google Cloud
Storage bucket or between Google Cloud Storage buckets.", |
15 "discoveryVersion": "v1", | 15 "discoveryVersion": "v1", |
16 "documentationLink": "https://cloud.google.com/storage/transfer", | 16 "documentationLink": "https://cloud.google.com/storage/transfer", |
17 "icons": { | 17 "icons": { |
18 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 18 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
19 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 19 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
20 }, | 20 }, |
21 "id": "storagetransfer:v1", | 21 "id": "storagetransfer:v1", |
22 "kind": "discovery#restDescription", | 22 "kind": "discovery#restDescription", |
23 "name": "storagetransfer", | 23 "name": "storagetransfer", |
24 "ownerDomain": "google.com", | 24 "ownerDomain": "google.com", |
25 "ownerName": "Google", | 25 "ownerName": "Google", |
26 "parameters": { | 26 "parameters": { |
27 "access_token": { | 27 "alt": { |
28 "description": "OAuth access token.", | 28 "default": "json", |
| 29 "description": "Data format for response.", |
| 30 "enum": [ |
| 31 "json", |
| 32 "media", |
| 33 "proto" |
| 34 ], |
| 35 "enumDescriptions": [ |
| 36 "Responses with Content-Type of application/json", |
| 37 "Media download with context-dependent Content-Type", |
| 38 "Responses with Content-Type of application/x-protobuf" |
| 39 ], |
29 "location": "query", | 40 "location": "query", |
30 "type": "string" | 41 "type": "string" |
31 }, | 42 }, |
32 "key": { | 43 "key": { |
33 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | 44 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
34 "location": "query", | 45 "location": "query", |
35 "type": "string" | 46 "type": "string" |
36 }, | 47 }, |
| 48 "access_token": { |
| 49 "description": "OAuth access token.", |
| 50 "location": "query", |
| 51 "type": "string" |
| 52 }, |
37 "quotaUser": { | 53 "quotaUser": { |
38 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | 54 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
39 "location": "query", | 55 "location": "query", |
40 "type": "string" | 56 "type": "string" |
41 }, | 57 }, |
42 "pp": { | 58 "pp": { |
43 "default": "true", | 59 "default": "true", |
44 "description": "Pretty-print response.", | 60 "description": "Pretty-print response.", |
45 "location": "query", | 61 "location": "query", |
46 "type": "boolean" | 62 "type": "boolean" |
47 }, | 63 }, |
| 64 "oauth_token": { |
| 65 "description": "OAuth 2.0 token for the current user.", |
| 66 "location": "query", |
| 67 "type": "string" |
| 68 }, |
48 "bearer_token": { | 69 "bearer_token": { |
49 "description": "OAuth bearer token.", | 70 "description": "OAuth bearer token.", |
50 "location": "query", | 71 "location": "query", |
51 "type": "string" | 72 "type": "string" |
52 }, | 73 }, |
53 "oauth_token": { | |
54 "description": "OAuth 2.0 token for the current user.", | |
55 "location": "query", | |
56 "type": "string" | |
57 }, | |
58 "upload_protocol": { | 74 "upload_protocol": { |
59 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 75 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
60 "location": "query", | 76 "location": "query", |
61 "type": "string" | 77 "type": "string" |
62 }, | 78 }, |
63 "prettyPrint": { | 79 "prettyPrint": { |
64 "default": "true", | 80 "default": "true", |
65 "description": "Returns response with indentations and line breaks."
, | 81 "description": "Returns response with indentations and line breaks."
, |
66 "location": "query", | 82 "location": "query", |
67 "type": "boolean" | 83 "type": "boolean" |
68 }, | 84 }, |
| 85 "fields": { |
| 86 "description": "Selector specifying which fields to include in a par
tial response.", |
| 87 "location": "query", |
| 88 "type": "string" |
| 89 }, |
69 "uploadType": { | 90 "uploadType": { |
70 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 91 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
71 "location": "query", | 92 "location": "query", |
72 "type": "string" | 93 "type": "string" |
73 }, | 94 }, |
74 "fields": { | |
75 "description": "Selector specifying which fields to include in a par
tial response.", | |
76 "location": "query", | |
77 "type": "string" | |
78 }, | |
79 "$.xgafv": { | 95 "$.xgafv": { |
80 "description": "V1 error format.", | 96 "description": "V1 error format.", |
81 "enum": [ | 97 "enum": [ |
82 "1", | 98 "1", |
83 "2" | 99 "2" |
84 ], | 100 ], |
85 "enumDescriptions": [ | 101 "enumDescriptions": [ |
86 "v1 error format", | 102 "v1 error format", |
87 "v2 error format" | 103 "v2 error format" |
88 ], | 104 ], |
89 "location": "query", | 105 "location": "query", |
90 "type": "string" | 106 "type": "string" |
91 }, | 107 }, |
92 "callback": { | 108 "callback": { |
93 "description": "JSONP", | 109 "description": "JSONP", |
94 "location": "query", | 110 "location": "query", |
95 "type": "string" | 111 "type": "string" |
96 }, | |
97 "alt": { | |
98 "default": "json", | |
99 "description": "Data format for response.", | |
100 "enum": [ | |
101 "json", | |
102 "media", | |
103 "proto" | |
104 ], | |
105 "enumDescriptions": [ | |
106 "Responses with Content-Type of application/json", | |
107 "Media download with context-dependent Content-Type", | |
108 "Responses with Content-Type of application/x-protobuf" | |
109 ], | |
110 "location": "query", | |
111 "type": "string" | |
112 } | 112 } |
113 }, | 113 }, |
114 "protocol": "rest", | 114 "protocol": "rest", |
115 "resources": { | 115 "resources": { |
116 "googleServiceAccounts": { | 116 "googleServiceAccounts": { |
117 "methods": { | 117 "methods": { |
118 "get": { | 118 "get": { |
119 "description": "Returns the Google service account that is u
sed by Storage Transfer\nService to access buckets in the project where transfer
s\nrun or in other projects. Each Google service account is associated\nwith one
Google Cloud Platform Console project. Users\nshould add this service account t
o the Google Cloud Storage bucket\nACLs to grant access to Storage Transfer Serv
ice. This service\naccount is created and owned by Storage Transfer Service and
can\nonly be used by Storage Transfer Service.", | 119 "description": "Returns the Google service account that is u
sed by Storage Transfer\nService to access buckets in the project where transfer
s\nrun or in other projects. Each Google service account is associated\nwith one
Google Cloud Platform Console project. Users\nshould add this service account t
o the Google Cloud Storage bucket\nACLs to grant access to Storage Transfer Serv
ice. This service\naccount is created and owned by Storage Transfer Service and
can\nonly be used by Storage Transfer Service.", |
120 "httpMethod": "GET", | 120 "httpMethod": "GET", |
121 "id": "storagetransfer.googleServiceAccounts.get", | 121 "id": "storagetransfer.googleServiceAccounts.get", |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 ] | 167 ] |
168 }, | 168 }, |
169 "list": { | 169 "list": { |
170 "description": "Lists operations that match the specified fi
lter in the request. If the\nserver doesn't support this method, it returns `UNI
MPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the bin
ding\nto use different resource name schemes, such as `users/*/operations`. To\n
override the binding, API services can add a binding such as\n`\"/v1/{name=users
/*}/operations\"` to their service configuration.\nFor backwards compatibility,
the default name includes the operations\ncollection id, however overriding user
s must ensure the name binding\nis the parent resource, without the operations c
ollection id.", | 170 "description": "Lists operations that match the specified fi
lter in the request. If the\nserver doesn't support this method, it returns `UNI
MPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the bin
ding\nto use different resource name schemes, such as `users/*/operations`. To\n
override the binding, API services can add a binding such as\n`\"/v1/{name=users
/*}/operations\"` to their service configuration.\nFor backwards compatibility,
the default name includes the operations\ncollection id, however overriding user
s must ensure the name binding\nis the parent resource, without the operations c
ollection id.", |
171 "httpMethod": "GET", | 171 "httpMethod": "GET", |
172 "id": "storagetransfer.transferOperations.list", | 172 "id": "storagetransfer.transferOperations.list", |
173 "parameterOrder": [ | 173 "parameterOrder": [ |
174 "name" | 174 "name" |
175 ], | 175 ], |
176 "parameters": { | 176 "parameters": { |
177 "filter": { | |
178 "description": "A list of query parameters specified
as JSON text in the form of {\\\"project_id\\\" : \\\"my_project_id\\\", \\\"jo
b_names\\\" : [\\\"jobid1\\\", \\\"jobid2\\\",...], \\\"operation_names\\\" : [\
\\"opid1\\\", \\\"opid2\\\",...], \\\"transfer_statuses\\\":[\\\"status1\\\", \\
\"status2\\\",...]}. Since `job_names`, `operation_names`, and `transfer_statuse
s` support multiple values, they must be specified with array notation. `job_nam
es`, `operation_names`, and `transfer_statuses` are optional.", | |
179 "location": "query", | |
180 "type": "string" | |
181 }, | |
182 "pageToken": { | 177 "pageToken": { |
183 "description": "The list page token.", | 178 "description": "The list page token.", |
184 "location": "query", | 179 "location": "query", |
185 "type": "string" | 180 "type": "string" |
186 }, | 181 }, |
187 "name": { | 182 "name": { |
188 "description": "The value `transferOperations`.", | 183 "description": "The value `transferOperations`.", |
189 "location": "path", | 184 "location": "path", |
190 "pattern": "^transferOperations$", | 185 "pattern": "^transferOperations$", |
191 "required": true, | 186 "required": true, |
192 "type": "string" | 187 "type": "string" |
193 }, | 188 }, |
194 "pageSize": { | 189 "pageSize": { |
195 "description": "The list page size. The max allowed
value is 256.", | 190 "description": "The list page size. The max allowed
value is 256.", |
196 "format": "int32", | 191 "format": "int32", |
197 "location": "query", | 192 "location": "query", |
198 "type": "integer" | 193 "type": "integer" |
| 194 }, |
| 195 "filter": { |
| 196 "description": "A list of query parameters specified
as JSON text in the form of {\\\"project_id\\\" : \\\"my_project_id\\\", \\\"jo
b_names\\\" : [\\\"jobid1\\\", \\\"jobid2\\\",...], \\\"operation_names\\\" : [\
\\"opid1\\\", \\\"opid2\\\",...], \\\"transfer_statuses\\\":[\\\"status1\\\", \\
\"status2\\\",...]}. Since `job_names`, `operation_names`, and `transfer_statuse
s` support multiple values, they must be specified with array notation. `job_nam
es`, `operation_names`, and `transfer_statuses` are optional.", |
| 197 "location": "query", |
| 198 "type": "string" |
199 } | 199 } |
200 }, | 200 }, |
201 "path": "v1/{+name}", | 201 "path": "v1/{+name}", |
202 "response": { | 202 "response": { |
203 "$ref": "ListOperationsResponse" | 203 "$ref": "ListOperationsResponse" |
204 }, | 204 }, |
205 "scopes": [ | 205 "scopes": [ |
206 "https://www.googleapis.com/auth/cloud-platform" | 206 "https://www.googleapis.com/auth/cloud-platform" |
207 ] | 207 ] |
208 }, | 208 }, |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 "scopes": [ | 328 "scopes": [ |
329 "https://www.googleapis.com/auth/cloud-platform" | 329 "https://www.googleapis.com/auth/cloud-platform" |
330 ] | 330 ] |
331 }, | 331 }, |
332 "list": { | 332 "list": { |
333 "description": "Lists transfer jobs.", | 333 "description": "Lists transfer jobs.", |
334 "httpMethod": "GET", | 334 "httpMethod": "GET", |
335 "id": "storagetransfer.transferJobs.list", | 335 "id": "storagetransfer.transferJobs.list", |
336 "parameterOrder": [], | 336 "parameterOrder": [], |
337 "parameters": { | 337 "parameters": { |
| 338 "filter": { |
| 339 "description": "A list of query parameters specified
as JSON text in the form of\n{\"project_id\":\"my_project_id\",\n\"job_names\":
[\"jobid1\",\"jobid2\",...],\n\"job_statuses\":[\"status1\",\"status2\",...]}.\n
Since `job_names` and `job_statuses` support multiple values, their values\nmust
be specified with array notation. `project_id` is required. `job_names`\nand `j
ob_statuses` are optional. The valid values for `job_statuses` are\ncase-insens
itive: `ENABLED`, `DISABLED`, and `DELETED`.", |
| 340 "location": "query", |
| 341 "type": "string" |
| 342 }, |
338 "pageToken": { | 343 "pageToken": { |
339 "description": "The list page token.", | 344 "description": "The list page token.", |
340 "location": "query", | 345 "location": "query", |
341 "type": "string" | 346 "type": "string" |
342 }, | 347 }, |
343 "pageSize": { | 348 "pageSize": { |
344 "description": "The list page size. The max allowed
value is 256.", | 349 "description": "The list page size. The max allowed
value is 256.", |
345 "format": "int32", | 350 "format": "int32", |
346 "location": "query", | 351 "location": "query", |
347 "type": "integer" | 352 "type": "integer" |
348 }, | |
349 "filter": { | |
350 "description": "A list of query parameters specified
as JSON text in the form of\n{\"project_id\":\"my_project_id\",\n\"job_names\":
[\"jobid1\",\"jobid2\",...],\n\"job_statuses\":[\"status1\",\"status2\",...]}.\n
Since `job_names` and `job_statuses` support multiple values, their values\nmust
be specified with array notation. `project_id` is required. `job_names`\nand `j
ob_statuses` are optional. The valid values for `job_statuses` are\ncase-insens
itive: `ENABLED`, `DISABLED`, and `DELETED`.", | |
351 "location": "query", | |
352 "type": "string" | |
353 } | 353 } |
354 }, | 354 }, |
355 "path": "v1/transferJobs", | 355 "path": "v1/transferJobs", |
356 "response": { | 356 "response": { |
357 "$ref": "ListTransferJobsResponse" | 357 "$ref": "ListTransferJobsResponse" |
358 }, | 358 }, |
359 "scopes": [ | 359 "scopes": [ |
360 "https://www.googleapis.com/auth/cloud-platform" | 360 "https://www.googleapis.com/auth/cloud-platform" |
361 ] | 361 ] |
362 }, | 362 }, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 "response": { | 412 "response": { |
413 "$ref": "TransferJob" | 413 "$ref": "TransferJob" |
414 }, | 414 }, |
415 "scopes": [ | 415 "scopes": [ |
416 "https://www.googleapis.com/auth/cloud-platform" | 416 "https://www.googleapis.com/auth/cloud-platform" |
417 ] | 417 ] |
418 } | 418 } |
419 } | 419 } |
420 } | 420 } |
421 }, | 421 }, |
422 "revision": "20170720", | 422 "revision": "20170810", |
423 "rootUrl": "https://storagetransfer.googleapis.com/", | 423 "rootUrl": "https://storagetransfer.googleapis.com/", |
424 "schemas": { | 424 "schemas": { |
| 425 "ListOperationsResponse": { |
| 426 "description": "The response message for Operations.ListOperations."
, |
| 427 "id": "ListOperationsResponse", |
| 428 "properties": { |
| 429 "operations": { |
| 430 "description": "A list of operations that matches the specif
ied filter in the request.", |
| 431 "items": { |
| 432 "$ref": "Operation" |
| 433 }, |
| 434 "type": "array" |
| 435 }, |
| 436 "nextPageToken": { |
| 437 "description": "The standard List next-page token.", |
| 438 "type": "string" |
| 439 } |
| 440 }, |
| 441 "type": "object" |
| 442 }, |
| 443 "GoogleServiceAccount": { |
| 444 "description": "Google service account", |
| 445 "id": "GoogleServiceAccount", |
| 446 "properties": { |
| 447 "accountEmail": { |
| 448 "description": "Required.", |
| 449 "type": "string" |
| 450 } |
| 451 }, |
| 452 "type": "object" |
| 453 }, |
| 454 "TimeOfDay": { |
| 455 "description": "Represents a time of day. The date and time zone are
either not significant\nor are specified elsewhere. An API may choose to allow
leap seconds. Related\ntypes are google.type.Date and `google.protobuf.Timestamp
`.", |
| 456 "id": "TimeOfDay", |
| 457 "properties": { |
| 458 "minutes": { |
| 459 "description": "Minutes of hour of day. Must be from 0 to 59
.", |
| 460 "format": "int32", |
| 461 "type": "integer" |
| 462 }, |
| 463 "hours": { |
| 464 "description": "Hours of day in 24 hour format. Should be fr
om 0 to 23. An API may choose\nto allow the value \"24:00:00\" for scenarios lik
e business closing time.", |
| 465 "format": "int32", |
| 466 "type": "integer" |
| 467 }, |
| 468 "nanos": { |
| 469 "description": "Fractions of seconds in nanoseconds. Must be
from 0 to 999,999,999.", |
| 470 "format": "int32", |
| 471 "type": "integer" |
| 472 }, |
| 473 "seconds": { |
| 474 "description": "Seconds of minutes of the time. Must normall
y be from 0 to 59. An API may\nallow the value 60 if it allows leap-seconds.", |
| 475 "format": "int32", |
| 476 "type": "integer" |
| 477 } |
| 478 }, |
| 479 "type": "object" |
| 480 }, |
| 481 "ErrorLogEntry": { |
| 482 "description": "An entry describing an error that has occurred.", |
| 483 "id": "ErrorLogEntry", |
| 484 "properties": { |
| 485 "errorDetails": { |
| 486 "description": "A list of messages that carry the error deta
ils.", |
| 487 "items": { |
| 488 "type": "string" |
| 489 }, |
| 490 "type": "array" |
| 491 }, |
| 492 "url": { |
| 493 "description": "A URL that refers to the target (a data sour
ce, a data sink,\nor an object) with which the error is associated.\nRequired.", |
| 494 "type": "string" |
| 495 } |
| 496 }, |
| 497 "type": "object" |
| 498 }, |
| 499 "TransferJob": { |
| 500 "description": "This resource represents the configuration of a tran
sfer job that runs\nperiodically.", |
| 501 "id": "TransferJob", |
| 502 "properties": { |
| 503 "lastModificationTime": { |
| 504 "description": "This field cannot be changed by user request
s.", |
| 505 "format": "google-datetime", |
| 506 "type": "string" |
| 507 }, |
| 508 "projectId": { |
| 509 "description": "The ID of the Google Cloud Platform Console
project that owns the job.\nRequired.", |
| 510 "type": "string" |
| 511 }, |
| 512 "description": { |
| 513 "description": "A description provided by the user for the j
ob. Its max length is 1024\nbytes when Unicode-encoded.", |
| 514 "type": "string" |
| 515 }, |
| 516 "transferSpec": { |
| 517 "$ref": "TransferSpec", |
| 518 "description": "Transfer specification.\nRequired." |
| 519 }, |
| 520 "creationTime": { |
| 521 "description": "This field cannot be changed by user request
s.", |
| 522 "format": "google-datetime", |
| 523 "type": "string" |
| 524 }, |
| 525 "status": { |
| 526 "description": "Status of the job. This value MUST be specif
ied for\n`CreateTransferJobRequests`.\n\nNOTE: The effect of the new job status
takes place during a subsequent job\nrun. For example, if you change the job sta
tus from `ENABLED` to\n`DISABLED`, and an operation spawned by the transfer is r
unning, the status\nchange would not affect the current operation.", |
| 527 "enum": [ |
| 528 "STATUS_UNSPECIFIED", |
| 529 "ENABLED", |
| 530 "DISABLED", |
| 531 "DELETED" |
| 532 ], |
| 533 "enumDescriptions": [ |
| 534 "Zero is an illegal value.", |
| 535 "New transfers will be performed based on the schedule."
, |
| 536 "New transfers will not be scheduled.", |
| 537 "This is a soft delete state. After a transfer job is se
t to this\nstate, the job and all the transfer executions are subject to\ngarbag
e collection." |
| 538 ], |
| 539 "type": "string" |
| 540 }, |
| 541 "schedule": { |
| 542 "$ref": "Schedule", |
| 543 "description": "Schedule specification.\nRequired." |
| 544 }, |
| 545 "name": { |
| 546 "description": "A globally unique name assigned by Storage T
ransfer Service when the\njob is created. This field should be left empty in req
uests to create a new\ntransfer job; otherwise, the requests result in an `INVAL
ID_ARGUMENT`\nerror.", |
| 547 "type": "string" |
| 548 }, |
| 549 "deletionTime": { |
| 550 "description": "This field cannot be changed by user request
s.", |
| 551 "format": "google-datetime", |
| 552 "type": "string" |
| 553 } |
| 554 }, |
| 555 "type": "object" |
| 556 }, |
| 557 "Schedule": { |
| 558 "description": "Transfers can be scheduled to recur or to run just o
nce.", |
| 559 "id": "Schedule", |
| 560 "properties": { |
| 561 "scheduleStartDate": { |
| 562 "$ref": "Date", |
| 563 "description": "The first day the recurring transfer is sche
duled to run. If\n`scheduleStartDate` is in the past, the transfer will run for
the first\ntime on the following day.\nRequired." |
| 564 }, |
| 565 "scheduleEndDate": { |
| 566 "$ref": "Date", |
| 567 "description": "The last day the recurring transfer will be
run. If `scheduleEndDate`\nis the same as `scheduleStartDate`, the transfer will
be executed only\nonce." |
| 568 }, |
| 569 "startTimeOfDay": { |
| 570 "$ref": "TimeOfDay", |
| 571 "description": "The time in UTC at which the transfer will b
e scheduled to start in a day.\nTransfers may start later than this time. If not
specified, recurring and\none-time transfers that are scheduled to run today wi
ll run immediately;\nrecurring transfers that are scheduled to run on a future d
ate will start\nat approximately midnight UTC on that date. Note that when confi
guring a\ntransfer with the Cloud Platform Console, the transfer's start time in
a\nday is specified in your local timezone." |
| 572 } |
| 573 }, |
| 574 "type": "object" |
| 575 }, |
| 576 "Date": { |
| 577 "description": "Represents a whole calendar date, e.g. date of birth
. The time of day and\ntime zone are either specified elsewhere or are not signi
ficant. The date\nis relative to the Proleptic Gregorian Calendar. The day may b
e 0 to\nrepresent a year and month where the day is not significant, e.g. credit
card\nexpiration date. The year may be 0 to represent a month and day independe
nt\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand
`google.protobuf.Timestamp`.", |
| 578 "id": "Date", |
| 579 "properties": { |
| 580 "day": { |
| 581 "description": "Day of month. Must be from 1 to 31 and valid
for the year and month, or 0\nif specifying a year/month where the day is not s
ignificant.", |
| 582 "format": "int32", |
| 583 "type": "integer" |
| 584 }, |
| 585 "year": { |
| 586 "description": "Year of date. Must be from 1 to 9999, or 0 i
f specifying a date without\na year.", |
| 587 "format": "int32", |
| 588 "type": "integer" |
| 589 }, |
| 590 "month": { |
| 591 "description": "Month of year. Must be from 1 to 12.", |
| 592 "format": "int32", |
| 593 "type": "integer" |
| 594 } |
| 595 }, |
| 596 "type": "object" |
| 597 }, |
| 598 "TransferOperation": { |
| 599 "description": "A description of the execution of a transfer.", |
| 600 "id": "TransferOperation", |
| 601 "properties": { |
| 602 "endTime": { |
| 603 "description": "End time of this transfer execution.", |
| 604 "format": "google-datetime", |
| 605 "type": "string" |
| 606 }, |
| 607 "startTime": { |
| 608 "description": "Start time of this transfer execution.", |
| 609 "format": "google-datetime", |
| 610 "type": "string" |
| 611 }, |
| 612 "transferJobName": { |
| 613 "description": "The name of the transfer job that triggers t
his transfer operation.", |
| 614 "type": "string" |
| 615 }, |
| 616 "transferSpec": { |
| 617 "$ref": "TransferSpec", |
| 618 "description": "Transfer specification.\nRequired." |
| 619 }, |
| 620 "counters": { |
| 621 "$ref": "TransferCounters", |
| 622 "description": "Information about the progress of the transf
er operation." |
| 623 }, |
| 624 "status": { |
| 625 "description": "Status of the transfer operation.", |
| 626 "enum": [ |
| 627 "STATUS_UNSPECIFIED", |
| 628 "IN_PROGRESS", |
| 629 "PAUSED", |
| 630 "SUCCESS", |
| 631 "FAILED", |
| 632 "ABORTED" |
| 633 ], |
| 634 "enumDescriptions": [ |
| 635 "Zero is an illegal value.", |
| 636 "In progress.", |
| 637 "Paused.", |
| 638 "Completed successfully.", |
| 639 "Terminated due to an unrecoverable failure.", |
| 640 "Aborted by the user." |
| 641 ], |
| 642 "type": "string" |
| 643 }, |
| 644 "errorBreakdowns": { |
| 645 "description": "Summarizes errors encountered with sample er
ror log entries.", |
| 646 "items": { |
| 647 "$ref": "ErrorSummary" |
| 648 }, |
| 649 "type": "array" |
| 650 }, |
| 651 "name": { |
| 652 "description": "A globally unique ID assigned by the system.
", |
| 653 "type": "string" |
| 654 }, |
| 655 "projectId": { |
| 656 "description": "The ID of the Google Cloud Platform Console
project that owns the operation.\nRequired.", |
| 657 "type": "string" |
| 658 } |
| 659 }, |
| 660 "type": "object" |
| 661 }, |
| 662 "AwsS3Data": { |
| 663 "description": "An AwsS3Data can be a data source, but not a data si
nk.\nIn an AwsS3Data, an object's name is the S3 object's key name.", |
| 664 "id": "AwsS3Data", |
| 665 "properties": { |
| 666 "awsAccessKey": { |
| 667 "$ref": "AwsAccessKey", |
| 668 "description": "AWS access key used to sign the API requests
to the AWS S3 bucket.\nPermissions on the bucket must be granted to the access
ID of the\nAWS access key.\nRequired." |
| 669 }, |
| 670 "bucketName": { |
| 671 "description": "S3 Bucket name (see\n[Creating a bucket](htt
p://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.h
tml)).\nRequired.", |
| 672 "type": "string" |
| 673 } |
| 674 }, |
| 675 "type": "object" |
| 676 }, |
| 677 "Empty": { |
| 678 "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 `{}`.", |
| 679 "id": "Empty", |
| 680 "properties": {}, |
| 681 "type": "object" |
| 682 }, |
| 683 "AwsAccessKey": { |
| 684 "description": "AWS access key (see\n[AWS Security Credentials](http
://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)).", |
| 685 "id": "AwsAccessKey", |
| 686 "properties": { |
| 687 "secretAccessKey": { |
| 688 "description": "AWS secret access key. This field is not ret
urned in RPC responses.\nRequired.", |
| 689 "type": "string" |
| 690 }, |
| 691 "accessKeyId": { |
| 692 "description": "AWS access key ID.\nRequired.", |
| 693 "type": "string" |
| 694 } |
| 695 }, |
| 696 "type": "object" |
| 697 }, |
| 698 "PauseTransferOperationRequest": { |
| 699 "description": "Request passed to PauseTransferOperation.", |
| 700 "id": "PauseTransferOperationRequest", |
| 701 "properties": {}, |
| 702 "type": "object" |
| 703 }, |
425 "TransferCounters": { | 704 "TransferCounters": { |
426 "description": "A collection of counters that report the progress of
a transfer operation.", | 705 "description": "A collection of counters that report the progress of
a transfer operation.", |
427 "id": "TransferCounters", | 706 "id": "TransferCounters", |
428 "properties": { | 707 "properties": { |
| 708 "bytesCopiedToSink": { |
| 709 "description": "Bytes that are copied to the data sink.", |
| 710 "format": "int64", |
| 711 "type": "string" |
| 712 }, |
| 713 "objectsFromSourceSkippedBySync": { |
| 714 "description": "Objects in the data source that are not tran
sferred because they already\nexist in the data sink.", |
| 715 "format": "int64", |
| 716 "type": "string" |
| 717 }, |
| 718 "bytesFoundFromSource": { |
| 719 "description": "Bytes found in the data source that are sche
duled to be transferred,\nwhich will be copied, excluded based on conditions, or
skipped due to\nfailures.", |
| 720 "format": "int64", |
| 721 "type": "string" |
| 722 }, |
| 723 "bytesDeletedFromSource": { |
| 724 "description": "Bytes that are deleted from the data source.
", |
| 725 "format": "int64", |
| 726 "type": "string" |
| 727 }, |
429 "objectsFoundFromSource": { | 728 "objectsFoundFromSource": { |
430 "description": "Objects found in the data source that are sc
heduled to be transferred,\nwhich will be copied, excluded based on conditions,
or skipped due to\nfailures.", | 729 "description": "Objects found in the data source that are sc
heduled to be transferred,\nwhich will be copied, excluded based on conditions,
or skipped due to\nfailures.", |
431 "format": "int64", | 730 "format": "int64", |
432 "type": "string" | 731 "type": "string" |
433 }, | 732 }, |
434 "bytesDeletedFromSource": { | |
435 "description": "Bytes that are deleted from the data source.
", | |
436 "format": "int64", | |
437 "type": "string" | |
438 }, | |
439 "objectsFailedToDeleteFromSink": { | 733 "objectsFailedToDeleteFromSink": { |
440 "description": "Objects that failed to be deleted from the d
ata sink.", | 734 "description": "Objects that failed to be deleted from the d
ata sink.", |
441 "format": "int64", | 735 "format": "int64", |
442 "type": "string" | 736 "type": "string" |
443 }, | 737 }, |
444 "objectsFoundOnlyFromSink": { | 738 "objectsFoundOnlyFromSink": { |
445 "description": "Objects found only in the data sink that are
scheduled to be deleted.", | 739 "description": "Objects found only in the data sink that are
scheduled to be deleted.", |
446 "format": "int64", | 740 "format": "int64", |
447 "type": "string" | 741 "type": "string" |
448 }, | 742 }, |
(...skipping 15 matching lines...) Expand all Loading... |
464 "bytesDeletedFromSink": { | 758 "bytesDeletedFromSink": { |
465 "description": "Bytes that are deleted from the data sink.", | 759 "description": "Bytes that are deleted from the data sink.", |
466 "format": "int64", | 760 "format": "int64", |
467 "type": "string" | 761 "type": "string" |
468 }, | 762 }, |
469 "bytesFromSourceFailed": { | 763 "bytesFromSourceFailed": { |
470 "description": "Bytes in the data source that failed during
the transfer.", | 764 "description": "Bytes in the data source that failed during
the transfer.", |
471 "format": "int64", | 765 "format": "int64", |
472 "type": "string" | 766 "type": "string" |
473 }, | 767 }, |
| 768 "objectsCopiedToSink": { |
| 769 "description": "Objects that are copied to the data sink.", |
| 770 "format": "int64", |
| 771 "type": "string" |
| 772 }, |
474 "objectsFromSourceFailed": { | 773 "objectsFromSourceFailed": { |
475 "description": "Objects in the data source that failed durin
g the transfer.", | 774 "description": "Objects in the data source that failed durin
g the transfer.", |
476 "format": "int64", | 775 "format": "int64", |
477 "type": "string" | 776 "type": "string" |
478 }, | 777 }, |
479 "objectsCopiedToSink": { | |
480 "description": "Objects that are copied to the data sink.", | |
481 "format": "int64", | |
482 "type": "string" | |
483 }, | |
484 "bytesFoundOnlyFromSink": { | 778 "bytesFoundOnlyFromSink": { |
485 "description": "Bytes found only in the data sink that are s
cheduled to be deleted.", | 779 "description": "Bytes found only in the data sink that are s
cheduled to be deleted.", |
486 "format": "int64", | 780 "format": "int64", |
487 "type": "string" | 781 "type": "string" |
488 }, | 782 }, |
489 "objectsDeletedFromSource": { | 783 "objectsDeletedFromSource": { |
490 "description": "Objects that are deleted from the data sourc
e.", | 784 "description": "Objects that are deleted from the data sourc
e.", |
491 "format": "int64", | 785 "format": "int64", |
492 "type": "string" | 786 "type": "string" |
493 }, | |
494 "bytesCopiedToSink": { | |
495 "description": "Bytes that are copied to the data sink.", | |
496 "format": "int64", | |
497 "type": "string" | |
498 }, | |
499 "objectsFromSourceSkippedBySync": { | |
500 "description": "Objects in the data source that are not tran
sferred because they already\nexist in the data sink.", | |
501 "format": "int64", | |
502 "type": "string" | |
503 }, | |
504 "bytesFoundFromSource": { | |
505 "description": "Bytes found in the data source that are sche
duled to be transferred,\nwhich will be copied, excluded based on conditions, or
skipped due to\nfailures.", | |
506 "format": "int64", | |
507 "type": "string" | |
508 } | 787 } |
509 }, | 788 }, |
510 "type": "object" | 789 "type": "object" |
511 }, | 790 }, |
512 "ErrorSummary": { | 791 "ErrorSummary": { |
513 "description": "A summary of errors by error code, plus a count and
sample error log\nentries.", | 792 "description": "A summary of errors by error code, plus a count and
sample error log\nentries.", |
514 "id": "ErrorSummary", | 793 "id": "ErrorSummary", |
515 "properties": { | 794 "properties": { |
| 795 "errorCount": { |
| 796 "description": "Count of this type of error.\nRequired.", |
| 797 "format": "int64", |
| 798 "type": "string" |
| 799 }, |
| 800 "errorLogEntries": { |
| 801 "description": "Error samples.", |
| 802 "items": { |
| 803 "$ref": "ErrorLogEntry" |
| 804 }, |
| 805 "type": "array" |
| 806 }, |
516 "errorCode": { | 807 "errorCode": { |
517 "description": "Required.", | 808 "description": "Required.", |
518 "enum": [ | 809 "enum": [ |
519 "OK", | 810 "OK", |
520 "CANCELLED", | 811 "CANCELLED", |
521 "UNKNOWN", | 812 "UNKNOWN", |
522 "INVALID_ARGUMENT", | 813 "INVALID_ARGUMENT", |
523 "DEADLINE_EXCEEDED", | 814 "DEADLINE_EXCEEDED", |
524 "NOT_FOUND", | 815 "NOT_FOUND", |
525 "ALREADY_EXISTS", | 816 "ALREADY_EXISTS", |
(...skipping 21 matching lines...) Expand all Loading... |
547 "Some resource has been exhausted, perhaps a per-user qu
ota, or\nperhaps the entire file system is out of space.\n\nHTTP Mapping: 429 To
o Many Requests", | 838 "Some resource has been exhausted, perhaps a per-user qu
ota, or\nperhaps the entire file system is out of space.\n\nHTTP Mapping: 429 To
o Many Requests", |
548 "The operation was rejected because the system is not in
a state\nrequired for the operation's execution. For example, the directory\nt
o be deleted is non-empty, an rmdir operation is applied to\na non-directory, et
c.\n\nService implementors can use the following guidelines to decide\nbetween `
FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:\n (a) Use `UNAVAILABLE` if t
he client can retry just the failing call.\n (b) Use `ABORTED` if the client sho
uld retry at a higher level\n (e.g., when a client-specified test-and-set fa
ils, indicating the\n client should restart a read-modify-write sequence).\n
(c) Use `FAILED_PRECONDITION` if the client should not retry until\n the sy
stem state has been explicitly fixed. E.g., if an \"rmdir\"\n fails because
the directory is non-empty, `FAILED_PRECONDITION`\n should be returned sinc
e the client should not retry unless\n the files are deleted from the direct
ory.\n\nHTTP Mapping: 400 Bad Request", | 839 "The operation was rejected because the system is not in
a state\nrequired for the operation's execution. For example, the directory\nt
o be deleted is non-empty, an rmdir operation is applied to\na non-directory, et
c.\n\nService implementors can use the following guidelines to decide\nbetween `
FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:\n (a) Use `UNAVAILABLE` if t
he client can retry just the failing call.\n (b) Use `ABORTED` if the client sho
uld retry at a higher level\n (e.g., when a client-specified test-and-set fa
ils, indicating the\n client should restart a read-modify-write sequence).\n
(c) Use `FAILED_PRECONDITION` if the client should not retry until\n the sy
stem state has been explicitly fixed. E.g., if an \"rmdir\"\n fails because
the directory is non-empty, `FAILED_PRECONDITION`\n should be returned sinc
e the client should not retry unless\n the files are deleted from the direct
ory.\n\nHTTP Mapping: 400 Bad Request", |
549 "The operation was aborted, typically due to a concurren
cy issue such as\na sequencer check failure or transaction abort.\n\nSee the gui
delines above for deciding between `FAILED_PRECONDITION`,\n`ABORTED`, and `UNAVA
ILABLE`.\n\nHTTP Mapping: 409 Conflict", | 840 "The operation was aborted, typically due to a concurren
cy issue such as\na sequencer check failure or transaction abort.\n\nSee the gui
delines above for deciding between `FAILED_PRECONDITION`,\n`ABORTED`, and `UNAVA
ILABLE`.\n\nHTTP Mapping: 409 Conflict", |
550 "The operation was attempted past the valid range. E.g.
, seeking or\nreading past end-of-file.\n\nUnlike `INVALID_ARGUMENT`, this error
indicates a problem that may\nbe fixed if the system state changes. For example
, a 32-bit file\nsystem will generate `INVALID_ARGUMENT` if asked to read at an\
noffset that is not in the range [0,2^32-1], but it will generate\n`OUT_OF_RANGE
` if asked to read from an offset past the current\nfile size.\n\nThere is a fai
r bit of overlap between `FAILED_PRECONDITION` and\n`OUT_OF_RANGE`. We recommen
d using `OUT_OF_RANGE` (the more specific\nerror) when it applies so that caller
s who are iterating through\na space can easily look for an `OUT_OF_RANGE` error
to detect when\nthey are done.\n\nHTTP Mapping: 400 Bad Request", | 841 "The operation was attempted past the valid range. E.g.
, seeking or\nreading past end-of-file.\n\nUnlike `INVALID_ARGUMENT`, this error
indicates a problem that may\nbe fixed if the system state changes. For example
, a 32-bit file\nsystem will generate `INVALID_ARGUMENT` if asked to read at an\
noffset that is not in the range [0,2^32-1], but it will generate\n`OUT_OF_RANGE
` if asked to read from an offset past the current\nfile size.\n\nThere is a fai
r bit of overlap between `FAILED_PRECONDITION` and\n`OUT_OF_RANGE`. We recommen
d using `OUT_OF_RANGE` (the more specific\nerror) when it applies so that caller
s who are iterating through\na space can easily look for an `OUT_OF_RANGE` error
to detect when\nthey are done.\n\nHTTP Mapping: 400 Bad Request", |
551 "The operation is not implemented or is not supported/en
abled in this\nservice.\n\nHTTP Mapping: 501 Not Implemented", | 842 "The operation is not implemented or is not supported/en
abled in this\nservice.\n\nHTTP Mapping: 501 Not Implemented", |
552 "Internal errors. This means that some invariants expec
ted by the\nunderlying system have been broken. This error code is reserved\nfo
r serious errors.\n\nHTTP Mapping: 500 Internal Server Error", | 843 "Internal errors. This means that some invariants expec
ted by the\nunderlying system have been broken. This error code is reserved\nfo
r serious errors.\n\nHTTP Mapping: 500 Internal Server Error", |
553 "The service is currently unavailable. This is most lik
ely a\ntransient condition, which can be corrected by retrying with\na backoff.\
n\nSee the guidelines above for deciding between `FAILED_PRECONDITION`,\n`ABORTE
D`, and `UNAVAILABLE`.\n\nHTTP Mapping: 503 Service Unavailable", | 844 "The service is currently unavailable. This is most lik
ely a\ntransient condition, which can be corrected by retrying with\na backoff.\
n\nSee the guidelines above for deciding between `FAILED_PRECONDITION`,\n`ABORTE
D`, and `UNAVAILABLE`.\n\nHTTP Mapping: 503 Service Unavailable", |
554 "Unrecoverable data loss or corruption.\n\nHTTP Mapping:
500 Internal Server Error" | 845 "Unrecoverable data loss or corruption.\n\nHTTP Mapping:
500 Internal Server Error" |
555 ], | 846 ], |
556 "type": "string" | 847 "type": "string" |
557 }, | |
558 "errorCount": { | |
559 "description": "Count of this type of error.\nRequired.", | |
560 "format": "int64", | |
561 "type": "string" | |
562 }, | |
563 "errorLogEntries": { | |
564 "description": "Error samples.", | |
565 "items": { | |
566 "$ref": "ErrorLogEntry" | |
567 }, | |
568 "type": "array" | |
569 } | 848 } |
570 }, | 849 }, |
571 "type": "object" | 850 "type": "object" |
572 }, | 851 }, |
573 "HttpData": { | 852 "HttpData": { |
574 "description": "An HttpData specifies a list of objects on the web t
o be transferred over\nHTTP. The information of the objects to be transferred i
s contained in a\nfile referenced by a URL. The first line in the file must be\n
\"TsvHttpData-1.0\", which specifies the format of the file. Subsequent lines\n
specify the information of the list of objects, one object per list entry.\nEach
entry has the following tab-delimited fields:\n\n* HTTP URL - The location of t
he object.\n\n* Length - The size of the object in bytes.\n\n* MD5 - The base64-
encoded MD5 hash of the object.\n\nFor an example of a valid TSV file, see\n[Tra
nsferring data from URLs](https://cloud.google.com/storage/transfer/#urls)\n\nWh
en transferring data based on a URL list, keep the following in mind:\n\n* When
an object located at `http(s)://hostname:port/<URL-path>` is transferred\nto a d
ata sink, the name of the object at the data sink is\n`<hostname>/<URL-path>`.\n
\n* If the specified size of an object does not match the actual size of the\nob
ject fetched, the object will not be transferred.\n\n* If the specified MD5 does
not match the MD5 computed from the transferred\nbytes, the object transfer wil
l fail. For more information, see\n[Generating MD5 hashes](https://cloud.google.
com/storage/transfer/#md5)\n\n* Ensure that each URL you specify is publicly acc
essible. For\nexample, in Google Cloud Storage you can\n[share an object publicl
y]\n(https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get\n
a link to it.\n\n* Storage Transfer Service obeys `robots.txt` rules and require
s the source\nHTTP server to support `Range` requests and to return a `Content-L
ength`\nheader in each response.\n\n* [ObjectConditions](#ObjectConditions) have
no effect when filtering objects\nto transfer.", | 853 "description": "An HttpData specifies a list of objects on the web t
o be transferred over\nHTTP. The information of the objects to be transferred i
s contained in a\nfile referenced by a URL. The first line in the file must be\n
\"TsvHttpData-1.0\", which specifies the format of the file. Subsequent lines\n
specify the information of the list of objects, one object per list entry.\nEach
entry has the following tab-delimited fields:\n\n* HTTP URL - The location of t
he object.\n\n* Length - The size of the object in bytes.\n\n* MD5 - The base64-
encoded MD5 hash of the object.\n\nFor an example of a valid TSV file, see\n[Tra
nsferring data from URLs](https://cloud.google.com/storage/transfer/#urls)\n\nWh
en transferring data based on a URL list, keep the following in mind:\n\n* When
an object located at `http(s)://hostname:port/<URL-path>` is transferred\nto a d
ata sink, the name of the object at the data sink is\n`<hostname>/<URL-path>`.\n
\n* If the specified size of an object does not match the actual size of the\nob
ject fetched, the object will not be transferred.\n\n* If the specified MD5 does
not match the MD5 computed from the transferred\nbytes, the object transfer wil
l fail. For more information, see\n[Generating MD5 hashes](https://cloud.google.
com/storage/transfer/#md5)\n\n* Ensure that each URL you specify is publicly acc
essible. For\nexample, in Google Cloud Storage you can\n[share an object publicl
y]\n(https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get\n
a link to it.\n\n* Storage Transfer Service obeys `robots.txt` rules and require
s the source\nHTTP server to support `Range` requests and to return a `Content-L
ength`\nheader in each response.\n\n* [ObjectConditions](#ObjectConditions) have
no effect when filtering objects\nto transfer.", |
575 "id": "HttpData", | 854 "id": "HttpData", |
576 "properties": { | 855 "properties": { |
577 "listUrl": { | 856 "listUrl": { |
578 "description": "The URL that points to the file that stores
the object list entries.\nThis file must allow public access. Currently, only U
RLs with HTTP and\nHTTPS schemes are supported.\nRequired.", | 857 "description": "The URL that points to the file that stores
the object list entries.\nThis file must allow public access. Currently, only U
RLs with HTTP and\nHTTPS schemes are supported.\nRequired.", |
(...skipping 28 matching lines...) Expand all Loading... |
607 }, | 886 }, |
608 "type": "array" | 887 "type": "array" |
609 } | 888 } |
610 }, | 889 }, |
611 "type": "object" | 890 "type": "object" |
612 }, | 891 }, |
613 "UpdateTransferJobRequest": { | 892 "UpdateTransferJobRequest": { |
614 "description": "Request passed to UpdateTransferJob.", | 893 "description": "Request passed to UpdateTransferJob.", |
615 "id": "UpdateTransferJobRequest", | 894 "id": "UpdateTransferJobRequest", |
616 "properties": { | 895 "properties": { |
617 "transferJob": { | |
618 "$ref": "TransferJob", | |
619 "description": "The job to update.\nRequired." | |
620 }, | |
621 "projectId": { | |
622 "description": "The ID of the Google Cloud Platform Console
project that owns the job.\nRequired.", | |
623 "type": "string" | |
624 }, | |
625 "updateTransferJobFieldMask": { | 896 "updateTransferJobFieldMask": { |
626 "description": "The field mask of the fields in `transferJob
` that are to be updated in\nthis request. Fields in `transferJob` that can be
updated are:\n`description`, `transferSpec`, and `status`. To update the `trans
ferSpec`\nof the job, a complete transfer specification has to be provided. An\n
incomplete specification which misses any required fields will be rejected\nwith
the error `INVALID_ARGUMENT`.", | 897 "description": "The field mask of the fields in `transferJob
` that are to be updated in\nthis request. Fields in `transferJob` that can be
updated are:\n`description`, `transferSpec`, and `status`. To update the `trans
ferSpec`\nof the job, a complete transfer specification has to be provided. An\n
incomplete specification which misses any required fields will be rejected\nwith
the error `INVALID_ARGUMENT`.", |
627 "format": "google-fieldmask", | 898 "format": "google-fieldmask", |
628 "type": "string" | 899 "type": "string" |
| 900 }, |
| 901 "transferJob": { |
| 902 "$ref": "TransferJob", |
| 903 "description": "The job to update. `transferJob` is expected
to specify only three fields:\n`description`, `transferSpec`, and `status`. An
UpdateTransferJobRequest\nthat specifies other fields will be rejected with an
error\n`INVALID_ARGUMENT`.\nRequired." |
| 904 }, |
| 905 "projectId": { |
| 906 "description": "The ID of the Google Cloud Platform Console
project that owns the job.\nRequired.", |
| 907 "type": "string" |
629 } | 908 } |
630 }, | 909 }, |
631 "type": "object" | 910 "type": "object" |
632 }, | 911 }, |
633 "ObjectConditions": { | 912 "ObjectConditions": { |
634 "description": "Conditions that determine which objects will be tran
sferred.", | 913 "description": "Conditions that determine which objects will be tran
sferred.", |
635 "id": "ObjectConditions", | 914 "id": "ObjectConditions", |
636 "properties": { | 915 "properties": { |
| 916 "maxTimeElapsedSinceLastModification": { |
| 917 "description": "`maxTimeElapsedSinceLastModification` is the
complement to\n`minTimeElapsedSinceLastModification`.", |
| 918 "format": "google-duration", |
| 919 "type": "string" |
| 920 }, |
637 "includePrefixes": { | 921 "includePrefixes": { |
638 "description": "If `includePrefixes` is specified, objects t
hat satisfy the object\nconditions must have names that start with one of the `i
ncludePrefixes`\nand that do not start with any of the `excludePrefixes`. If `in
cludePrefixes`\nis not specified, all objects except those that have names start
ing with\none of the `excludePrefixes` must satisfy the object conditions.\n\nRe
quirements:\n\n * Each include-prefix and exclude-prefix can contain any sequen
ce of\n Unicode characters, of max length 1024 bytes when UTF8-encoded, and\n
must not contain Carriage Return or Line Feed characters. Wildcard\n mat
ching and regular expression matching are not supported.\n\n * Each include-pre
fix and exclude-prefix must omit the leading slash.\n For example, to include
the `requests.gz` object in a transfer from\n `s3://my-aws-bucket/logs/y=201
5/requests.gz`, specify the include\n prefix as `logs/y=2015/requests.gz`.\n\
n * None of the include-prefix or the exclude-prefix values can be empty,\n
if specified.\n\n * Each include-prefix must include a distinct portion of the
object\n namespace, i.e., no include-prefix may be a prefix of another\n i
nclude-prefix.\n\n * Each exclude-prefix must exclude a distinct portion of the
object\n namespace, i.e., no exclude-prefix may be a prefix of another\n
exclude-prefix.\n\n * If `includePrefixes` is specified, then each exclude-pref
ix must start\n with the value of a path explicitly included by `includePrefi
xes`.\n\nThe max size of `includePrefixes` is 1000.", | 922 "description": "If `includePrefixes` is specified, objects t
hat satisfy the object\nconditions must have names that start with one of the `i
ncludePrefixes`\nand that do not start with any of the `excludePrefixes`. If `in
cludePrefixes`\nis not specified, all objects except those that have names start
ing with\none of the `excludePrefixes` must satisfy the object conditions.\n\nRe
quirements:\n\n * Each include-prefix and exclude-prefix can contain any sequen
ce of\n Unicode characters, of max length 1024 bytes when UTF8-encoded, and\n
must not contain Carriage Return or Line Feed characters. Wildcard\n mat
ching and regular expression matching are not supported.\n\n * Each include-pre
fix and exclude-prefix must omit the leading slash.\n For example, to include
the `requests.gz` object in a transfer from\n `s3://my-aws-bucket/logs/y=201
5/requests.gz`, specify the include\n prefix as `logs/y=2015/requests.gz`.\n\
n * None of the include-prefix or the exclude-prefix values can be empty,\n
if specified.\n\n * Each include-prefix must include a distinct portion of the
object\n namespace, i.e., no include-prefix may be a prefix of another\n i
nclude-prefix.\n\n * Each exclude-prefix must exclude a distinct portion of the
object\n namespace, i.e., no exclude-prefix may be a prefix of another\n
exclude-prefix.\n\n * If `includePrefixes` is specified, then each exclude-pref
ix must start\n with the value of a path explicitly included by `includePrefi
xes`.\n\nThe max size of `includePrefixes` is 1000.", |
639 "items": { | 923 "items": { |
640 "type": "string" | 924 "type": "string" |
641 }, | 925 }, |
642 "type": "array" | 926 "type": "array" |
643 }, | 927 }, |
644 "excludePrefixes": { | 928 "excludePrefixes": { |
645 "description": "`excludePrefixes` must follow the requiremen
ts described for\n`includePrefixes`.\n\nThe max size of `excludePrefixes` is 100
0.", | 929 "description": "`excludePrefixes` must follow the requiremen
ts described for\n`includePrefixes`.\n\nThe max size of `excludePrefixes` is 100
0.", |
646 "items": { | 930 "items": { |
647 "type": "string" | 931 "type": "string" |
648 }, | 932 }, |
649 "type": "array" | 933 "type": "array" |
650 }, | 934 }, |
651 "minTimeElapsedSinceLastModification": { | 935 "minTimeElapsedSinceLastModification": { |
652 "description": "If unspecified, `minTimeElapsedSinceLastModi
fication` takes a zero value\nand `maxTimeElapsedSinceLastModification` takes th
e maximum possible\nvalue of Duration. Objects that satisfy the object condition
s\nmust either have a `lastModificationTime` greater or equal to\n`NOW` - `maxTi
meElapsedSinceLastModification` and less than\n`NOW` - `minTimeElapsedSinceLastM
odification`, or not have a\n`lastModificationTime`.", | 936 "description": "If unspecified, `minTimeElapsedSinceLastModi
fication` takes a zero value\nand `maxTimeElapsedSinceLastModification` takes th
e maximum possible\nvalue of Duration. Objects that satisfy the object condition
s\nmust either have a `lastModificationTime` greater or equal to\n`NOW` - `maxTi
meElapsedSinceLastModification` and less than\n`NOW` - `minTimeElapsedSinceLastM
odification`, or not have a\n`lastModificationTime`.", |
653 "format": "google-duration", | 937 "format": "google-duration", |
654 "type": "string" | 938 "type": "string" |
655 }, | |
656 "maxTimeElapsedSinceLastModification": { | |
657 "description": "`maxTimeElapsedSinceLastModification` is the
complement to\n`minTimeElapsedSinceLastModification`.", | |
658 "format": "google-duration", | |
659 "type": "string" | |
660 } | 939 } |
661 }, | 940 }, |
662 "type": "object" | 941 "type": "object" |
663 }, | 942 }, |
664 "Operation": { | 943 "Operation": { |
665 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | 944 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
666 "id": "Operation", | 945 "id": "Operation", |
667 "properties": { | 946 "properties": { |
| 947 "metadata": { |
| 948 "additionalProperties": { |
| 949 "description": "Properties of the object. Contains field
@type with type URL.", |
| 950 "type": "any" |
| 951 }, |
| 952 "description": "Represents the transfer operation object.", |
| 953 "type": "object" |
| 954 }, |
| 955 "done": { |
| 956 "description": "If the value is `false`, it means the operat
ion is still in progress.\nIf true, the operation is completed, and either `erro
r` or `response` is\navailable.", |
| 957 "type": "boolean" |
| 958 }, |
668 "response": { | 959 "response": { |
669 "additionalProperties": { | 960 "additionalProperties": { |
670 "description": "Properties of the object. Contains field
@type with type URL.", | 961 "description": "Properties of the object. Contains field
@type with type URL.", |
671 "type": "any" | 962 "type": "any" |
672 }, | 963 }, |
673 "description": "The normal response of the operation in case
of success. If the original\nmethod returns no data on success, such as `Delet
e`, the response is\n`google.protobuf.Empty`. If the original method is standar
d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet
hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi
nal method name. For example, if the original method name\nis `TakeSnapshot()`,
the inferred response type is\n`TakeSnapshotResponse`.", | 964 "description": "The normal response of the operation in case
of success. If the original\nmethod returns no data on success, such as `Delet
e`, the response is\n`google.protobuf.Empty`. If the original method is standar
d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet
hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi
nal method name. For example, if the original method name\nis `TakeSnapshot()`,
the inferred response type is\n`TakeSnapshotResponse`.", |
674 "type": "object" | 965 "type": "object" |
675 }, | 966 }, |
676 "name": { | 967 "name": { |
677 "description": "The server-assigned name, which is only uniq
ue within the same service that originally returns it. If you use the default HT
TP mapping, the `name` should have the format of `transferOperations/some/unique
/name`.", | 968 "description": "The server-assigned name, which is only uniq
ue within the same service that originally returns it. If you use the default HT
TP mapping, the `name` should have the format of `transferOperations/some/unique
/name`.", |
678 "type": "string" | 969 "type": "string" |
679 }, | 970 }, |
680 "error": { | 971 "error": { |
681 "$ref": "Status", | 972 "$ref": "Status", |
682 "description": "The error result of the operation in case of
failure or cancellation." | 973 "description": "The error result of the operation in case of
failure or cancellation." |
683 }, | |
684 "metadata": { | |
685 "additionalProperties": { | |
686 "description": "Properties of the object. Contains field
@type with type URL.", | |
687 "type": "any" | |
688 }, | |
689 "description": "Represents the transfer operation object.", | |
690 "type": "object" | |
691 }, | |
692 "done": { | |
693 "description": "If the value is `false`, it means the operat
ion is still in progress.\nIf true, the operation is completed, and either `erro
r` or `response` is\navailable.", | |
694 "type": "boolean" | |
695 } | 974 } |
696 }, | 975 }, |
697 "type": "object" | 976 "type": "object" |
698 }, | 977 }, |
699 "TransferOptions": { | 978 "TransferOptions": { |
700 "description": "TransferOptions uses three boolean parameters to def
ine the actions\nto be performed on objects in a transfer.", | 979 "description": "TransferOptions uses three boolean parameters to def
ine the actions\nto be performed on objects in a transfer.", |
701 "id": "TransferOptions", | 980 "id": "TransferOptions", |
702 "properties": { | 981 "properties": { |
703 "deleteObjectsUniqueInSink": { | 982 "deleteObjectsUniqueInSink": { |
704 "description": "Whether objects that exist only in the sink
should be deleted. Note that\nthis option and `deleteObjectsFromSourceAfterTran
sfer` are mutually\nexclusive.", | 983 "description": "Whether objects that exist only in the sink
should be deleted. Note that\nthis option and `deleteObjectsFromSourceAfterTran
sfer` are mutually\nexclusive.", |
705 "type": "boolean" | 984 "type": "boolean" |
706 }, | 985 }, |
707 "overwriteObjectsAlreadyExistingInSink": { | 986 "overwriteObjectsAlreadyExistingInSink": { |
708 "description": "Whether overwriting objects that already exi
st in the sink is allowed.", | 987 "description": "Whether overwriting objects that already exi
st in the sink is allowed.", |
709 "type": "boolean" | 988 "type": "boolean" |
710 }, | 989 }, |
711 "deleteObjectsFromSourceAfterTransfer": { | 990 "deleteObjectsFromSourceAfterTransfer": { |
712 "description": "Whether objects should be deleted from the s
ource after they are\ntransferred to the sink. Note that this option and\n`dele
teObjectsUniqueInSink` are mutually exclusive.", | 991 "description": "Whether objects should be deleted from the s
ource after they are\ntransferred to the sink. Note that this option and\n`dele
teObjectsUniqueInSink` are mutually exclusive.", |
713 "type": "boolean" | 992 "type": "boolean" |
714 } | 993 } |
715 }, | 994 }, |
716 "type": "object" | 995 "type": "object" |
717 }, | 996 }, |
718 "TransferSpec": { | 997 "TransferSpec": { |
719 "description": "Configuration for running a transfer.", | 998 "description": "Configuration for running a transfer.", |
720 "id": "TransferSpec", | 999 "id": "TransferSpec", |
721 "properties": { | 1000 "properties": { |
| 1001 "gcsDataSource": { |
| 1002 "$ref": "GcsData", |
| 1003 "description": "A Google Cloud Storage data source." |
| 1004 }, |
| 1005 "transferOptions": { |
| 1006 "$ref": "TransferOptions", |
| 1007 "description": "If the option `deleteObjectsUniqueInSink` is
`true`, object conditions\nbased on objects' `lastModificationTime` are ignored
and do not exclude\nobjects in a data source or a data sink." |
| 1008 }, |
722 "awsS3DataSource": { | 1009 "awsS3DataSource": { |
723 "$ref": "AwsS3Data", | 1010 "$ref": "AwsS3Data", |
724 "description": "An AWS S3 data source." | 1011 "description": "An AWS S3 data source." |
725 }, | 1012 }, |
726 "httpDataSource": { | 1013 "httpDataSource": { |
727 "$ref": "HttpData", | 1014 "$ref": "HttpData", |
728 "description": "An HTTP URL data source." | 1015 "description": "An HTTP URL data source." |
729 }, | 1016 }, |
730 "objectConditions": { | 1017 "objectConditions": { |
731 "$ref": "ObjectConditions", | 1018 "$ref": "ObjectConditions", |
732 "description": "Only objects that satisfy these object condi
tions are included in the set\nof data source and data sink objects. Object con
ditions based on\nobjects' `lastModificationTime` do not exclude objects in a da
ta sink." | 1019 "description": "Only objects that satisfy these object condi
tions are included in the set\nof data source and data sink objects. Object con
ditions based on\nobjects' `lastModificationTime` do not exclude objects in a da
ta sink." |
733 }, | 1020 }, |
734 "gcsDataSink": { | 1021 "gcsDataSink": { |
735 "$ref": "GcsData", | 1022 "$ref": "GcsData", |
736 "description": "A Google Cloud Storage data sink." | 1023 "description": "A Google Cloud Storage data sink." |
737 }, | |
738 "gcsDataSource": { | |
739 "$ref": "GcsData", | |
740 "description": "A Google Cloud Storage data source." | |
741 }, | |
742 "transferOptions": { | |
743 "$ref": "TransferOptions", | |
744 "description": "If the option `deleteObjectsUniqueInSink` is
`true`, object conditions\nbased on objects' `lastModificationTime` are ignored
and do not exclude\nobjects in a data source or a data sink." | |
745 } | 1024 } |
746 }, | 1025 }, |
747 "type": "object" | 1026 "type": "object" |
748 }, | 1027 }, |
749 "ResumeTransferOperationRequest": { | 1028 "ResumeTransferOperationRequest": { |
750 "description": "Request passed to ResumeTransferOperation.", | 1029 "description": "Request passed to ResumeTransferOperation.", |
751 "id": "ResumeTransferOperationRequest", | 1030 "id": "ResumeTransferOperationRequest", |
752 "properties": {}, | 1031 "properties": {}, |
753 "type": "object" | 1032 "type": "object" |
754 }, | 1033 }, |
755 "Status": { | 1034 "Status": { |
756 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d 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 tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\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\ni
nformation 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# Lang
uage 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` mess
age is\nexposed in different client libraries and different wire protocols, it c
an be\nmapped differently. For example, it will likely be mapped to some excepti
ons\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\nenvironm
ents, 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 m
ay\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 re
sults 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 store
d in logs, the message `Status` could\n be used directly after any stripping
needed for security/privacy reasons.", | 1035 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d 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 tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\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\ni
nformation 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# Lang
uage 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` mess
age is\nexposed in different client libraries and different wire protocols, it c
an be\nmapped differently. For example, it will likely be mapped to some excepti
ons\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\nenvironm
ents, 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 m
ay\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 re
sults 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 store
d in logs, the message `Status` could\n be used directly after any stripping
needed for security/privacy reasons.", |
757 "id": "Status", | 1036 "id": "Status", |
758 "properties": { | 1037 "properties": { |
| 1038 "message": { |
| 1039 "description": "A developer-facing error message, which shou
ld 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.", |
| 1040 "type": "string" |
| 1041 }, |
759 "details": { | 1042 "details": { |
760 "description": "A list of messages that carry the error deta
ils. There is a common set of\nmessage types for APIs to use.", | 1043 "description": "A list of messages that carry the error deta
ils. There is a common set of\nmessage types for APIs to use.", |
761 "items": { | 1044 "items": { |
762 "additionalProperties": { | 1045 "additionalProperties": { |
763 "description": "Properties of the object. Contains f
ield @type with type URL.", | 1046 "description": "Properties of the object. Contains f
ield @type with type URL.", |
764 "type": "any" | 1047 "type": "any" |
765 }, | 1048 }, |
766 "type": "object" | 1049 "type": "object" |
767 }, | 1050 }, |
768 "type": "array" | 1051 "type": "array" |
769 }, | 1052 }, |
770 "code": { | 1053 "code": { |
771 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | 1054 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
772 "format": "int32", | 1055 "format": "int32", |
773 "type": "integer" | 1056 "type": "integer" |
774 }, | 1057 } |
775 "message": { | 1058 }, |
776 "description": "A developer-facing error message, which shou
ld 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.", | |
777 "type": "string" | |
778 } | |
779 }, | |
780 "type": "object" | |
781 }, | |
782 "ListOperationsResponse": { | |
783 "description": "The response message for Operations.ListOperations."
, | |
784 "id": "ListOperationsResponse", | |
785 "properties": { | |
786 "nextPageToken": { | |
787 "description": "The standard List next-page token.", | |
788 "type": "string" | |
789 }, | |
790 "operations": { | |
791 "description": "A list of operations that matches the specif
ied filter in the request.", | |
792 "items": { | |
793 "$ref": "Operation" | |
794 }, | |
795 "type": "array" | |
796 } | |
797 }, | |
798 "type": "object" | |
799 }, | |
800 "GoogleServiceAccount": { | |
801 "description": "Google service account", | |
802 "id": "GoogleServiceAccount", | |
803 "properties": { | |
804 "accountEmail": { | |
805 "description": "Required.", | |
806 "type": "string" | |
807 } | |
808 }, | |
809 "type": "object" | |
810 }, | |
811 "TimeOfDay": { | |
812 "description": "Represents a time of day. The date and time zone are
either not significant\nor are specified elsewhere. An API may choose to allow
leap seconds. Related\ntypes are google.type.Date and `google.protobuf.Timestamp
`.", | |
813 "id": "TimeOfDay", | |
814 "properties": { | |
815 "minutes": { | |
816 "description": "Minutes of hour of day. Must be from 0 to 59
.", | |
817 "format": "int32", | |
818 "type": "integer" | |
819 }, | |
820 "hours": { | |
821 "description": "Hours of day in 24 hour format. Should be fr
om 0 to 23. An API may choose\nto allow the value \"24:00:00\" for scenarios lik
e business closing time.", | |
822 "format": "int32", | |
823 "type": "integer" | |
824 }, | |
825 "nanos": { | |
826 "description": "Fractions of seconds in nanoseconds. Must be
from 0 to 999,999,999.", | |
827 "format": "int32", | |
828 "type": "integer" | |
829 }, | |
830 "seconds": { | |
831 "description": "Seconds of minutes of the time. Must normall
y be from 0 to 59. An API may\nallow the value 60 if it allows leap-seconds.", | |
832 "format": "int32", | |
833 "type": "integer" | |
834 } | |
835 }, | |
836 "type": "object" | |
837 }, | |
838 "ErrorLogEntry": { | |
839 "description": "An entry describing an error that has occurred.", | |
840 "id": "ErrorLogEntry", | |
841 "properties": { | |
842 "errorDetails": { | |
843 "description": "A list of messages that carry the error deta
ils.", | |
844 "items": { | |
845 "type": "string" | |
846 }, | |
847 "type": "array" | |
848 }, | |
849 "url": { | |
850 "description": "A URL that refers to the target (a data sour
ce, a data sink,\nor an object) with which the error is associated.\nRequired.", | |
851 "type": "string" | |
852 } | |
853 }, | |
854 "type": "object" | |
855 }, | |
856 "TransferJob": { | |
857 "description": "This resource represents the configuration of a tran
sfer job that runs\nperiodically.", | |
858 "id": "TransferJob", | |
859 "properties": { | |
860 "creationTime": { | |
861 "description": "This field cannot be changed by user request
s.", | |
862 "format": "google-datetime", | |
863 "type": "string" | |
864 }, | |
865 "transferSpec": { | |
866 "$ref": "TransferSpec", | |
867 "description": "Transfer specification.\nRequired." | |
868 }, | |
869 "status": { | |
870 "description": "Status of the job. This value MUST be specif
ied for\n`CreateTransferJobRequests`.\n\nNOTE: The effect of the new job status
takes place during a subsequent job\nrun. For example, if you change the job sta
tus from `ENABLED` to\n`DISABLED`, and an operation spawned by the transfer is r
unning, the status\nchange would not affect the current operation.", | |
871 "enum": [ | |
872 "STATUS_UNSPECIFIED", | |
873 "ENABLED", | |
874 "DISABLED", | |
875 "DELETED" | |
876 ], | |
877 "enumDescriptions": [ | |
878 "Zero is an illegal value.", | |
879 "New transfers will be performed based on the schedule."
, | |
880 "New transfers will not be scheduled.", | |
881 "This is a soft delete state. After a transfer job is se
t to this\nstate, the job and all the transfer executions are subject to\ngarbag
e collection." | |
882 ], | |
883 "type": "string" | |
884 }, | |
885 "schedule": { | |
886 "$ref": "Schedule", | |
887 "description": "Schedule specification.\nRequired." | |
888 }, | |
889 "deletionTime": { | |
890 "description": "This field cannot be changed by user request
s.", | |
891 "format": "google-datetime", | |
892 "type": "string" | |
893 }, | |
894 "name": { | |
895 "description": "A globally unique name assigned by Storage T
ransfer Service when the\njob is created. This field should be left empty in req
uests to create a new\ntransfer job; otherwise, the requests result in an `INVAL
ID_ARGUMENT`\nerror.", | |
896 "type": "string" | |
897 }, | |
898 "projectId": { | |
899 "description": "The ID of the Google Cloud Platform Console
project that owns the job.\nRequired.", | |
900 "type": "string" | |
901 }, | |
902 "lastModificationTime": { | |
903 "description": "This field cannot be changed by user request
s.", | |
904 "format": "google-datetime", | |
905 "type": "string" | |
906 }, | |
907 "description": { | |
908 "description": "A description provided by the user for the j
ob. Its max length is 1024\nbytes when Unicode-encoded.", | |
909 "type": "string" | |
910 } | |
911 }, | |
912 "type": "object" | |
913 }, | |
914 "Schedule": { | |
915 "description": "Transfers can be scheduled to recur or to run just o
nce.", | |
916 "id": "Schedule", | |
917 "properties": { | |
918 "scheduleEndDate": { | |
919 "$ref": "Date", | |
920 "description": "The last day the recurring transfer will be
run. If `scheduleEndDate`\nis the same as `scheduleStartDate`, the transfer will
be executed only\nonce." | |
921 }, | |
922 "startTimeOfDay": { | |
923 "$ref": "TimeOfDay", | |
924 "description": "The time in UTC at which the transfer will b
e scheduled to start in a day.\nTransfers may start later than this time. If not
specified, recurring and\none-time transfers that are scheduled to run today wi
ll run immediately;\nrecurring transfers that are scheduled to run on a future d
ate will start\nat approximately midnight UTC on that date. Note that when confi
guring a\ntransfer with the Cloud Platform Console, the transfer's start time in
a\nday is specified in your local timezone." | |
925 }, | |
926 "scheduleStartDate": { | |
927 "$ref": "Date", | |
928 "description": "The first day the recurring transfer is sche
duled to run. If\n`scheduleStartDate` is in the past, the transfer will run for
the first\ntime on the following day.\nRequired." | |
929 } | |
930 }, | |
931 "type": "object" | |
932 }, | |
933 "Date": { | |
934 "description": "Represents a whole calendar date, e.g. date of birth
. The time of day and\ntime zone are either specified elsewhere or are not signi
ficant. The date\nis relative to the Proleptic Gregorian Calendar. The day may b
e 0 to\nrepresent a year and month where the day is not significant, e.g. credit
card\nexpiration date. The year may be 0 to represent a month and day independe
nt\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand
`google.protobuf.Timestamp`.", | |
935 "id": "Date", | |
936 "properties": { | |
937 "day": { | |
938 "description": "Day of month. Must be from 1 to 31 and valid
for the year and month, or 0\nif specifying a year/month where the day is not s
ignificant.", | |
939 "format": "int32", | |
940 "type": "integer" | |
941 }, | |
942 "year": { | |
943 "description": "Year of date. Must be from 1 to 9999, or 0 i
f specifying a date without\na year.", | |
944 "format": "int32", | |
945 "type": "integer" | |
946 }, | |
947 "month": { | |
948 "description": "Month of year. Must be from 1 to 12.", | |
949 "format": "int32", | |
950 "type": "integer" | |
951 } | |
952 }, | |
953 "type": "object" | |
954 }, | |
955 "TransferOperation": { | |
956 "description": "A description of the execution of a transfer.", | |
957 "id": "TransferOperation", | |
958 "properties": { | |
959 "errorBreakdowns": { | |
960 "description": "Summarizes errors encountered with sample er
ror log entries.", | |
961 "items": { | |
962 "$ref": "ErrorSummary" | |
963 }, | |
964 "type": "array" | |
965 }, | |
966 "name": { | |
967 "description": "A globally unique ID assigned by the system.
", | |
968 "type": "string" | |
969 }, | |
970 "projectId": { | |
971 "description": "The ID of the Google Cloud Platform Console
project that owns the operation.\nRequired.", | |
972 "type": "string" | |
973 }, | |
974 "endTime": { | |
975 "description": "End time of this transfer execution.", | |
976 "format": "google-datetime", | |
977 "type": "string" | |
978 }, | |
979 "startTime": { | |
980 "description": "Start time of this transfer execution.", | |
981 "format": "google-datetime", | |
982 "type": "string" | |
983 }, | |
984 "transferJobName": { | |
985 "description": "The name of the transfer job that triggers t
his transfer operation.", | |
986 "type": "string" | |
987 }, | |
988 "transferSpec": { | |
989 "$ref": "TransferSpec", | |
990 "description": "Transfer specification.\nRequired." | |
991 }, | |
992 "status": { | |
993 "description": "Status of the transfer operation.", | |
994 "enum": [ | |
995 "STATUS_UNSPECIFIED", | |
996 "IN_PROGRESS", | |
997 "PAUSED", | |
998 "SUCCESS", | |
999 "FAILED", | |
1000 "ABORTED" | |
1001 ], | |
1002 "enumDescriptions": [ | |
1003 "Zero is an illegal value.", | |
1004 "In progress.", | |
1005 "Paused.", | |
1006 "Completed successfully.", | |
1007 "Terminated due to an unrecoverable failure.", | |
1008 "Aborted by the user." | |
1009 ], | |
1010 "type": "string" | |
1011 }, | |
1012 "counters": { | |
1013 "$ref": "TransferCounters", | |
1014 "description": "Information about the progress of the transf
er operation." | |
1015 } | |
1016 }, | |
1017 "type": "object" | |
1018 }, | |
1019 "AwsS3Data": { | |
1020 "description": "An AwsS3Data can be a data source, but not a data si
nk.\nIn an AwsS3Data, an object's name is the S3 object's key name.", | |
1021 "id": "AwsS3Data", | |
1022 "properties": { | |
1023 "bucketName": { | |
1024 "description": "S3 Bucket name (see\n[Creating a bucket](htt
p://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.h
tml)).\nRequired.", | |
1025 "type": "string" | |
1026 }, | |
1027 "awsAccessKey": { | |
1028 "$ref": "AwsAccessKey", | |
1029 "description": "AWS access key used to sign the API requests
to the AWS S3 bucket.\nPermissions on the bucket must be granted to the access
ID of the\nAWS access key.\nRequired." | |
1030 } | |
1031 }, | |
1032 "type": "object" | |
1033 }, | |
1034 "AwsAccessKey": { | |
1035 "description": "AWS access key (see\n[AWS Security Credentials](http
://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)).", | |
1036 "id": "AwsAccessKey", | |
1037 "properties": { | |
1038 "accessKeyId": { | |
1039 "description": "AWS access key ID.\nRequired.", | |
1040 "type": "string" | |
1041 }, | |
1042 "secretAccessKey": { | |
1043 "description": "AWS secret access key. This field is not ret
urned in RPC responses.\nRequired.", | |
1044 "type": "string" | |
1045 } | |
1046 }, | |
1047 "type": "object" | |
1048 }, | |
1049 "Empty": { | |
1050 "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 `{}`.", | |
1051 "id": "Empty", | |
1052 "properties": {}, | |
1053 "type": "object" | |
1054 }, | |
1055 "PauseTransferOperationRequest": { | |
1056 "description": "Request passed to PauseTransferOperation.", | |
1057 "id": "PauseTransferOperationRequest", | |
1058 "properties": {}, | |
1059 "type": "object" | 1059 "type": "object" |
1060 } | 1060 } |
1061 }, | 1061 }, |
1062 "servicePath": "", | 1062 "servicePath": "", |
1063 "title": "Google Storage Transfer API", | 1063 "title": "Google Storage Transfer API", |
1064 "version": "v1" | 1064 "version": "v1" |
1065 } | 1065 } |
OLD | NEW |