Joe Gregorio | 351b149 | 2011-05-08 23:32:46 -0700 | [diff] [blame^] | 1 | |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 3 | <html><head><title>Python: class Resource</title> |
| 4 | </head><body bgcolor="#f0f0f8"> |
| 5 | <p> |
| 6 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 7 | <tr bgcolor="#ffc8d8"> |
| 8 | <td colspan=3 valign=bottom> <br> |
| 9 | <font color="#000000" face="helvetica, arial"><a name="Resource">class <strong>Resource</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> |
| 10 | |
| 11 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 12 | <td colspan=2><tt>A class for interacting with a resource.<br> </tt></td></tr> |
| 13 | <tr><td> </td> |
| 14 | <td width="100%">Methods defined here:<br> |
| 15 | <dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl> |
| 16 | |
| 17 | <dl><dt><a name="Resource-getRest"><strong>getRest</strong></a> = method(self, **kwargs)</dt><dd><tt>Retrieve the description of a particular version of an api.<br> |
| 18 | <br> |
| 19 | Args:<br> |
| 20 | api: string, The name of the API. (required)<br> |
| 21 | version: string, The version of the API. (required)</tt></dd></dl> |
| 22 | |
| 23 | <dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>Retrieve the list of APIs supported at this endpoint.<br> |
| 24 | <br> |
| 25 | Args:<br> |
| 26 | name: string, Only include APIs with the given name.<br> |
| 27 | preferred: boolean, Return only the preferred version of an API.<br> |
| 28 | label: string, Only include APIs with a matching label, such as 'graduated' or 'labs'.<br> |
| 29 | Allowed values<br> |
| 30 | deprecated - APIs that have been deprecated.<br> |
| 31 | graduated - Supported APIs that have graduated from labs.<br> |
| 32 | labs - APIs that are experimental</tt></dd></dl> |
| 33 | |
| 34 | <hr> |
| 35 | Data descriptors defined here:<br> |
| 36 | <dl><dt><strong>__dict__</strong></dt> |
| 37 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 38 | </dl> |
| 39 | <dl><dt><strong>__weakref__</strong></dt> |
| 40 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 41 | </dl> |
| 42 | </td></tr></table> |
| 43 | </body></html> |