Title: Create new MediaUpload sub-class for Google Cloud Storage · Issue #335 · ryanpraski/google-api-python-client · GitHub
Open Graph Title: Create new MediaUpload sub-class for Google Cloud Storage · Issue #335 · ryanpraski/google-api-python-client
X Title: Create new MediaUpload sub-class for Google Cloud Storage · Issue #335 · ryanpraski/google-api-python-client
Description: I am trying to find the most efficient way to upload a video file > 1GB to YouTube using my Google App Engine cloud server. In looking at the MediaUpload documentation [1], it says that you might need to extend MediaUpload for your resum...
Open Graph Description: I am trying to find the most efficient way to upload a video file > 1GB to YouTube using my Google App Engine cloud server. In looking at the MediaUpload documentation [1], it says that you might n...
X Description: I am trying to find the most efficient way to upload a video file > 1GB to YouTube using my Google App Engine cloud server. In looking at the MediaUpload documentation [1], it says that you migh...
Opengraph URL: https://github.com/ryanpraski/google-api-python-client/issues/335
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Create new MediaUpload sub-class for Google Cloud Storage","articleBody":"```\nI am trying to find the most efficient way to upload a video file \u003e 1GB to \nYouTube using my Google App Engine cloud server. In looking at the MediaUpload \ndocumentation [1], it says that you might need to extend MediaUpload for your \nresumable variation needed. I can't imagine I'm the only person who would like \nto take a file that is in a blobstore or GCS and send it out via MediaUpload \nwithout loading the whole entity into a string first and then using \nMediaIoBaseUpload. I'm going to try to write my own MediaGCSUpload sub-class, \nbut if someone has already done this and it could be included as a standard \nsub-class, I believe it would help out many other developers. The trick is to \nonly load each chunk into memory for sending instead of loading the whole \nentity. I've upgraded my GAE instance to the largest available and still goes \nover the 1GB memory allocation.\n\n\n\n[1]: https://developers.google.com/api-client-library/python/guide/media_upload\n```\n\nOriginal issue reported on code.google.com by `ra...@appalope.com` on 10 Sep 2014 at 12:49\n","author":{"url":"https://github.com/GoogleCodeExporter","@type":"Person","name":"GoogleCodeExporter"},"datePublished":"2015-09-09T16:42:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/335/google-api-python-client/issues/335"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a57139ff-694b-3824-02b9-64b1e6c3e3f5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E5E4:13A543:B492D:E124E:6991333D |
| html-safe-nonce | aff76d375fabff309dab60efd26b0bad78784fd41edd7c87df0cf1538eaba1bc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUU0OjEzQTU0MzpCNDkyRDpFMTI0RTo2OTkxMzMzRCIsInZpc2l0b3JfaWQiOiI2OTI1MDM3NTc3MTM4NDE4NDkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 107c7978306723928eead006290f92089857e60d1755f930ec0959957b45fe3e |
| hovercard-subject-tag | issue:105636475 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ryanpraski/google-api-python-client/335/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f0e0857abf8bedc3687181a40215573ba275c92234972d6ce62b85c648d0a530/ryanpraski/google-api-python-client/issues/335 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f0e0857abf8bedc3687181a40215573ba275c92234972d6ce62b85c648d0a530/ryanpraski/google-api-python-client/issues/335 |
| og:image:alt | I am trying to find the most efficient way to upload a video file > 1GB to YouTube using my Google App Engine cloud server. In looking at the MediaUpload documentation [1], it says that you might n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GoogleCodeExporter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/ryanpraski/google-api-python-client git https://github.com/ryanpraski/google-api-python-client.git |
| octolytics-dimension-user_id | 2982734 |
| octolytics-dimension-user_login | ryanpraski |
| octolytics-dimension-repository_id | 42191160 |
| octolytics-dimension-repository_nwo | ryanpraski/google-api-python-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 42191160 |
| octolytics-dimension-repository_network_root_nwo | ryanpraski/google-api-python-client |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width