Home
last modified time | relevance | path

Searched refs:MediaFileUpload (Results 1 – 8 of 8) sorted by relevance

/external/python/google-api-python-client/docs/
Dmedia.md20 …gleapiclient.http.MediaFileUpload](https://googleapis.github.io/google-api-python-client/docs/epy/…
23 media = MediaFileUpload('pig.png', mimetype='image/png')
31 To use resumable media you must use a MediaFileUpload object and flag it as a resumable upload. You…
34 media = MediaFileUpload('pig.png', mimetype='image/png', resumable=True)
47 media = MediaFileUpload('pig.png', mimetype='image/png', chunksize=1048576, resumable=True)
74 …e source for the [MediaFileUpload](https://googleapis.github.io/google-api-python-client/docs/epy/…
/external/python/google-api-python-client/samples/maps_engine/
Dmaps_engine.py51 from googleapiclient.http import MediaFileUpload
126 media_body = MediaFileUpload(shapefile, mimetype="application/octet-stream")
/external/python/google-api-python-client/tests/
Dtest_http.py54 from googleapiclient.http import MediaFileUpload
220 upload = MediaFileUpload(datafile("test_close"), mimetype="text/plain")
223 upload = MediaFileUpload(datafile("test_close"), mimetype="text/plain")
229 upload = MediaFileUpload(datafile("small.png"))
232 upload = MediaFileUpload(datafile("empty"))
236 upload = MediaFileUpload(datafile("small.png"), chunksize=500, resumable=True)
255 MediaFileUpload,
274 media_upload = MediaFileUpload(
1245 upload = MediaFileUpload(datafile("small.png"), chunksize=500, resumable=True)
Dtest_discovery.py72 from googleapiclient.http import MediaFileUpload
1045 media_upload = MediaFileUpload(datafile("small.png"), resumable=True)
1113 media_upload = MediaFileUpload(datafile("small.png"), resumable=True)
1172 media_upload = MediaFileUpload(datafile("small.png"), resumable=True)
1211 media_upload = MediaFileUpload(datafile("small.png"), resumable=True)
1229 media_upload = MediaFileUpload(datafile("small.png"), resumable=True)
1571 media_upload = MediaFileUpload(datafile("empty"), resumable=True)
/external/python/google-api-python-client/docs/epy/
Dapi-objects.txt215 googleapiclient.http.MediaFileUpload googleapiclient.http.MediaFileUpload-class.html
216 googleapiclient.http.MediaFileUpload.from_json googleapiclient.http.MediaFileUpload-class.html#from…
218 googleapiclient.http.MediaFileUpload.to_json googleapiclient.http.MediaFileUpload-class.html#to_json
220 googleapiclient.http.MediaFileUpload.__init__ googleapiclient.http.MediaFileUpload-class.html#__ini…
/external/python/google-api-python-client/googleapiclient/
Dhttp.py525 class MediaFileUpload(MediaIoBaseUpload): class
573 super(MediaFileUpload, self).__init__(
592 return MediaFileUpload(
Ddiscovery.py64 from googleapiclient.http import MediaFileUpload
836 media_upload = MediaFileUpload(media_filename, mimetype=media_mime_type)
/external/python/google-api-python-client/
DCHANGELOG51 …- Make http.MediaFileUpload close its file descriptor ([#600](https://github.com/googleapis/google…