Home
last modified time | relevance | path

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

/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/docs/epy/
Dapi-objects.txt194 googleapiclient.http.MediaFileUpload googleapiclient.http.MediaFileUpload-class.html
195 googleapiclient.http.MediaFileUpload.from_json googleapiclient.http.MediaFileUpload-class.html#from…
197 googleapiclient.http.MediaFileUpload.to_json googleapiclient.http.MediaFileUpload-class.html#to_json
199 googleapiclient.http.MediaFileUpload.__init__ googleapiclient.http.MediaFileUpload-class.html#__ini…
/external/python/google-api-python-client/tests/
Dtest_http.py53 from googleapiclient.http import MediaFileUpload
213 upload = MediaFileUpload(datafile('small.png'))
216 upload = MediaFileUpload(datafile('empty'))
220 upload = MediaFileUpload(
238 self.assertRaises(InvalidChunkSizeError, MediaFileUpload,
253 media_upload = MediaFileUpload(
1213 upload = MediaFileUpload(
Dtest_discovery.py72 from googleapiclient.http import MediaFileUpload
949 media_upload = MediaFileUpload(datafile('small.png'), resumable=True)
1009 media_upload = MediaFileUpload(datafile('small.png'), resumable=True)
1057 media_upload = MediaFileUpload(datafile('small.png'), resumable=True)
1083 media_upload = MediaFileUpload(datafile('small.png'), resumable=True)
1102 media_upload = MediaFileUpload(datafile('small.png'), resumable=True)
1426 media_upload = MediaFileUpload(datafile('empty'), resumable=True)
/external/python/google-api-python-client/googleapiclient/
Dhttp.py514 class MediaFileUpload(MediaIoBaseUpload): class
561 super(MediaFileUpload, self).__init__(fd, mimetype, chunksize=chunksize,
576 return MediaFileUpload(d['_filename'], mimetype=d['_mimetype'],
Ddiscovery.py69 from googleapiclient.http import MediaFileUpload
815 media_upload = MediaFileUpload(media_filename,