Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [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-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>Retrieves table data from a specified set of rows.<br> |
| 18 | <br> |
| 19 | Args:<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 20 | pp: string, A parameter<br> |
| 21 | trace: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 22 | projectId: string, Project ID of the table to read (required)<br> |
| 23 | maxResults: integer, Maximum number of results to return<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 24 | strict: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 25 | startIndex: string, Zero-based index of the starting row to read<br> |
| 26 | tableId: string, Table ID of the table to read (required)<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 27 | userip: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 28 | datasetId: string, Dataset ID of the table to read (required)<br> |
| 29 | <br> |
| 30 | Returns:<br> |
| 31 | An object of the form<br> |
| 32 | <br> |
| 33 | {<br> |
| 34 | "rows": [ # Rows of results.<br> |
| 35 | {<br> |
| 36 | "f": [ # Represents a single row in the result set, consisting of one or more fields.<br> |
| 37 | {<br> |
| 38 | "v": "A String", # Contains the field value in this row, as a string.<br> |
| 39 | },<br> |
| 40 | ],<br> |
| 41 | },<br> |
| 42 | ],<br> |
| 43 | "kind": "bigquery#tableDataList", # The resource type of the response.<br> |
| 44 | "etag": "A String", # A hash of this page of results.<br> |
| 45 | "totalRows": "A String", # The total number of rows in the complete table.<br> |
| 46 | }</tt></dd></dl> |
| 47 | |
| 48 | <hr> |
| 49 | Data descriptors defined here:<br> |
| 50 | <dl><dt><strong>__dict__</strong></dt> |
| 51 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 52 | </dl> |
| 53 | <dl><dt><strong>__weakref__</strong></dt> |
| 54 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 55 | </dl> |
| 56 | </td></tr></table> |
| 57 | </body></html> |