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 "$.xgafv": { |
| 28 "description": "V1 error format.", |
| 29 "enum": [ |
| 30 "1", |
| 31 "2" |
| 32 ], |
| 33 "enumDescriptions": [ |
| 34 "v1 error format", |
| 35 "v2 error format" |
| 36 ], |
| 37 "location": "query", |
| 38 "type": "string" |
| 39 }, |
| 40 "callback": { |
| 41 "description": "JSONP", |
| 42 "location": "query", |
| 43 "type": "string" |
| 44 }, |
| 45 "alt": { |
| 46 "default": "json", |
| 47 "description": "Data format for response.", |
| 48 "enum": [ |
| 49 "json", |
| 50 "media", |
| 51 "proto" |
| 52 ], |
| 53 "enumDescriptions": [ |
| 54 "Responses with Content-Type of application/json", |
| 55 "Media download with context-dependent Content-Type", |
| 56 "Responses with Content-Type of application/x-protobuf" |
| 57 ], |
| 58 "location": "query", |
| 59 "type": "string" |
| 60 }, |
| 61 "access_token": { |
| 62 "description": "OAuth access token.", |
| 63 "location": "query", |
| 64 "type": "string" |
| 65 }, |
| 66 "key": { |
| 67 "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.", |
| 68 "location": "query", |
| 69 "type": "string" |
| 70 }, |
27 "quotaUser": { | 71 "quotaUser": { |
28 "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.", | 72 "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.", |
29 "location": "query", | 73 "location": "query", |
30 "type": "string" | 74 "type": "string" |
31 }, | 75 }, |
32 "pp": { | 76 "pp": { |
33 "default": "true", | 77 "default": "true", |
34 "description": "Pretty-print response.", | 78 "description": "Pretty-print response.", |
35 "location": "query", | 79 "location": "query", |
36 "type": "boolean" | 80 "type": "boolean" |
(...skipping 12 matching lines...) Expand all Loading... |
49 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 93 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
50 "location": "query", | 94 "location": "query", |
51 "type": "string" | 95 "type": "string" |
52 }, | 96 }, |
53 "prettyPrint": { | 97 "prettyPrint": { |
54 "default": "true", | 98 "default": "true", |
55 "description": "Returns response with indentations and line breaks."
, | 99 "description": "Returns response with indentations and line breaks."
, |
56 "location": "query", | 100 "location": "query", |
57 "type": "boolean" | 101 "type": "boolean" |
58 }, | 102 }, |
59 "fields": { | |
60 "description": "Selector specifying which fields to include in a par
tial response.", | |
61 "location": "query", | |
62 "type": "string" | |
63 }, | |
64 "uploadType": { | 103 "uploadType": { |
65 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 104 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
66 "location": "query", | 105 "location": "query", |
67 "type": "string" | 106 "type": "string" |
68 }, | 107 }, |
69 "callback": { | 108 "fields": { |
70 "description": "JSONP", | 109 "description": "Selector specifying which fields to include in a par
tial response.", |
71 "location": "query", | |
72 "type": "string" | |
73 }, | |
74 "$.xgafv": { | |
75 "description": "V1 error format.", | |
76 "enum": [ | |
77 "1", | |
78 "2" | |
79 ], | |
80 "enumDescriptions": [ | |
81 "v1 error format", | |
82 "v2 error format" | |
83 ], | |
84 "location": "query", | |
85 "type": "string" | |
86 }, | |
87 "alt": { | |
88 "default": "json", | |
89 "description": "Data format for response.", | |
90 "enum": [ | |
91 "json", | |
92 "media", | |
93 "proto" | |
94 ], | |
95 "enumDescriptions": [ | |
96 "Responses with Content-Type of application/json", | |
97 "Media download with context-dependent Content-Type", | |
98 "Responses with Content-Type of application/x-protobuf" | |
99 ], | |
100 "location": "query", | |
101 "type": "string" | |
102 }, | |
103 "access_token": { | |
104 "description": "OAuth access token.", | |
105 "location": "query", | |
106 "type": "string" | |
107 }, | |
108 "key": { | |
109 "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.", | |
110 "location": "query", | 110 "location": "query", |
111 "type": "string" | 111 "type": "string" |
112 } | 112 } |
113 }, | 113 }, |
114 "protocol": "rest", | 114 "protocol": "rest", |
115 "resources": { | 115 "resources": { |
116 "googleServiceAccounts": { | 116 "transferOperations": { |
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": "Gets the latest state of a long-running oper
ation. Clients can use this\nmethod to poll the operation result at intervals a
s recommended by the API\nservice.", |
120 "httpMethod": "GET", | 120 "httpMethod": "GET", |
121 "id": "storagetransfer.googleServiceAccounts.get", | 121 "id": "storagetransfer.transferOperations.get", |
122 "parameterOrder": [ | 122 "parameterOrder": [ |
123 "projectId" | 123 "name" |
124 ], | 124 ], |
125 "parameters": { | 125 "parameters": { |
126 "projectId": { | 126 "name": { |
127 "description": "The ID of the Google Cloud Platform
Console project that the Google service\naccount is associated with.\nRequired."
, | 127 "description": "The name of the operation resource."
, |
128 "location": "path", | 128 "location": "path", |
| 129 "pattern": "^transferOperations/.+$", |
129 "required": true, | 130 "required": true, |
130 "type": "string" | 131 "type": "string" |
131 } | 132 } |
132 }, | 133 }, |
133 "path": "v1/googleServiceAccounts/{projectId}", | 134 "path": "v1/{+name}", |
134 "response": { | 135 "response": { |
135 "$ref": "GoogleServiceAccount" | 136 "$ref": "Operation" |
136 }, | |
137 "scopes": [ | |
138 "https://www.googleapis.com/auth/cloud-platform" | |
139 ] | |
140 } | |
141 } | |
142 }, | |
143 "transferJobs": { | |
144 "methods": { | |
145 "patch": { | |
146 "description": "Updates a transfer job. Updating a job's tra
nsfer spec does not affect\ntransfer operations that are running already. Updati
ng the scheduling\nof a job is not allowed.", | |
147 "httpMethod": "PATCH", | |
148 "id": "storagetransfer.transferJobs.patch", | |
149 "parameterOrder": [ | |
150 "jobName" | |
151 ], | |
152 "parameters": { | |
153 "jobName": { | |
154 "description": "The name of job to update.\nRequired
.", | |
155 "location": "path", | |
156 "pattern": "^transferJobs/.+$", | |
157 "required": true, | |
158 "type": "string" | |
159 } | |
160 }, | |
161 "path": "v1/{+jobName}", | |
162 "request": { | |
163 "$ref": "UpdateTransferJobRequest" | |
164 }, | |
165 "response": { | |
166 "$ref": "TransferJob" | |
167 }, | 137 }, |
168 "scopes": [ | 138 "scopes": [ |
169 "https://www.googleapis.com/auth/cloud-platform" | 139 "https://www.googleapis.com/auth/cloud-platform" |
170 ] | 140 ] |
171 }, | 141 }, |
172 "get": { | 142 "pause": { |
173 "description": "Gets a transfer job.", | 143 "description": "Pauses a transfer operation.", |
174 "httpMethod": "GET", | 144 "httpMethod": "POST", |
175 "id": "storagetransfer.transferJobs.get", | 145 "id": "storagetransfer.transferOperations.pause", |
176 "parameterOrder": [ | 146 "parameterOrder": [ |
177 "jobName" | 147 "name" |
178 ], | 148 ], |
179 "parameters": { | 149 "parameters": { |
180 "jobName": { | 150 "name": { |
181 "description": "The job to get.\nRequired.", | 151 "description": "The name of the transfer operation.\
nRequired.", |
182 "location": "path", | 152 "location": "path", |
183 "pattern": "^transferJobs/.+$", | 153 "pattern": "^transferOperations/.+$", |
184 "required": true, | 154 "required": true, |
185 "type": "string" | 155 "type": "string" |
186 }, | |
187 "projectId": { | |
188 "description": "The ID of the Google Cloud Platform
Console project that owns the job.\nRequired.", | |
189 "location": "query", | |
190 "type": "string" | |
191 } | 156 } |
192 }, | 157 }, |
193 "path": "v1/{+jobName}", | 158 "path": "v1/{+name}:pause", |
| 159 "request": { |
| 160 "$ref": "PauseTransferOperationRequest" |
| 161 }, |
194 "response": { | 162 "response": { |
195 "$ref": "TransferJob" | 163 "$ref": "Empty" |
| 164 }, |
| 165 "scopes": [ |
| 166 "https://www.googleapis.com/auth/cloud-platform" |
| 167 ] |
| 168 }, |
| 169 "delete": { |
| 170 "description": "This method is not supported and the server
returns `UNIMPLEMENTED`.", |
| 171 "httpMethod": "DELETE", |
| 172 "id": "storagetransfer.transferOperations.delete", |
| 173 "parameterOrder": [ |
| 174 "name" |
| 175 ], |
| 176 "parameters": { |
| 177 "name": { |
| 178 "description": "The name of the operation resource t
o be deleted.", |
| 179 "location": "path", |
| 180 "pattern": "^transferOperations/.+$", |
| 181 "required": true, |
| 182 "type": "string" |
| 183 } |
| 184 }, |
| 185 "path": "v1/{+name}", |
| 186 "response": { |
| 187 "$ref": "Empty" |
196 }, | 188 }, |
197 "scopes": [ | 189 "scopes": [ |
198 "https://www.googleapis.com/auth/cloud-platform" | 190 "https://www.googleapis.com/auth/cloud-platform" |
199 ] | 191 ] |
200 }, | 192 }, |
201 "list": { | 193 "list": { |
202 "description": "Lists transfer jobs.", | 194 "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.", |
203 "httpMethod": "GET", | 195 "httpMethod": "GET", |
204 "id": "storagetransfer.transferJobs.list", | 196 "id": "storagetransfer.transferOperations.list", |
205 "parameterOrder": [], | 197 "parameterOrder": [ |
| 198 "name" |
| 199 ], |
206 "parameters": { | 200 "parameters": { |
207 "pageSize": { | |
208 "description": "The list page size. The max allowed
value is 256.", | |
209 "format": "int32", | |
210 "location": "query", | |
211 "type": "integer" | |
212 }, | |
213 "filter": { | 201 "filter": { |
214 "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`.", | 202 "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.", |
215 "location": "query", | 203 "location": "query", |
216 "type": "string" | 204 "type": "string" |
217 }, | 205 }, |
218 "pageToken": { | 206 "pageToken": { |
219 "description": "The list page token.", | 207 "description": "The list page token.", |
220 "location": "query", | 208 "location": "query", |
221 "type": "string" | 209 "type": "string" |
| 210 }, |
| 211 "name": { |
| 212 "description": "The value `transferOperations`.", |
| 213 "location": "path", |
| 214 "pattern": "^transferOperations$", |
| 215 "required": true, |
| 216 "type": "string" |
| 217 }, |
| 218 "pageSize": { |
| 219 "description": "The list page size. The max allowed
value is 256.", |
| 220 "format": "int32", |
| 221 "location": "query", |
| 222 "type": "integer" |
222 } | 223 } |
223 }, | 224 }, |
224 "path": "v1/transferJobs", | 225 "path": "v1/{+name}", |
225 "response": { | 226 "response": { |
226 "$ref": "ListTransferJobsResponse" | 227 "$ref": "ListOperationsResponse" |
227 }, | 228 }, |
228 "scopes": [ | 229 "scopes": [ |
229 "https://www.googleapis.com/auth/cloud-platform" | 230 "https://www.googleapis.com/auth/cloud-platform" |
230 ] | 231 ] |
231 }, | 232 }, |
232 "create": { | |
233 "description": "Creates a transfer job that runs periodicall
y.", | |
234 "httpMethod": "POST", | |
235 "id": "storagetransfer.transferJobs.create", | |
236 "parameterOrder": [], | |
237 "parameters": {}, | |
238 "path": "v1/transferJobs", | |
239 "request": { | |
240 "$ref": "TransferJob" | |
241 }, | |
242 "response": { | |
243 "$ref": "TransferJob" | |
244 }, | |
245 "scopes": [ | |
246 "https://www.googleapis.com/auth/cloud-platform" | |
247 ] | |
248 } | |
249 } | |
250 }, | |
251 "transferOperations": { | |
252 "methods": { | |
253 "resume": { | 233 "resume": { |
254 "description": "Resumes a transfer operation that is paused.
", | 234 "description": "Resumes a transfer operation that is paused.
", |
255 "httpMethod": "POST", | 235 "httpMethod": "POST", |
256 "id": "storagetransfer.transferOperations.resume", | 236 "id": "storagetransfer.transferOperations.resume", |
257 "parameterOrder": [ | 237 "parameterOrder": [ |
258 "name" | 238 "name" |
259 ], | 239 ], |
260 "parameters": { | 240 "parameters": { |
261 "name": { | 241 "name": { |
262 "description": "The name of the transfer operation.\
nRequired.", | 242 "description": "The name of the transfer operation.\
nRequired.", |
(...skipping 30 matching lines...) Expand all Loading... |
293 "type": "string" | 273 "type": "string" |
294 } | 274 } |
295 }, | 275 }, |
296 "path": "v1/{+name}:cancel", | 276 "path": "v1/{+name}:cancel", |
297 "response": { | 277 "response": { |
298 "$ref": "Empty" | 278 "$ref": "Empty" |
299 }, | 279 }, |
300 "scopes": [ | 280 "scopes": [ |
301 "https://www.googleapis.com/auth/cloud-platform" | 281 "https://www.googleapis.com/auth/cloud-platform" |
302 ] | 282 ] |
303 }, | 283 } |
304 "get": { | 284 } |
305 "description": "Gets the latest state of a long-running oper
ation. Clients can use this\nmethod to poll the operation result at intervals a
s recommended by the API\nservice.", | 285 }, |
| 286 "transferJobs": { |
| 287 "methods": { |
| 288 "list": { |
| 289 "description": "Lists transfer jobs.", |
306 "httpMethod": "GET", | 290 "httpMethod": "GET", |
307 "id": "storagetransfer.transferOperations.get", | 291 "id": "storagetransfer.transferJobs.list", |
308 "parameterOrder": [ | 292 "parameterOrder": [], |
309 "name" | |
310 ], | |
311 "parameters": { | |
312 "name": { | |
313 "description": "The name of the operation resource."
, | |
314 "location": "path", | |
315 "pattern": "^transferOperations/.+$", | |
316 "required": true, | |
317 "type": "string" | |
318 } | |
319 }, | |
320 "path": "v1/{+name}", | |
321 "response": { | |
322 "$ref": "Operation" | |
323 }, | |
324 "scopes": [ | |
325 "https://www.googleapis.com/auth/cloud-platform" | |
326 ] | |
327 }, | |
328 "pause": { | |
329 "description": "Pauses a transfer operation.", | |
330 "httpMethod": "POST", | |
331 "id": "storagetransfer.transferOperations.pause", | |
332 "parameterOrder": [ | |
333 "name" | |
334 ], | |
335 "parameters": { | |
336 "name": { | |
337 "description": "The name of the transfer operation.\
nRequired.", | |
338 "location": "path", | |
339 "pattern": "^transferOperations/.+$", | |
340 "required": true, | |
341 "type": "string" | |
342 } | |
343 }, | |
344 "path": "v1/{+name}:pause", | |
345 "request": { | |
346 "$ref": "PauseTransferOperationRequest" | |
347 }, | |
348 "response": { | |
349 "$ref": "Empty" | |
350 }, | |
351 "scopes": [ | |
352 "https://www.googleapis.com/auth/cloud-platform" | |
353 ] | |
354 }, | |
355 "delete": { | |
356 "description": "This method is not supported and the server
returns `UNIMPLEMENTED`.", | |
357 "httpMethod": "DELETE", | |
358 "id": "storagetransfer.transferOperations.delete", | |
359 "parameterOrder": [ | |
360 "name" | |
361 ], | |
362 "parameters": { | |
363 "name": { | |
364 "description": "The name of the operation resource t
o be deleted.", | |
365 "location": "path", | |
366 "pattern": "^transferOperations/.+$", | |
367 "required": true, | |
368 "type": "string" | |
369 } | |
370 }, | |
371 "path": "v1/{+name}", | |
372 "response": { | |
373 "$ref": "Empty" | |
374 }, | |
375 "scopes": [ | |
376 "https://www.googleapis.com/auth/cloud-platform" | |
377 ] | |
378 }, | |
379 "list": { | |
380 "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.", | |
381 "httpMethod": "GET", | |
382 "id": "storagetransfer.transferOperations.list", | |
383 "parameterOrder": [ | |
384 "name" | |
385 ], | |
386 "parameters": { | 293 "parameters": { |
387 "pageSize": { | 294 "pageSize": { |
388 "description": "The list page size. The max allowed
value is 256.", | 295 "description": "The list page size. The max allowed
value is 256.", |
389 "format": "int32", | 296 "format": "int32", |
390 "location": "query", | 297 "location": "query", |
391 "type": "integer" | 298 "type": "integer" |
392 }, | 299 }, |
393 "filter": { | 300 "filter": { |
394 "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.", | 301 "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`.", |
395 "location": "query", | 302 "location": "query", |
396 "type": "string" | 303 "type": "string" |
397 }, | 304 }, |
398 "name": { | |
399 "description": "The value `transferOperations`.", | |
400 "location": "path", | |
401 "pattern": "^transferOperations$", | |
402 "required": true, | |
403 "type": "string" | |
404 }, | |
405 "pageToken": { | 305 "pageToken": { |
406 "description": "The list page token.", | 306 "description": "The list page token.", |
407 "location": "query", | 307 "location": "query", |
408 "type": "string" | 308 "type": "string" |
409 } | 309 } |
410 }, | 310 }, |
411 "path": "v1/{+name}", | 311 "path": "v1/transferJobs", |
412 "response": { | 312 "response": { |
413 "$ref": "ListOperationsResponse" | 313 "$ref": "ListTransferJobsResponse" |
414 }, | 314 }, |
415 "scopes": [ | 315 "scopes": [ |
416 "https://www.googleapis.com/auth/cloud-platform" | 316 "https://www.googleapis.com/auth/cloud-platform" |
| 317 ] |
| 318 }, |
| 319 "get": { |
| 320 "description": "Gets a transfer job.", |
| 321 "httpMethod": "GET", |
| 322 "id": "storagetransfer.transferJobs.get", |
| 323 "parameterOrder": [ |
| 324 "jobName" |
| 325 ], |
| 326 "parameters": { |
| 327 "projectId": { |
| 328 "description": "The ID of the Google Cloud Platform
Console project that owns the job.\nRequired.", |
| 329 "location": "query", |
| 330 "type": "string" |
| 331 }, |
| 332 "jobName": { |
| 333 "description": "The job to get.\nRequired.", |
| 334 "location": "path", |
| 335 "pattern": "^transferJobs/.+$", |
| 336 "required": true, |
| 337 "type": "string" |
| 338 } |
| 339 }, |
| 340 "path": "v1/{+jobName}", |
| 341 "response": { |
| 342 "$ref": "TransferJob" |
| 343 }, |
| 344 "scopes": [ |
| 345 "https://www.googleapis.com/auth/cloud-platform" |
| 346 ] |
| 347 }, |
| 348 "patch": { |
| 349 "description": "Updates a transfer job. Updating a job's tra
nsfer spec does not affect\ntransfer operations that are running already. Updati
ng the scheduling\nof a job is not allowed.", |
| 350 "httpMethod": "PATCH", |
| 351 "id": "storagetransfer.transferJobs.patch", |
| 352 "parameterOrder": [ |
| 353 "jobName" |
| 354 ], |
| 355 "parameters": { |
| 356 "jobName": { |
| 357 "description": "The name of job to update.\nRequired
.", |
| 358 "location": "path", |
| 359 "pattern": "^transferJobs/.+$", |
| 360 "required": true, |
| 361 "type": "string" |
| 362 } |
| 363 }, |
| 364 "path": "v1/{+jobName}", |
| 365 "request": { |
| 366 "$ref": "UpdateTransferJobRequest" |
| 367 }, |
| 368 "response": { |
| 369 "$ref": "TransferJob" |
| 370 }, |
| 371 "scopes": [ |
| 372 "https://www.googleapis.com/auth/cloud-platform" |
| 373 ] |
| 374 }, |
| 375 "create": { |
| 376 "description": "Creates a transfer job that runs periodicall
y.", |
| 377 "httpMethod": "POST", |
| 378 "id": "storagetransfer.transferJobs.create", |
| 379 "parameterOrder": [], |
| 380 "parameters": {}, |
| 381 "path": "v1/transferJobs", |
| 382 "request": { |
| 383 "$ref": "TransferJob" |
| 384 }, |
| 385 "response": { |
| 386 "$ref": "TransferJob" |
| 387 }, |
| 388 "scopes": [ |
| 389 "https://www.googleapis.com/auth/cloud-platform" |
| 390 ] |
| 391 } |
| 392 } |
| 393 }, |
| 394 "googleServiceAccounts": { |
| 395 "methods": { |
| 396 "get": { |
| 397 "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.", |
| 398 "httpMethod": "GET", |
| 399 "id": "storagetransfer.googleServiceAccounts.get", |
| 400 "parameterOrder": [ |
| 401 "projectId" |
| 402 ], |
| 403 "parameters": { |
| 404 "projectId": { |
| 405 "description": "The ID of the Google Cloud Platform
Console project that the Google service\naccount is associated with.\nRequired."
, |
| 406 "location": "path", |
| 407 "required": true, |
| 408 "type": "string" |
| 409 } |
| 410 }, |
| 411 "path": "v1/googleServiceAccounts/{projectId}", |
| 412 "response": { |
| 413 "$ref": "GoogleServiceAccount" |
| 414 }, |
| 415 "scopes": [ |
| 416 "https://www.googleapis.com/auth/cloud-platform" |
417 ] | 417 ] |
418 } | 418 } |
419 } | 419 } |
420 } | 420 } |
421 }, | 421 }, |
422 "revision": "20170605", | 422 "revision": "20170705", |
423 "rootUrl": "https://storagetransfer.googleapis.com/", | 423 "rootUrl": "https://storagetransfer.googleapis.com/", |
424 "schemas": { | 424 "schemas": { |
| 425 "ErrorLogEntry": { |
| 426 "description": "An entry describing an error that has occurred.", |
| 427 "id": "ErrorLogEntry", |
| 428 "properties": { |
| 429 "errorDetails": { |
| 430 "description": "A list of messages that carry the error deta
ils.", |
| 431 "items": { |
| 432 "type": "string" |
| 433 }, |
| 434 "type": "array" |
| 435 }, |
| 436 "url": { |
| 437 "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.", |
| 438 "type": "string" |
| 439 } |
| 440 }, |
| 441 "type": "object" |
| 442 }, |
| 443 "TransferJob": { |
| 444 "description": "This resource represents the configuration of a tran
sfer job that runs\nperiodically.", |
| 445 "id": "TransferJob", |
| 446 "properties": { |
| 447 "description": { |
| 448 "description": "A description provided by the user for the j
ob. Its max length is 1024\nbytes when Unicode-encoded.", |
| 449 "type": "string" |
| 450 }, |
| 451 "creationTime": { |
| 452 "description": "This field cannot be changed by user request
s.", |
| 453 "format": "google-datetime", |
| 454 "type": "string" |
| 455 }, |
| 456 "transferSpec": { |
| 457 "$ref": "TransferSpec", |
| 458 "description": "Transfer specification.\nRequired." |
| 459 }, |
| 460 "status": { |
| 461 "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.", |
| 462 "enum": [ |
| 463 "STATUS_UNSPECIFIED", |
| 464 "ENABLED", |
| 465 "DISABLED", |
| 466 "DELETED" |
| 467 ], |
| 468 "enumDescriptions": [ |
| 469 "Zero is an illegal value.", |
| 470 "New transfers will be performed based on the schedule."
, |
| 471 "New transfers will not be scheduled.", |
| 472 "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." |
| 473 ], |
| 474 "type": "string" |
| 475 }, |
| 476 "schedule": { |
| 477 "$ref": "Schedule", |
| 478 "description": "Schedule specification.\nRequired." |
| 479 }, |
| 480 "deletionTime": { |
| 481 "description": "This field cannot be changed by user request
s.", |
| 482 "format": "google-datetime", |
| 483 "type": "string" |
| 484 }, |
| 485 "name": { |
| 486 "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.", |
| 487 "type": "string" |
| 488 }, |
| 489 "projectId": { |
| 490 "description": "The ID of the Google Cloud Platform Console
project that owns the job.\nRequired.", |
| 491 "type": "string" |
| 492 }, |
| 493 "lastModificationTime": { |
| 494 "description": "This field cannot be changed by user request
s.", |
| 495 "format": "google-datetime", |
| 496 "type": "string" |
| 497 } |
| 498 }, |
| 499 "type": "object" |
| 500 }, |
| 501 "Schedule": { |
| 502 "description": "Transfers can be scheduled to recur or to run just o
nce.", |
| 503 "id": "Schedule", |
| 504 "properties": { |
| 505 "startTimeOfDay": { |
| 506 "$ref": "TimeOfDay", |
| 507 "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." |
| 508 }, |
| 509 "scheduleStartDate": { |
| 510 "$ref": "Date", |
| 511 "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." |
| 512 }, |
| 513 "scheduleEndDate": { |
| 514 "$ref": "Date", |
| 515 "description": "The last day the recurring transfer will be
run. If `scheduleEndDate`\nis the same as `scheduleStartDate`, the transfer will
be executed only\nonce." |
| 516 } |
| 517 }, |
| 518 "type": "object" |
| 519 }, |
| 520 "Date": { |
| 521 "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`.", |
| 522 "id": "Date", |
| 523 "properties": { |
| 524 "day": { |
| 525 "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.", |
| 526 "format": "int32", |
| 527 "type": "integer" |
| 528 }, |
| 529 "year": { |
| 530 "description": "Year of date. Must be from 1 to 9999, or 0 i
f specifying a date without\na year.", |
| 531 "format": "int32", |
| 532 "type": "integer" |
| 533 }, |
| 534 "month": { |
| 535 "description": "Month of year. Must be from 1 to 12.", |
| 536 "format": "int32", |
| 537 "type": "integer" |
| 538 } |
| 539 }, |
| 540 "type": "object" |
| 541 }, |
| 542 "TransferOperation": { |
| 543 "description": "A description of the execution of a transfer.", |
| 544 "id": "TransferOperation", |
| 545 "properties": { |
| 546 "status": { |
| 547 "description": "Status of the transfer operation.", |
| 548 "enum": [ |
| 549 "STATUS_UNSPECIFIED", |
| 550 "IN_PROGRESS", |
| 551 "PAUSED", |
| 552 "SUCCESS", |
| 553 "FAILED", |
| 554 "ABORTED" |
| 555 ], |
| 556 "enumDescriptions": [ |
| 557 "Zero is an illegal value.", |
| 558 "In progress.", |
| 559 "Paused.", |
| 560 "Completed successfully.", |
| 561 "Terminated due to an unrecoverable failure.", |
| 562 "Aborted by the user." |
| 563 ], |
| 564 "type": "string" |
| 565 }, |
| 566 "counters": { |
| 567 "$ref": "TransferCounters", |
| 568 "description": "Information about the progress of the transf
er operation." |
| 569 }, |
| 570 "errorBreakdowns": { |
| 571 "description": "Summarizes errors encountered with sample er
ror log entries.", |
| 572 "items": { |
| 573 "$ref": "ErrorSummary" |
| 574 }, |
| 575 "type": "array" |
| 576 }, |
| 577 "name": { |
| 578 "description": "A globally unique ID assigned by the system.
", |
| 579 "type": "string" |
| 580 }, |
| 581 "projectId": { |
| 582 "description": "The ID of the Google Cloud Platform Console
project that owns the operation.\nRequired.", |
| 583 "type": "string" |
| 584 }, |
| 585 "endTime": { |
| 586 "description": "End time of this transfer execution.", |
| 587 "format": "google-datetime", |
| 588 "type": "string" |
| 589 }, |
| 590 "startTime": { |
| 591 "description": "Start time of this transfer execution.", |
| 592 "format": "google-datetime", |
| 593 "type": "string" |
| 594 }, |
| 595 "transferJobName": { |
| 596 "description": "The name of the transfer job that triggers t
his transfer operation.", |
| 597 "type": "string" |
| 598 }, |
| 599 "transferSpec": { |
| 600 "$ref": "TransferSpec", |
| 601 "description": "Transfer specification.\nRequired." |
| 602 } |
| 603 }, |
| 604 "type": "object" |
| 605 }, |
| 606 "AwsS3Data": { |
| 607 "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.", |
| 608 "id": "AwsS3Data", |
| 609 "properties": { |
| 610 "bucketName": { |
| 611 "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.", |
| 612 "type": "string" |
| 613 }, |
| 614 "awsAccessKey": { |
| 615 "$ref": "AwsAccessKey", |
| 616 "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." |
| 617 } |
| 618 }, |
| 619 "type": "object" |
| 620 }, |
425 "AwsAccessKey": { | 621 "AwsAccessKey": { |
426 "description": "AWS access key (see\n[AWS Security Credentials](http
://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)).", | 622 "description": "AWS access key (see\n[AWS Security Credentials](http
://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)).", |
427 "id": "AwsAccessKey", | 623 "id": "AwsAccessKey", |
428 "properties": { | 624 "properties": { |
429 "accessKeyId": { | 625 "accessKeyId": { |
430 "description": "AWS access key ID.\nRequired.", | 626 "description": "AWS access key ID.\nRequired.", |
431 "type": "string" | 627 "type": "string" |
432 }, | 628 }, |
433 "secretAccessKey": { | 629 "secretAccessKey": { |
434 "description": "AWS secret access key. This field is not ret
urned in RPC responses.\nRequired.", | 630 "description": "AWS secret access key. This field is not ret
urned in RPC responses.\nRequired.", |
(...skipping 11 matching lines...) Expand all Loading... |
446 "PauseTransferOperationRequest": { | 642 "PauseTransferOperationRequest": { |
447 "description": "Request passed to PauseTransferOperation.", | 643 "description": "Request passed to PauseTransferOperation.", |
448 "id": "PauseTransferOperationRequest", | 644 "id": "PauseTransferOperationRequest", |
449 "properties": {}, | 645 "properties": {}, |
450 "type": "object" | 646 "type": "object" |
451 }, | 647 }, |
452 "TransferCounters": { | 648 "TransferCounters": { |
453 "description": "A collection of counters that report the progress of
a transfer operation.", | 649 "description": "A collection of counters that report the progress of
a transfer operation.", |
454 "id": "TransferCounters", | 650 "id": "TransferCounters", |
455 "properties": { | 651 "properties": { |
| 652 "bytesFailedToDeleteFromSink": { |
| 653 "description": "Bytes that failed to be deleted from the dat
a sink.", |
| 654 "format": "int64", |
| 655 "type": "string" |
| 656 }, |
| 657 "bytesDeletedFromSink": { |
| 658 "description": "Bytes that are deleted from the data sink.", |
| 659 "format": "int64", |
| 660 "type": "string" |
| 661 }, |
| 662 "bytesFromSourceFailed": { |
| 663 "description": "Bytes in the data source that failed during
the transfer.", |
| 664 "format": "int64", |
| 665 "type": "string" |
| 666 }, |
| 667 "objectsCopiedToSink": { |
| 668 "description": "Objects that are copied to the data sink.", |
| 669 "format": "int64", |
| 670 "type": "string" |
| 671 }, |
| 672 "objectsFromSourceFailed": { |
| 673 "description": "Objects in the data source that failed durin
g the transfer.", |
| 674 "format": "int64", |
| 675 "type": "string" |
| 676 }, |
| 677 "bytesFoundOnlyFromSink": { |
| 678 "description": "Bytes found only in the data sink that are s
cheduled to be deleted.", |
| 679 "format": "int64", |
| 680 "type": "string" |
| 681 }, |
| 682 "objectsDeletedFromSource": { |
| 683 "description": "Objects that are deleted from the data sourc
e.", |
| 684 "format": "int64", |
| 685 "type": "string" |
| 686 }, |
| 687 "bytesCopiedToSink": { |
| 688 "description": "Bytes that are copied to the data sink.", |
| 689 "format": "int64", |
| 690 "type": "string" |
| 691 }, |
| 692 "objectsFromSourceSkippedBySync": { |
| 693 "description": "Objects in the data source that are not tran
sferred because they already\nexist in the data sink.", |
| 694 "format": "int64", |
| 695 "type": "string" |
| 696 }, |
| 697 "bytesFoundFromSource": { |
| 698 "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.", |
| 699 "format": "int64", |
| 700 "type": "string" |
| 701 }, |
456 "objectsFoundFromSource": { | 702 "objectsFoundFromSource": { |
457 "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.", | 703 "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.", |
458 "format": "int64", | 704 "format": "int64", |
459 "type": "string" | 705 "type": "string" |
460 }, | 706 }, |
461 "bytesDeletedFromSource": { | 707 "bytesDeletedFromSource": { |
462 "description": "Bytes that are deleted from the data source.
", | 708 "description": "Bytes that are deleted from the data source.
", |
463 "format": "int64", | 709 "format": "int64", |
464 "type": "string" | 710 "type": "string" |
465 }, | 711 }, |
466 "objectsFailedToDeleteFromSink": { | 712 "objectsFailedToDeleteFromSink": { |
467 "description": "Objects that failed to be deleted from the d
ata sink.", | 713 "description": "Objects that failed to be deleted from the d
ata sink.", |
468 "format": "int64", | 714 "format": "int64", |
469 "type": "string" | 715 "type": "string" |
470 }, | 716 }, |
471 "objectsDeletedFromSink": { | 717 "objectsDeletedFromSink": { |
472 "description": "Objects that are deleted from the data sink.
", | 718 "description": "Objects that are deleted from the data sink.
", |
473 "format": "int64", | 719 "format": "int64", |
474 "type": "string" | 720 "type": "string" |
475 }, | 721 }, |
476 "objectsFoundOnlyFromSink": { | 722 "objectsFoundOnlyFromSink": { |
477 "description": "Objects found only in the data sink that are
scheduled to be deleted.", | 723 "description": "Objects found only in the data sink that are
scheduled to be deleted.", |
478 "format": "int64", | 724 "format": "int64", |
479 "type": "string" | 725 "type": "string" |
480 }, | 726 }, |
481 "bytesFromSourceSkippedBySync": { | 727 "bytesFromSourceSkippedBySync": { |
482 "description": "Bytes in the data source that are not transf
erred because they already\nexist in the data sink.", | 728 "description": "Bytes in the data source that are not transf
erred because they already\nexist in the data sink.", |
483 "format": "int64", | 729 "format": "int64", |
484 "type": "string" | 730 "type": "string" |
485 }, | |
486 "bytesDeletedFromSink": { | |
487 "description": "Bytes that are deleted from the data sink.", | |
488 "format": "int64", | |
489 "type": "string" | |
490 }, | |
491 "bytesFailedToDeleteFromSink": { | |
492 "description": "Bytes that failed to be deleted from the dat
a sink.", | |
493 "format": "int64", | |
494 "type": "string" | |
495 }, | |
496 "bytesFromSourceFailed": { | |
497 "description": "Bytes in the data source that failed during
the transfer.", | |
498 "format": "int64", | |
499 "type": "string" | |
500 }, | |
501 "objectsFromSourceFailed": { | |
502 "description": "Objects in the data source that failed durin
g the transfer.", | |
503 "format": "int64", | |
504 "type": "string" | |
505 }, | |
506 "objectsCopiedToSink": { | |
507 "description": "Objects that are copied to the data sink.", | |
508 "format": "int64", | |
509 "type": "string" | |
510 }, | |
511 "bytesFoundOnlyFromSink": { | |
512 "description": "Bytes found only in the data sink that are s
cheduled to be deleted.", | |
513 "format": "int64", | |
514 "type": "string" | |
515 }, | |
516 "objectsDeletedFromSource": { | |
517 "description": "Objects that are deleted from the data sourc
e.", | |
518 "format": "int64", | |
519 "type": "string" | |
520 }, | |
521 "bytesCopiedToSink": { | |
522 "description": "Bytes that are copied to the data sink.", | |
523 "format": "int64", | |
524 "type": "string" | |
525 }, | |
526 "bytesFoundFromSource": { | |
527 "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.", | |
528 "format": "int64", | |
529 "type": "string" | |
530 }, | |
531 "objectsFromSourceSkippedBySync": { | |
532 "description": "Objects in the data source that are not tran
sferred because they already\nexist in the data sink.", | |
533 "format": "int64", | |
534 "type": "string" | |
535 } | 731 } |
536 }, | 732 }, |
537 "type": "object" | 733 "type": "object" |
538 }, | 734 }, |
539 "ErrorSummary": { | 735 "ErrorSummary": { |
540 "description": "A summary of errors by error code, plus a count and
sample error log\nentries.", | 736 "description": "A summary of errors by error code, plus a count and
sample error log\nentries.", |
541 "id": "ErrorSummary", | 737 "id": "ErrorSummary", |
542 "properties": { | 738 "properties": { |
543 "errorCode": { | 739 "errorCode": { |
544 "description": "Required.", | 740 "description": "Required.", |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 "$ref": "TransferJob", | 850 "$ref": "TransferJob", |
655 "description": "The job to update.\nRequired." | 851 "description": "The job to update.\nRequired." |
656 } | 852 } |
657 }, | 853 }, |
658 "type": "object" | 854 "type": "object" |
659 }, | 855 }, |
660 "ObjectConditions": { | 856 "ObjectConditions": { |
661 "description": "Conditions that determine which objects will be tran
sferred.", | 857 "description": "Conditions that determine which objects will be tran
sferred.", |
662 "id": "ObjectConditions", | 858 "id": "ObjectConditions", |
663 "properties": { | 859 "properties": { |
664 "maxTimeElapsedSinceLastModification": { | 860 "excludePrefixes": { |
665 "description": "`maxTimeElapsedSinceLastModification` is the
complement to\n`minTimeElapsedSinceLastModification`.", | 861 "description": "`excludePrefixes` must follow the requiremen
ts described for\n`includePrefixes`.\n\nThe max size of `excludePrefixes` is 100
0.", |
666 "format": "google-duration", | |
667 "type": "string" | |
668 }, | |
669 "includePrefixes": { | |
670 "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.", | |
671 "items": { | 862 "items": { |
672 "type": "string" | 863 "type": "string" |
673 }, | 864 }, |
674 "type": "array" | 865 "type": "array" |
675 }, | 866 }, |
676 "minTimeElapsedSinceLastModification": { | 867 "minTimeElapsedSinceLastModification": { |
677 "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`.", | 868 "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`.", |
678 "format": "google-duration", | 869 "format": "google-duration", |
679 "type": "string" | 870 "type": "string" |
680 }, | 871 }, |
681 "excludePrefixes": { | 872 "maxTimeElapsedSinceLastModification": { |
682 "description": "`excludePrefixes` must follow the requiremen
ts described for\n`includePrefixes`.\n\nThe max size of `excludePrefixes` is 100
0.", | 873 "description": "`maxTimeElapsedSinceLastModification` is the
complement to\n`minTimeElapsedSinceLastModification`.", |
| 874 "format": "google-duration", |
| 875 "type": "string" |
| 876 }, |
| 877 "includePrefixes": { |
| 878 "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.", |
683 "items": { | 879 "items": { |
684 "type": "string" | 880 "type": "string" |
685 }, | 881 }, |
686 "type": "array" | 882 "type": "array" |
687 } | 883 } |
688 }, | 884 }, |
689 "type": "object" | 885 "type": "object" |
690 }, | 886 }, |
691 "Operation": { | 887 "Operation": { |
692 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | 888 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
693 "id": "Operation", | 889 "id": "Operation", |
694 "properties": { | 890 "properties": { |
695 "error": { | |
696 "$ref": "Status", | |
697 "description": "The error result of the operation in case of
failure or cancellation." | |
698 }, | |
699 "metadata": { | |
700 "additionalProperties": { | |
701 "description": "Properties of the object. Contains field
@type with type URL.", | |
702 "type": "any" | |
703 }, | |
704 "description": "Represents the transfer operation object.", | |
705 "type": "object" | |
706 }, | |
707 "done": { | 891 "done": { |
708 "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.", | 892 "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.", |
709 "type": "boolean" | 893 "type": "boolean" |
710 }, | 894 }, |
711 "response": { | 895 "response": { |
712 "additionalProperties": { | 896 "additionalProperties": { |
713 "description": "Properties of the object. Contains field
@type with type URL.", | 897 "description": "Properties of the object. Contains field
@type with type URL.", |
714 "type": "any" | 898 "type": "any" |
715 }, | 899 }, |
716 "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`.", | 900 "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`.", |
717 "type": "object" | 901 "type": "object" |
718 }, | 902 }, |
719 "name": { | 903 "name": { |
720 "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`.", | 904 "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`.", |
721 "type": "string" | 905 "type": "string" |
| 906 }, |
| 907 "error": { |
| 908 "$ref": "Status", |
| 909 "description": "The error result of the operation in case of
failure or cancellation." |
| 910 }, |
| 911 "metadata": { |
| 912 "additionalProperties": { |
| 913 "description": "Properties of the object. Contains field
@type with type URL.", |
| 914 "type": "any" |
| 915 }, |
| 916 "description": "Represents the transfer operation object.", |
| 917 "type": "object" |
722 } | 918 } |
723 }, | 919 }, |
724 "type": "object" | 920 "type": "object" |
| 921 }, |
| 922 "TransferOptions": { |
| 923 "description": "TransferOptions uses three boolean parameters to def
ine the actions\nto be performed on objects in a transfer.", |
| 924 "id": "TransferOptions", |
| 925 "properties": { |
| 926 "deleteObjectsFromSourceAfterTransfer": { |
| 927 "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.", |
| 928 "type": "boolean" |
| 929 }, |
| 930 "deleteObjectsUniqueInSink": { |
| 931 "description": "Whether objects that exist only in the sink
should be deleted. Note that\nthis option and `deleteObjectsFromSourceAfterTran
sfer` are mutually\nexclusive.", |
| 932 "type": "boolean" |
| 933 }, |
| 934 "overwriteObjectsAlreadyExistingInSink": { |
| 935 "description": "Whether overwriting objects that already exi
st in the sink is allowed.", |
| 936 "type": "boolean" |
| 937 } |
| 938 }, |
| 939 "type": "object" |
725 }, | 940 }, |
726 "TransferSpec": { | 941 "TransferSpec": { |
727 "description": "Configuration for running a transfer.", | 942 "description": "Configuration for running a transfer.", |
728 "id": "TransferSpec", | 943 "id": "TransferSpec", |
729 "properties": { | 944 "properties": { |
730 "transferOptions": { | |
731 "$ref": "TransferOptions", | |
732 "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." | |
733 }, | |
734 "awsS3DataSource": { | 945 "awsS3DataSource": { |
735 "$ref": "AwsS3Data", | 946 "$ref": "AwsS3Data", |
736 "description": "An AWS S3 data source." | 947 "description": "An AWS S3 data source." |
737 }, | 948 }, |
738 "httpDataSource": { | 949 "httpDataSource": { |
739 "$ref": "HttpData", | 950 "$ref": "HttpData", |
740 "description": "An HTTP URL data source." | 951 "description": "An HTTP URL data source." |
741 }, | 952 }, |
742 "objectConditions": { | 953 "objectConditions": { |
743 "$ref": "ObjectConditions", | 954 "$ref": "ObjectConditions", |
744 "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." | 955 "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." |
745 }, | 956 }, |
746 "gcsDataSink": { | 957 "gcsDataSink": { |
747 "$ref": "GcsData", | 958 "$ref": "GcsData", |
748 "description": "A Google Cloud Storage data sink." | 959 "description": "A Google Cloud Storage data sink." |
749 }, | 960 }, |
750 "gcsDataSource": { | 961 "gcsDataSource": { |
751 "$ref": "GcsData", | 962 "$ref": "GcsData", |
752 "description": "A Google Cloud Storage data source." | 963 "description": "A Google Cloud Storage data source." |
| 964 }, |
| 965 "transferOptions": { |
| 966 "$ref": "TransferOptions", |
| 967 "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." |
753 } | 968 } |
754 }, | 969 }, |
755 "type": "object" | 970 "type": "object" |
756 }, | |
757 "TransferOptions": { | |
758 "description": "TransferOptions uses three boolean parameters to def
ine the actions\nto be performed on objects in a transfer.", | |
759 "id": "TransferOptions", | |
760 "properties": { | |
761 "overwriteObjectsAlreadyExistingInSink": { | |
762 "description": "Whether overwriting objects that already exi
st in the sink is allowed.", | |
763 "type": "boolean" | |
764 }, | |
765 "deleteObjectsFromSourceAfterTransfer": { | |
766 "description": "Whether objects should be deleted from the s
ource after they are\ntransferred to the sink.", | |
767 "type": "boolean" | |
768 }, | |
769 "deleteObjectsUniqueInSink": { | |
770 "description": "Whether objects that exist only in the sink
should be deleted.", | |
771 "type": "boolean" | |
772 } | |
773 }, | |
774 "type": "object" | |
775 }, | 971 }, |
776 "Status": { | 972 "Status": { |
777 "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.", | 973 "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.", |
778 "id": "Status", | 974 "id": "Status", |
779 "properties": { | 975 "properties": { |
| 976 "code": { |
| 977 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 978 "format": "int32", |
| 979 "type": "integer" |
| 980 }, |
| 981 "message": { |
| 982 "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.", |
| 983 "type": "string" |
| 984 }, |
780 "details": { | 985 "details": { |
781 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", | 986 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", |
782 "items": { | 987 "items": { |
783 "additionalProperties": { | 988 "additionalProperties": { |
784 "description": "Properties of the object. Contains f
ield @type with type URL.", | 989 "description": "Properties of the object. Contains f
ield @type with type URL.", |
785 "type": "any" | 990 "type": "any" |
786 }, | 991 }, |
787 "type": "object" | 992 "type": "object" |
788 }, | 993 }, |
789 "type": "array" | 994 "type": "array" |
790 }, | |
791 "code": { | |
792 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
793 "format": "int32", | |
794 "type": "integer" | |
795 }, | |
796 "message": { | |
797 "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.", | |
798 "type": "string" | |
799 } | 995 } |
800 }, | 996 }, |
801 "type": "object" | 997 "type": "object" |
802 }, | 998 }, |
803 "ResumeTransferOperationRequest": { | 999 "ResumeTransferOperationRequest": { |
804 "description": "Request passed to ResumeTransferOperation.", | 1000 "description": "Request passed to ResumeTransferOperation.", |
805 "id": "ResumeTransferOperationRequest", | 1001 "id": "ResumeTransferOperationRequest", |
806 "properties": {}, | 1002 "properties": {}, |
807 "type": "object" | 1003 "type": "object" |
808 }, | 1004 }, |
809 "ListOperationsResponse": { | 1005 "ListOperationsResponse": { |
810 "description": "The response message for Operations.ListOperations."
, | 1006 "description": "The response message for Operations.ListOperations."
, |
811 "id": "ListOperationsResponse", | 1007 "id": "ListOperationsResponse", |
812 "properties": { | 1008 "properties": { |
813 "nextPageToken": { | |
814 "description": "The standard List next-page token.", | |
815 "type": "string" | |
816 }, | |
817 "operations": { | 1009 "operations": { |
818 "description": "A list of operations that matches the specif
ied filter in the request.", | 1010 "description": "A list of operations that matches the specif
ied filter in the request.", |
819 "items": { | 1011 "items": { |
820 "$ref": "Operation" | 1012 "$ref": "Operation" |
821 }, | 1013 }, |
822 "type": "array" | 1014 "type": "array" |
| 1015 }, |
| 1016 "nextPageToken": { |
| 1017 "description": "The standard List next-page token.", |
| 1018 "type": "string" |
823 } | 1019 } |
824 }, | 1020 }, |
825 "type": "object" | 1021 "type": "object" |
826 }, | 1022 }, |
827 "GoogleServiceAccount": { | 1023 "GoogleServiceAccount": { |
828 "description": "Google service account", | 1024 "description": "Google service account", |
829 "id": "GoogleServiceAccount", | 1025 "id": "GoogleServiceAccount", |
830 "properties": { | 1026 "properties": { |
831 "accountEmail": { | 1027 "accountEmail": { |
832 "description": "Required.", | 1028 "description": "Required.", |
833 "type": "string" | 1029 "type": "string" |
834 } | 1030 } |
835 }, | 1031 }, |
836 "type": "object" | 1032 "type": "object" |
837 }, | 1033 }, |
838 "TimeOfDay": { | 1034 "TimeOfDay": { |
839 "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
`.", | 1035 "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
`.", |
840 "id": "TimeOfDay", | 1036 "id": "TimeOfDay", |
841 "properties": { | 1037 "properties": { |
| 1038 "hours": { |
| 1039 "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.", |
| 1040 "format": "int32", |
| 1041 "type": "integer" |
| 1042 }, |
842 "nanos": { | 1043 "nanos": { |
843 "description": "Fractions of seconds in nanoseconds. Must be
from 0 to 999,999,999.", | 1044 "description": "Fractions of seconds in nanoseconds. Must be
from 0 to 999,999,999.", |
844 "format": "int32", | 1045 "format": "int32", |
845 "type": "integer" | 1046 "type": "integer" |
846 }, | 1047 }, |
847 "seconds": { | 1048 "seconds": { |
848 "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.", | 1049 "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.", |
849 "format": "int32", | 1050 "format": "int32", |
850 "type": "integer" | 1051 "type": "integer" |
851 }, | 1052 }, |
852 "minutes": { | 1053 "minutes": { |
853 "description": "Minutes of hour of day. Must be from 0 to 59
.", | 1054 "description": "Minutes of hour of day. Must be from 0 to 59
.", |
854 "format": "int32", | 1055 "format": "int32", |
855 "type": "integer" | 1056 "type": "integer" |
856 }, | |
857 "hours": { | |
858 "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.", | |
859 "format": "int32", | |
860 "type": "integer" | |
861 } | 1057 } |
862 }, | 1058 }, |
863 "type": "object" | 1059 "type": "object" |
864 }, | |
865 "ErrorLogEntry": { | |
866 "description": "An entry describing an error that has occurred.", | |
867 "id": "ErrorLogEntry", | |
868 "properties": { | |
869 "url": { | |
870 "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.", | |
871 "type": "string" | |
872 }, | |
873 "errorDetails": { | |
874 "description": "A list of messages that carry the error deta
ils.", | |
875 "items": { | |
876 "type": "string" | |
877 }, | |
878 "type": "array" | |
879 } | |
880 }, | |
881 "type": "object" | |
882 }, | |
883 "TransferJob": { | |
884 "description": "This resource represents the configuration of a tran
sfer job that runs\nperiodically.", | |
885 "id": "TransferJob", | |
886 "properties": { | |
887 "status": { | |
888 "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.", | |
889 "enum": [ | |
890 "STATUS_UNSPECIFIED", | |
891 "ENABLED", | |
892 "DISABLED", | |
893 "DELETED" | |
894 ], | |
895 "enumDescriptions": [ | |
896 "Zero is an illegal value.", | |
897 "New transfers will be performed based on the schedule."
, | |
898 "New transfers will not be scheduled.", | |
899 "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." | |
900 ], | |
901 "type": "string" | |
902 }, | |
903 "schedule": { | |
904 "$ref": "Schedule", | |
905 "description": "Schedule specification.\nRequired." | |
906 }, | |
907 "deletionTime": { | |
908 "description": "This field cannot be changed by user request
s.", | |
909 "format": "google-datetime", | |
910 "type": "string" | |
911 }, | |
912 "name": { | |
913 "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.", | |
914 "type": "string" | |
915 }, | |
916 "projectId": { | |
917 "description": "The ID of the Google Cloud Platform Console
project that owns the job.\nRequired.", | |
918 "type": "string" | |
919 }, | |
920 "lastModificationTime": { | |
921 "description": "This field cannot be changed by user request
s.", | |
922 "format": "google-datetime", | |
923 "type": "string" | |
924 }, | |
925 "description": { | |
926 "description": "A description provided by the user for the j
ob. Its max length is 1024\nbytes when Unicode-encoded.", | |
927 "type": "string" | |
928 }, | |
929 "transferSpec": { | |
930 "$ref": "TransferSpec", | |
931 "description": "Transfer specification.\nRequired." | |
932 }, | |
933 "creationTime": { | |
934 "description": "This field cannot be changed by user request
s.", | |
935 "format": "google-datetime", | |
936 "type": "string" | |
937 } | |
938 }, | |
939 "type": "object" | |
940 }, | |
941 "Schedule": { | |
942 "description": "Transfers can be scheduled to recur or to run just o
nce.", | |
943 "id": "Schedule", | |
944 "properties": { | |
945 "scheduleEndDate": { | |
946 "$ref": "Date", | |
947 "description": "The last day the recurring transfer will be
run. If `scheduleEndDate`\nis the same as `scheduleStartDate`, the transfer will
be executed only\nonce." | |
948 }, | |
949 "startTimeOfDay": { | |
950 "$ref": "TimeOfDay", | |
951 "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." | |
952 }, | |
953 "scheduleStartDate": { | |
954 "$ref": "Date", | |
955 "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." | |
956 } | |
957 }, | |
958 "type": "object" | |
959 }, | |
960 "Date": { | |
961 "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`.", | |
962 "id": "Date", | |
963 "properties": { | |
964 "year": { | |
965 "description": "Year of date. Must be from 1 to 9999, or 0 i
f specifying a date without\na year.", | |
966 "format": "int32", | |
967 "type": "integer" | |
968 }, | |
969 "day": { | |
970 "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.", | |
971 "format": "int32", | |
972 "type": "integer" | |
973 }, | |
974 "month": { | |
975 "description": "Month of year. Must be from 1 to 12.", | |
976 "format": "int32", | |
977 "type": "integer" | |
978 } | |
979 }, | |
980 "type": "object" | |
981 }, | |
982 "TransferOperation": { | |
983 "description": "A description of the execution of a transfer.", | |
984 "id": "TransferOperation", | |
985 "properties": { | |
986 "counters": { | |
987 "$ref": "TransferCounters", | |
988 "description": "Information about the progress of the transf
er operation." | |
989 }, | |
990 "status": { | |
991 "description": "Status of the transfer operation.", | |
992 "enum": [ | |
993 "STATUS_UNSPECIFIED", | |
994 "IN_PROGRESS", | |
995 "PAUSED", | |
996 "SUCCESS", | |
997 "FAILED", | |
998 "ABORTED" | |
999 ], | |
1000 "enumDescriptions": [ | |
1001 "Zero is an illegal value.", | |
1002 "In progress.", | |
1003 "Paused.", | |
1004 "Completed successfully.", | |
1005 "Terminated due to an unrecoverable failure.", | |
1006 "Aborted by the user." | |
1007 ], | |
1008 "type": "string" | |
1009 }, | |
1010 "errorBreakdowns": { | |
1011 "description": "Summarizes errors encountered with sample er
ror log entries.", | |
1012 "items": { | |
1013 "$ref": "ErrorSummary" | |
1014 }, | |
1015 "type": "array" | |
1016 }, | |
1017 "name": { | |
1018 "description": "A globally unique ID assigned by the system.
", | |
1019 "type": "string" | |
1020 }, | |
1021 "projectId": { | |
1022 "description": "The ID of the Google Cloud Platform Console
project that owns the operation.\nRequired.", | |
1023 "type": "string" | |
1024 }, | |
1025 "endTime": { | |
1026 "description": "End time of this transfer execution.", | |
1027 "format": "google-datetime", | |
1028 "type": "string" | |
1029 }, | |
1030 "startTime": { | |
1031 "description": "Start time of this transfer execution.", | |
1032 "format": "google-datetime", | |
1033 "type": "string" | |
1034 }, | |
1035 "transferJobName": { | |
1036 "description": "The name of the transfer job that triggers t
his transfer operation.", | |
1037 "type": "string" | |
1038 }, | |
1039 "transferSpec": { | |
1040 "$ref": "TransferSpec", | |
1041 "description": "Transfer specification.\nRequired." | |
1042 } | |
1043 }, | |
1044 "type": "object" | |
1045 }, | |
1046 "AwsS3Data": { | |
1047 "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.", | |
1048 "id": "AwsS3Data", | |
1049 "properties": { | |
1050 "bucketName": { | |
1051 "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.", | |
1052 "type": "string" | |
1053 }, | |
1054 "awsAccessKey": { | |
1055 "$ref": "AwsAccessKey", | |
1056 "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." | |
1057 } | |
1058 }, | |
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 |