Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: tools/telemetry/docs/telemetry.page.cloud_storage.html

Issue 17654003: [telemetry] Add Google Cloud Storage utilities. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor cleanup. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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>&nbsp;<br>
9 <font color="#ffffff" face="helvetica, arial">&nbsp;<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>#&nbsp;Copyright&nbsp;(c)&nbsp;2013&nbsp;The&nbsp;Chromium&nbsp;Autho rs.&nbsp;All&nbsp;rights&nbsp;reserved.<br>
13 #&nbsp;Use&nbsp;of&nbsp;this&nbsp;source&nbsp;code&nbsp;is&nbsp;governed&nbsp;by &nbsp;a&nbsp;BSD-style&nbsp;license&nbsp;that&nbsp;can&nbsp;be<br>
14 #&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;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>&nbsp;<br>
19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big ></font></td></tr>
20
21 <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</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>&nbsp;<br>
36 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big ></font></td></tr>
37
38 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</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>&nbsp;<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>&nbsp;&nbsp;&nbsp;</tt></td>
60 <td colspan=2><tt>Simple&nbsp;wrapper&nbsp;for&nbsp;OAuth2&nbsp;and&nbsp;Cloud&n bsp;Storage&nbsp;commands.<br>&nbsp;</tt></td></tr>
61 <tr><td>&nbsp;</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&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)< /tt></dd>
77 </dl>
78 <dl><dt><strong>__weakref__</strong></dt>
79 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;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>&nbsp;<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>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</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&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;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> = &lt;built-in method __new__ of type object&gt ;<dd><tt>T.<a href="#CloudStorageError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-& gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with& nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;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')&nbsp;&lt;==&gt;&nbsp;del&nbsp;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')&nbsp;&lt;==&gt;&nbsp;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;&lt;==&gt;&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,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
116 &nbsp;<br>
117 Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;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>()&nbsp;&lt;==&g t;&nbsp;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',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;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>()&nbsp;&lt;==&gt;&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>&nbsp;<br>
143 <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></ font></td></tr>
144
145 <tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698