OLD | NEW |
(Empty) | |
| 1 |
| 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 3 <html><head><title>Python: module telemetry.page.cloud_storage</title> |
| 4 </head><body bgcolor="#f0f0f8"> |
| 5 |
| 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
| 7 <tr bgcolor="#7799ee"> |
| 8 <td valign=bottom> <br> |
| 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.page.html"><font color="#ffffff">page</font></a>.cloud_storage</strong></big></
big></font></td |
| 10 ><td align=right valign=bottom |
| 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/page/cloud_storage.py">telemetry/page/cloud_storage.py</a></font><
/td></tr></table> |
| 12 <p><tt># Copyright (c) 2013 The Chromium Autho
rs. All rights reserved.<br> |
| 13 # Use of this source code is governed by
a BSD-style license that can be<br> |
| 14 # found in the LICENSE file.</tt></p> |
| 15 <p> |
| 16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 17 <tr bgcolor="#aa55cc"> |
| 18 <td colspan=3 valign=bottom> <br> |
| 19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> |
| 20 |
| 21 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> |
| 22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="ConfigParser.html">ConfigParser</a><br> |
| 23 <a href="oauth2client.client.html">oauth2client.client</a><br> |
| 24 <a href="httplib2.html">httplib2</a><br> |
| 25 </td><td width="25%" valign=top><a href="json.html">json</a><br> |
| 26 <a href="oauth2client.file.html">oauth2client.file</a><br> |
| 27 <a href="oauth2client.html">oauth2client</a><br> |
| 28 </td><td width="25%" valign=top><a href="os.html">os</a><br> |
| 29 <a href="sys.html">sys</a><br> |
| 30 <a href="oauth2client.tools.html">oauth2client.tools</a><br> |
| 31 </td><td width="25%" valign=top><a href="telemetry.core.util.html">telemetry.cor
e.util</a><br> |
| 32 </td></tr></table></td></tr></table><p> |
| 33 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 34 <tr bgcolor="#ee77aa"> |
| 35 <td colspan=3 valign=bottom> <br> |
| 36 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> |
| 37 |
| 38 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> |
| 39 <td width="100%"><dl> |
| 40 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> |
| 41 </font></dt><dd> |
| 42 <dl> |
| 43 <dt><font face="helvetica, arial"><a href="telemetry.page.cloud_storage.html#Clo
udStorage">CloudStorage</a> |
| 44 </font></dt></dl> |
| 45 </dd> |
| 46 <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions
.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException<
/a>) |
| 47 </font></dt><dd> |
| 48 <dl> |
| 49 <dt><font face="helvetica, arial"><a href="telemetry.page.cloud_storage.html#Clo
udStorageError">CloudStorageError</a> |
| 50 </font></dt></dl> |
| 51 </dd> |
| 52 </dl> |
| 53 <p> |
| 54 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 55 <tr bgcolor="#ffc8d8"> |
| 56 <td colspan=3 valign=bottom> <br> |
| 57 <font color="#000000" face="helvetica, arial"><a name="CloudStorage">class <stro
ng>CloudStorage</strong></a>(<a href="__builtin__.html#object">__builtin__.objec
t</a>)</font></td></tr> |
| 58 |
| 59 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 60 <td colspan=2><tt>Simple wrapper for OAuth2 and Cloud&n
bsp;Storage commands.<br> </tt></td></tr> |
| 61 <tr><td> </td> |
| 62 <td width="100%">Methods defined here:<br> |
| 63 <dl><dt><a name="CloudStorage-Delete"><strong>Delete</strong></a>(self, name)</d
t></dl> |
| 64 |
| 65 <dl><dt><a name="CloudStorage-Get"><strong>Get</strong></a>(self, name, file_pat
h)</dt></dl> |
| 66 |
| 67 <dl><dt><a name="CloudStorage-Insert"><strong>Insert</strong></a>(self, name, fi
le_path)</dt></dl> |
| 68 |
| 69 <dl><dt><a name="CloudStorage-List"><strong>List</strong></a>(self)</dt></dl> |
| 70 |
| 71 <dl><dt><a name="CloudStorage-__init__"><strong>__init__</strong></a>(self, buck
et<font color="#909090">='chromium-wpr'</font>)</dt></dl> |
| 72 |
| 73 <hr> |
| 74 Data descriptors defined here:<br> |
| 75 <dl><dt><strong>__dict__</strong></dt> |
| 76 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
| 77 </dl> |
| 78 <dl><dt><strong>__weakref__</strong></dt> |
| 79 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
| 80 </dl> |
| 81 </td></tr></table> <p> |
| 82 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 83 <tr bgcolor="#ffc8d8"> |
| 84 <td colspan=3 valign=bottom> <br> |
| 85 <font color="#000000" face="helvetica, arial"><a name="CloudStorageError">class
<strong>CloudStorageError</strong></a>(<a href="exceptions.html#Exception">excep
tions.Exception</a>)</font></td></tr> |
| 86 |
| 87 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
| 88 <td width="100%"><dl><dt>Method resolution order:</dt> |
| 89 <dd><a href="telemetry.page.cloud_storage.html#CloudStorageError">CloudStorageEr
ror</a></dd> |
| 90 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> |
| 91 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> |
| 92 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 93 </dl> |
| 94 <hr> |
| 95 Methods defined here:<br> |
| 96 <dl><dt><a name="CloudStorageError-__init__"><strong>__init__</strong></a>(self,
content)</dt></dl> |
| 97 |
| 98 <hr> |
| 99 Data descriptors defined here:<br> |
| 100 <dl><dt><strong>__weakref__</strong></dt> |
| 101 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
| 102 </dl> |
| 103 <hr> |
| 104 Data and other attributes inherited from <a href="exceptions.html#Exception">exc
eptions.Exception</a>:<br> |
| 105 <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object>
;<dd><tt>T.<a href="#CloudStorageError-__new__">__new__</a>(S, ...) -&
gt; a new <a href="__builtin__.html#object">object</a> with&
nbsp;type S, a subtype of T</tt></dl> |
| 106 |
| 107 <hr> |
| 108 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseEx
ception</a>:<br> |
| 109 <dl><dt><a name="CloudStorageError-__delattr__"><strong>__delattr__</strong></a>
(...)</dt><dd><tt>x.<a href="#CloudStorageError-__delattr__">__delattr__</a>('na
me') <==> del x.name</tt></dd></dl> |
| 110 |
| 111 <dl><dt><a name="CloudStorageError-__getattribute__"><strong>__getattribute__</s
trong></a>(...)</dt><dd><tt>x.<a href="#CloudStorageError-__getattribute__">__ge
tattribute__</a>('name') <==> x.name</tt></dd></dl> |
| 112 |
| 113 <dl><dt><a name="CloudStorageError-__getitem__"><strong>__getitem__</strong></a>
(...)</dt><dd><tt>x.<a href="#CloudStorageError-__getitem__">__getitem__</a>(y)&
nbsp;<==> x[y]</tt></dd></dl> |
| 114 |
| 115 <dl><dt><a name="CloudStorageError-__getslice__"><strong>__getslice__</strong></
a>(...)</dt><dd><tt>x.<a href="#CloudStorageError-__getslice__">__getslice__</a>
(i, j) <==> x[i:j]<br> |
| 116 <br> |
| 117 Use of negative indices is not supported.</tt></dd
></dl> |
| 118 |
| 119 <dl><dt><a name="CloudStorageError-__reduce__"><strong>__reduce__</strong></a>(.
..)</dt></dl> |
| 120 |
| 121 <dl><dt><a name="CloudStorageError-__repr__"><strong>__repr__</strong></a>(...)<
/dt><dd><tt>x.<a href="#CloudStorageError-__repr__">__repr__</a>() <==&g
t; repr(x)</tt></dd></dl> |
| 122 |
| 123 <dl><dt><a name="CloudStorageError-__setattr__"><strong>__setattr__</strong></a>
(...)</dt><dd><tt>x.<a href="#CloudStorageError-__setattr__">__setattr__</a>('na
me', value) <==> x.name = value</tt></dd></dl> |
| 124 |
| 125 <dl><dt><a name="CloudStorageError-__setstate__"><strong>__setstate__</strong></
a>(...)</dt></dl> |
| 126 |
| 127 <dl><dt><a name="CloudStorageError-__str__"><strong>__str__</strong></a>(...)</d
t><dd><tt>x.<a href="#CloudStorageError-__str__">__str__</a>() <==>&n
bsp;str(x)</tt></dd></dl> |
| 128 |
| 129 <dl><dt><a name="CloudStorageError-__unicode__"><strong>__unicode__</strong></a>
(...)</dt></dl> |
| 130 |
| 131 <hr> |
| 132 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptio
ns.BaseException</a>:<br> |
| 133 <dl><dt><strong>__dict__</strong></dt> |
| 134 </dl> |
| 135 <dl><dt><strong>args</strong></dt> |
| 136 </dl> |
| 137 <dl><dt><strong>message</strong></dt> |
| 138 </dl> |
| 139 </td></tr></table></td></tr></table><p> |
| 140 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 141 <tr bgcolor="#55aa55"> |
| 142 <td colspan=3 valign=bottom> <br> |
| 143 <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></
font></td></tr> |
| 144 |
| 145 <tr><td bgcolor="#55aa55"><tt> </tt></td><td>
</td> |
| 146 <td width="100%"><strong>CLOUD_STORAGE_BASE_URL</strong> = 'https://www.googleap
is.com/storage/v1beta2'<br> |
| 147 <strong>CLOUD_STORAGE_INSERT_URL</strong> = 'https://www.googleapis.com/upload/s
torage/v1beta2'<br> |
| 148 <strong>GSUTIL_CLIENT_ID</strong> = '909320924072.apps.googleusercontent.com'<br
> |
| 149 <strong>GSUTIL_CLIENT_NOTSOSECRET</strong> = 'p3RlpR10xMFh9ZXBS/ZNLYUu'<br> |
| 150 <strong>OOB_REDIRECT_URI</strong> = 'urn:ietf:wg:oauth:2.0:oob'<br> |
| 151 <strong>READ_WRITE_SCOPE</strong> = 'https://www.googleapis.com/auth/devstorage.
read_write'</td></tr></table> |
| 152 </body></html> |
OLD | NEW |