1 <?xml version="1.0" encoding="ascii"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3 "DTD/xhtml1-transitional.dtd"> 4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 5 <head> 6 <title>googleapiclient.http.MediaUploadProgress</title> 7 <link rel="stylesheet" href="epydoc.css" type="text/css" /> 8 <script type="text/javascript" src="epydoc.js"></script> 9 </head> 10 11 <body bgcolor="white" text="black" link="blue" vlink="#204080" 12 alink="#204080"> 13 <!-- ==================== NAVIGATION BAR ==================== --> 14 <table class="navbar" border="0" width="100%" cellpadding="0" 15 bgcolor="#a0c0ff" cellspacing="0"> 16 <tr valign="middle"> 17 <!-- Home link --> 18 <th> <a 19 href="googleapiclient-module.html">Home</a> </th> 20 21 <!-- Tree link --> 22 <th> <a 23 href="module-tree.html">Trees</a> </th> 24 25 <!-- Index link --> 26 <th> <a 27 href="identifier-index.html">Indices</a> </th> 28 29 <!-- Help link --> 30 <th> <a 31 href="help.html">Help</a> </th> 32 33 <th class="navbar" width="100%"></th> 34 </tr> 35 </table> 36 <table width="100%" cellpadding="0" cellspacing="0"> 37 <tr valign="top"> 38 <td width="100%"> 39 <span class="breadcrumbs"> 40 <a href="googleapiclient-module.html">Package googleapiclient</a> :: 41 <a href="googleapiclient.http-module.html">Module http</a> :: 42 Class MediaUploadProgress 43 </span> 44 </td> 45 <td> 46 <table cellpadding="0" cellspacing="0"> 47 <!-- hide/show private --> 48 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" 49 onclick="toggle_private();">hide private</a>]</span></td></tr> 50 <tr><td align="right"><span class="options" 51 >[<a href="frames.html" target="_top">frames</a 52 >] | <a href="googleapiclient.http.MediaUploadProgress-class.html" 53 target="_top">no frames</a>]</span></td></tr> 54 </table> 55 </td> 56 </tr> 57 </table> 58 <!-- ==================== CLASS DESCRIPTION ==================== --> 59 <h1 class="epydoc">Class MediaUploadProgress</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.http-pysrc.html#MediaUploadProgress">source code</a></span></p> 60 <center> 61 62 </center> 63 <hr /> 64 <pre class="literalblock"> 65 Status of a resumable upload. 66 67 </pre> 68 69 <!-- ==================== INSTANCE METHODS ==================== --> 70 <a name="section-InstanceMethods"></a> 71 <table class="summary" border="1" cellpadding="3" 72 cellspacing="0" width="100%" bgcolor="white"> 73 <tr bgcolor="#70b0f0" class="table-header"> 74 <td colspan="2" class="table-header"> 75 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 76 <tr valign="top"> 77 <td align="left"><span class="table-header">Instance Methods</span></td> 78 <td align="right" valign="top" 79 ><span class="options">[<a href="#section-InstanceMethods" 80 class="privatelink" onclick="toggle_private();" 81 >hide private</a>]</span></td> 82 </tr> 83 </table> 84 </td> 85 </tr> 86 <tr> 87 <td width="15%" align="right" valign="top" class="summary"> 88 <span class="summary-type"> </span> 89 </td><td class="summary"> 90 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 91 <tr> 92 <td><span class="summary-sig"><a href="googleapiclient.http.MediaUploadProgress-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, 93 <span class="summary-sig-arg">resumable_progress</span>, 94 <span class="summary-sig-arg">total_size</span>)</span><br /> 95 Constructor.</td> 96 <td align="right" valign="top"> 97 <span class="codelink"><a href="googleapiclient.http-pysrc.html#MediaUploadProgress.__init__">source code</a></span> 98 99 </td> 100 </tr> 101 </table> 102 103 </td> 104 </tr> 105 <tr> 106 <td width="15%" align="right" valign="top" class="summary"> 107 <span class="summary-type"> </span> 108 </td><td class="summary"> 109 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 110 <tr> 111 <td><span class="summary-sig"><a href="googleapiclient.http.MediaUploadProgress-class.html#progress" class="summary-sig-name">progress</a>(<span class="summary-sig-arg">self</span>)</span><br /> 112 Percent of upload completed, as a float.</td> 113 <td align="right" valign="top"> 114 <span class="codelink"><a href="googleapiclient.http-pysrc.html#MediaUploadProgress.progress">source code</a></span> 115 116 </td> 117 </tr> 118 </table> 119 120 </td> 121 </tr> 122 <tr> 123 <td colspan="2" class="summary"> 124 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 125 <code>__delattr__</code>, 126 <code>__format__</code>, 127 <code>__getattribute__</code>, 128 <code>__hash__</code>, 129 <code>__new__</code>, 130 <code>__reduce__</code>, 131 <code>__reduce_ex__</code>, 132 <code>__repr__</code>, 133 <code>__setattr__</code>, 134 <code>__sizeof__</code>, 135 <code>__str__</code>, 136 <code>__subclasshook__</code> 137 </p> 138 </td> 139 </tr> 140 </table> 141 <!-- ==================== PROPERTIES ==================== --> 142 <a name="section-Properties"></a> 143 <table class="summary" border="1" cellpadding="3" 144 cellspacing="0" width="100%" bgcolor="white"> 145 <tr bgcolor="#70b0f0" class="table-header"> 146 <td colspan="2" class="table-header"> 147 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 148 <tr valign="top"> 149 <td align="left"><span class="table-header">Properties</span></td> 150 <td align="right" valign="top" 151 ><span class="options">[<a href="#section-Properties" 152 class="privatelink" onclick="toggle_private();" 153 >hide private</a>]</span></td> 154 </tr> 155 </table> 156 </td> 157 </tr> 158 <tr> 159 <td colspan="2" class="summary"> 160 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 161 <code>__class__</code> 162 </p> 163 </td> 164 </tr> 165 </table> 166 <!-- ==================== METHOD DETAILS ==================== --> 167 <a name="section-MethodDetails"></a> 168 <table class="details" border="1" cellpadding="3" 169 cellspacing="0" width="100%" bgcolor="white"> 170 <tr bgcolor="#70b0f0" class="table-header"> 171 <td colspan="2" class="table-header"> 172 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 173 <tr valign="top"> 174 <td align="left"><span class="table-header">Method Details</span></td> 175 <td align="right" valign="top" 176 ><span class="options">[<a href="#section-MethodDetails" 177 class="privatelink" onclick="toggle_private();" 178 >hide private</a>]</span></td> 179 </tr> 180 </table> 181 </td> 182 </tr> 183 </table> 184 <a name="__init__"></a> 185 <div> 186 <table class="details" border="1" cellpadding="3" 187 cellspacing="0" width="100%" bgcolor="white"> 188 <tr><td> 189 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 190 <tr valign="top"><td> 191 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, 192 <span class="sig-arg">resumable_progress</span>, 193 <span class="sig-arg">total_size</span>)</span> 194 <br /><em class="fname">(Constructor)</em> 195 </h3> 196 </td><td align="right" valign="top" 197 ><span class="codelink"><a href="googleapiclient.http-pysrc.html#MediaUploadProgress.__init__">source code</a></span> 198 </td> 199 </tr></table> 200 201 <pre class="literalblock"> 202 Constructor. 203 204 Args: 205 resumable_progress: int, bytes sent so far. 206 total_size: int, total bytes in complete upload, or None if the total 207 upload size isn't known ahead of time. 208 209 </pre> 210 <dl class="fields"> 211 <dt>Overrides: 212 object.__init__ 213 </dt> 214 </dl> 215 </td></tr></table> 216 </div> 217 <a name="progress"></a> 218 <div> 219 <table class="details" border="1" cellpadding="3" 220 cellspacing="0" width="100%" bgcolor="white"> 221 <tr><td> 222 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 223 <tr valign="top"><td> 224 <h3 class="epydoc"><span class="sig"><span class="sig-name">progress</span>(<span class="sig-arg">self</span>)</span> 225 </h3> 226 </td><td align="right" valign="top" 227 ><span class="codelink"><a href="googleapiclient.http-pysrc.html#MediaUploadProgress.progress">source code</a></span> 228 </td> 229 </tr></table> 230 231 <pre class="literalblock"> 232 Percent of upload completed, as a float. 233 234 Returns: 235 the percentage complete as a float, returning 0.0 if the total size of 236 the upload is unknown. 237 238 </pre> 239 <dl class="fields"> 240 </dl> 241 </td></tr></table> 242 </div> 243 <br /> 244 <!-- ==================== NAVIGATION BAR ==================== --> 245 <table class="navbar" border="0" width="100%" cellpadding="0" 246 bgcolor="#a0c0ff" cellspacing="0"> 247 <tr valign="middle"> 248 <!-- Home link --> 249 <th> <a 250 href="googleapiclient-module.html">Home</a> </th> 251 252 <!-- Tree link --> 253 <th> <a 254 href="module-tree.html">Trees</a> </th> 255 256 <!-- Index link --> 257 <th> <a 258 href="identifier-index.html">Indices</a> </th> 259 260 <!-- Help link --> 261 <th> <a 262 href="help.html">Help</a> </th> 263 264 <th class="navbar" width="100%"></th> 265 </tr> 266 </table> 267 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> 268 <tr> 269 <td align="left" class="footer"> 270 Generated by Epydoc 3.0.1 on Mon Jun 5 13:38:40 2017 271 </td> 272 <td align="right" class="footer"> 273 <a target="mainFrame" href="http://epydoc.sourceforge.net" 274 >http://epydoc.sourceforge.net</a> 275 </td> 276 </tr> 277 </table> 278 279 <script type="text/javascript"> 280 <!-- 281 // Private objects are initially displayed (because if 282 // javascript is turned off then we want them to be 283 // visible); but by default, we want to hide them. So hide 284 // them unless we have a cookie that says to show them. 285 checkCookie(); 286 // --> 287 </script> 288 </body> 289 </html> 290