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-delete"><strong>delete</strong></a> = method(self, **kwargs)</dt><dd><tt>Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted.<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 delete (required)<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 23 | strict: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 24 | tableId: string, Table ID of the table to delete (required)<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 25 | userip: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 26 | datasetId: string, Dataset ID of the table to delete (required)</tt></dd></dl> |
| 27 | |
| 28 | <dl><dt><a name="Resource-get"><strong>get</strong></a> = method(self, **kwargs)</dt><dd><tt>Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table.<br> |
| 29 | <br> |
| 30 | Args:<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 31 | pp: string, A parameter<br> |
| 32 | trace: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 33 | projectId: string, Project ID of the requested table (required)<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 34 | strict: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 35 | tableId: string, Table ID of the requested table (required)<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 36 | userip: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 37 | datasetId: string, Dataset ID of the requested table (required)<br> |
| 38 | <br> |
| 39 | Returns:<br> |
| 40 | An object of the form<br> |
| 41 | <br> |
| 42 | {<br> |
| 43 | "kind": "bigquery#table", # [Output-only] The type of the resource.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 44 | "lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch.<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 45 | "description": "A String", # [Optional] A user-friendly description of this table.<br> |
| 46 | "creationTime": "A String", # [Output-only] The time when this table was created, in milliseconds since the epoch.<br> |
| 47 | "tableReference": { # [Required] Reference describing the ID of this table.<br> |
| 48 | "projectId": "A String", # [Required] ID of the project billed for storage of the table.<br> |
| 49 | "tableId": "A String", # [Required] ID of the table.<br> |
| 50 | "datasetId": "A String", # [Required] ID of the dataset containing the table.<br> |
| 51 | },<br> |
| 52 | "numRows": "A String", # [Output-only] The number of rows of data in this table.<br> |
| 53 | "numBytes": "A String", # [Output-only] The size of the table in bytes.<br> |
| 54 | "etag": "A String", # [Output-only] A hash of this resource.<br> |
| 55 | "friendlyName": "A String", # [Optional] A descriptive name for this table.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 56 | "expirationTime": "A String", # [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 57 | "id": "A String", # [Output-only] An opaque ID uniquely identifying the table.<br> |
| 58 | "selfLink": "A String", # [Output-only] A URL that can be used to access this resource again.<br> |
| 59 | "schema": { # [Optional] Describes the schema of this table.<br> |
| 60 | "fields": [ # Describes the fields in a table.<br> |
| 61 | {<br> |
| 62 | "fields": [ # [Optional] Describes nested fields when type is RECORD.<br> |
| 63 | # Object with schema name: TableFieldSchema<br> |
| 64 | ],<br> |
| 65 | "type": "A String", # [Required] Data type of the field.<br> |
| 66 | "mode": "A String", # [Optional] Mode of the field (whether or not it can be null. Default is NULLABLE.<br> |
| 67 | "name": "A String", # [Required] Name of the field.<br> |
| 68 | },<br> |
| 69 | ],<br> |
| 70 | },<br> |
| 71 | }</tt></dd></dl> |
| 72 | |
| 73 | <dl><dt><a name="Resource-insert"><strong>insert</strong></a> = method(self, **kwargs)</dt><dd><tt>Creates a new, empty table in the dataset.<br> |
| 74 | <br> |
| 75 | Args:<br> |
| 76 | body: object, The request body. (required)<br> |
| 77 | The object takes the form of:<br> |
| 78 | <br> |
| 79 | {<br> |
| 80 | "kind": "bigquery#table", # [Output-only] The type of the resource.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 81 | "lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch.<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 82 | "description": "A String", # [Optional] A user-friendly description of this table.<br> |
| 83 | "creationTime": "A String", # [Output-only] The time when this table was created, in milliseconds since the epoch.<br> |
| 84 | "tableReference": { # [Required] Reference describing the ID of this table.<br> |
| 85 | "projectId": "A String", # [Required] ID of the project billed for storage of the table.<br> |
| 86 | "tableId": "A String", # [Required] ID of the table.<br> |
| 87 | "datasetId": "A String", # [Required] ID of the dataset containing the table.<br> |
| 88 | },<br> |
| 89 | "numRows": "A String", # [Output-only] The number of rows of data in this table.<br> |
| 90 | "numBytes": "A String", # [Output-only] The size of the table in bytes.<br> |
| 91 | "etag": "A String", # [Output-only] A hash of this resource.<br> |
| 92 | "friendlyName": "A String", # [Optional] A descriptive name for this table.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 93 | "expirationTime": "A String", # [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 94 | "id": "A String", # [Output-only] An opaque ID uniquely identifying the table.<br> |
| 95 | "selfLink": "A String", # [Output-only] A URL that can be used to access this resource again.<br> |
| 96 | "schema": { # [Optional] Describes the schema of this table.<br> |
| 97 | "fields": [ # Describes the fields in a table.<br> |
| 98 | {<br> |
| 99 | "fields": [ # [Optional] Describes nested fields when type is RECORD.<br> |
| 100 | # Object with schema name: TableFieldSchema<br> |
| 101 | ],<br> |
| 102 | "type": "A String", # [Required] Data type of the field.<br> |
| 103 | "mode": "A String", # [Optional] Mode of the field (whether or not it can be null. Default is NULLABLE.<br> |
| 104 | "name": "A String", # [Required] Name of the field.<br> |
| 105 | },<br> |
| 106 | ],<br> |
| 107 | },<br> |
| 108 | }<br> |
| 109 | <br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 110 | pp: string, A parameter<br> |
| 111 | trace: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 112 | projectId: string, Project ID of the new table (required)<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 113 | strict: string, A parameter<br> |
| 114 | userip: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 115 | datasetId: string, Dataset ID of the new table (required)<br> |
| 116 | <br> |
| 117 | Returns:<br> |
| 118 | An object of the form<br> |
| 119 | <br> |
| 120 | {<br> |
| 121 | "kind": "bigquery#table", # [Output-only] The type of the resource.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 122 | "lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch.<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 123 | "description": "A String", # [Optional] A user-friendly description of this table.<br> |
| 124 | "creationTime": "A String", # [Output-only] The time when this table was created, in milliseconds since the epoch.<br> |
| 125 | "tableReference": { # [Required] Reference describing the ID of this table.<br> |
| 126 | "projectId": "A String", # [Required] ID of the project billed for storage of the table.<br> |
| 127 | "tableId": "A String", # [Required] ID of the table.<br> |
| 128 | "datasetId": "A String", # [Required] ID of the dataset containing the table.<br> |
| 129 | },<br> |
| 130 | "numRows": "A String", # [Output-only] The number of rows of data in this table.<br> |
| 131 | "numBytes": "A String", # [Output-only] The size of the table in bytes.<br> |
| 132 | "etag": "A String", # [Output-only] A hash of this resource.<br> |
| 133 | "friendlyName": "A String", # [Optional] A descriptive name for this table.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 134 | "expirationTime": "A String", # [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 135 | "id": "A String", # [Output-only] An opaque ID uniquely identifying the table.<br> |
| 136 | "selfLink": "A String", # [Output-only] A URL that can be used to access this resource again.<br> |
| 137 | "schema": { # [Optional] Describes the schema of this table.<br> |
| 138 | "fields": [ # Describes the fields in a table.<br> |
| 139 | {<br> |
| 140 | "fields": [ # [Optional] Describes nested fields when type is RECORD.<br> |
| 141 | # Object with schema name: TableFieldSchema<br> |
| 142 | ],<br> |
| 143 | "type": "A String", # [Required] Data type of the field.<br> |
| 144 | "mode": "A String", # [Optional] Mode of the field (whether or not it can be null. Default is NULLABLE.<br> |
| 145 | "name": "A String", # [Required] Name of the field.<br> |
| 146 | },<br> |
| 147 | ],<br> |
| 148 | },<br> |
| 149 | }</tt></dd></dl> |
| 150 | |
| 151 | <dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>Lists all tables in the specified dataset.<br> |
| 152 | <br> |
| 153 | Args:<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 154 | pp: string, A parameter<br> |
| 155 | trace: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 156 | pageToken: string, Page token, returned by a previous call, to request the next page of results<br> |
| 157 | maxResults: integer, Maximum number of results to return<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 158 | strict: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 159 | projectId: string, Project ID of the tables to list (required)<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 160 | userip: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 161 | datasetId: string, Dataset ID of the tables to list (required)<br> |
| 162 | <br> |
| 163 | Returns:<br> |
| 164 | An object of the form<br> |
| 165 | <br> |
| 166 | {<br> |
| 167 | "nextPageToken": "A String", # A token to request the next page of results.<br> |
| 168 | "tables": [ # Tables in the requested dataset.<br> |
| 169 | {<br> |
| 170 | "friendlyName": "A String", # The user-friendly name for this table.<br> |
| 171 | "kind": "bigquery#table", # The resource type.<br> |
| 172 | "id": "A String", # An opaque ID of the table<br> |
| 173 | "tableReference": { # A reference uniquely identifying the table.<br> |
| 174 | "projectId": "A String", # [Required] ID of the project billed for storage of the table.<br> |
| 175 | "tableId": "A String", # [Required] ID of the table.<br> |
| 176 | "datasetId": "A String", # [Required] ID of the dataset containing the table.<br> |
| 177 | },<br> |
| 178 | },<br> |
| 179 | ],<br> |
| 180 | "kind": "bigquery#tableList", # The type of list.<br> |
| 181 | "etag": "A String", # A hash of this page of results.<br> |
| 182 | "totalItems": 42, # The total number of tables in the dataset.<br> |
| 183 | }</tt></dd></dl> |
| 184 | |
| 185 | <dl><dt><a name="Resource-list_next"><strong>list_next</strong></a> = methodNext(self, previous_request, previous_response)</dt><dd><tt>Retrieves the next page of results.<br> |
| 186 | <br> |
| 187 | Args:<br> |
| 188 | previous_request: The request for the previous page.<br> |
| 189 | previous_response: The response from the request for the previous page.<br> |
| 190 | <br> |
| 191 | Returns:<br> |
| 192 | A request object that you can call 'execute()' on to request the next<br> |
| 193 | page. Returns None if there are no more items in the collection.</tt></dd></dl> |
| 194 | |
| 195 | <dl><dt><a name="Resource-patch"><strong>patch</strong></a> = method(self, **kwargs)</dt><dd><tt>Updates information in an existing table, specified by tableId. This method supports patch semantics.<br> |
| 196 | <br> |
| 197 | Args:<br> |
| 198 | body: object, The request body. (required)<br> |
| 199 | The object takes the form of:<br> |
| 200 | <br> |
| 201 | {<br> |
| 202 | "kind": "bigquery#table", # [Output-only] The type of the resource.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 203 | "lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch.<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 204 | "description": "A String", # [Optional] A user-friendly description of this table.<br> |
| 205 | "creationTime": "A String", # [Output-only] The time when this table was created, in milliseconds since the epoch.<br> |
| 206 | "tableReference": { # [Required] Reference describing the ID of this table.<br> |
| 207 | "projectId": "A String", # [Required] ID of the project billed for storage of the table.<br> |
| 208 | "tableId": "A String", # [Required] ID of the table.<br> |
| 209 | "datasetId": "A String", # [Required] ID of the dataset containing the table.<br> |
| 210 | },<br> |
| 211 | "numRows": "A String", # [Output-only] The number of rows of data in this table.<br> |
| 212 | "numBytes": "A String", # [Output-only] The size of the table in bytes.<br> |
| 213 | "etag": "A String", # [Output-only] A hash of this resource.<br> |
| 214 | "friendlyName": "A String", # [Optional] A descriptive name for this table.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 215 | "expirationTime": "A String", # [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 216 | "id": "A String", # [Output-only] An opaque ID uniquely identifying the table.<br> |
| 217 | "selfLink": "A String", # [Output-only] A URL that can be used to access this resource again.<br> |
| 218 | "schema": { # [Optional] Describes the schema of this table.<br> |
| 219 | "fields": [ # Describes the fields in a table.<br> |
| 220 | {<br> |
| 221 | "fields": [ # [Optional] Describes nested fields when type is RECORD.<br> |
| 222 | # Object with schema name: TableFieldSchema<br> |
| 223 | ],<br> |
| 224 | "type": "A String", # [Required] Data type of the field.<br> |
| 225 | "mode": "A String", # [Optional] Mode of the field (whether or not it can be null. Default is NULLABLE.<br> |
| 226 | "name": "A String", # [Required] Name of the field.<br> |
| 227 | },<br> |
| 228 | ],<br> |
| 229 | },<br> |
| 230 | }<br> |
| 231 | <br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 232 | pp: string, A parameter<br> |
| 233 | trace: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 234 | projectId: string, Project ID of the table to update (required)<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 235 | strict: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 236 | tableId: string, Table ID of the table to update (required)<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 237 | userip: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 238 | datasetId: string, Dataset ID of the table to update (required)<br> |
| 239 | <br> |
| 240 | Returns:<br> |
| 241 | An object of the form<br> |
| 242 | <br> |
| 243 | {<br> |
| 244 | "kind": "bigquery#table", # [Output-only] The type of the resource.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 245 | "lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch.<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 246 | "description": "A String", # [Optional] A user-friendly description of this table.<br> |
| 247 | "creationTime": "A String", # [Output-only] The time when this table was created, in milliseconds since the epoch.<br> |
| 248 | "tableReference": { # [Required] Reference describing the ID of this table.<br> |
| 249 | "projectId": "A String", # [Required] ID of the project billed for storage of the table.<br> |
| 250 | "tableId": "A String", # [Required] ID of the table.<br> |
| 251 | "datasetId": "A String", # [Required] ID of the dataset containing the table.<br> |
| 252 | },<br> |
| 253 | "numRows": "A String", # [Output-only] The number of rows of data in this table.<br> |
| 254 | "numBytes": "A String", # [Output-only] The size of the table in bytes.<br> |
| 255 | "etag": "A String", # [Output-only] A hash of this resource.<br> |
| 256 | "friendlyName": "A String", # [Optional] A descriptive name for this table.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 257 | "expirationTime": "A String", # [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 258 | "id": "A String", # [Output-only] An opaque ID uniquely identifying the table.<br> |
| 259 | "selfLink": "A String", # [Output-only] A URL that can be used to access this resource again.<br> |
| 260 | "schema": { # [Optional] Describes the schema of this table.<br> |
| 261 | "fields": [ # Describes the fields in a table.<br> |
| 262 | {<br> |
| 263 | "fields": [ # [Optional] Describes nested fields when type is RECORD.<br> |
| 264 | # Object with schema name: TableFieldSchema<br> |
| 265 | ],<br> |
| 266 | "type": "A String", # [Required] Data type of the field.<br> |
| 267 | "mode": "A String", # [Optional] Mode of the field (whether or not it can be null. Default is NULLABLE.<br> |
| 268 | "name": "A String", # [Required] Name of the field.<br> |
| 269 | },<br> |
| 270 | ],<br> |
| 271 | },<br> |
| 272 | }</tt></dd></dl> |
| 273 | |
| 274 | <dl><dt><a name="Resource-update"><strong>update</strong></a> = method(self, **kwargs)</dt><dd><tt>Updates information in an existing table, specified by tableId.<br> |
| 275 | <br> |
| 276 | Args:<br> |
| 277 | body: object, The request body. (required)<br> |
| 278 | The object takes the form of:<br> |
| 279 | <br> |
| 280 | {<br> |
| 281 | "kind": "bigquery#table", # [Output-only] The type of the resource.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 282 | "lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch.<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 283 | "description": "A String", # [Optional] A user-friendly description of this table.<br> |
| 284 | "creationTime": "A String", # [Output-only] The time when this table was created, in milliseconds since the epoch.<br> |
| 285 | "tableReference": { # [Required] Reference describing the ID of this table.<br> |
| 286 | "projectId": "A String", # [Required] ID of the project billed for storage of the table.<br> |
| 287 | "tableId": "A String", # [Required] ID of the table.<br> |
| 288 | "datasetId": "A String", # [Required] ID of the dataset containing the table.<br> |
| 289 | },<br> |
| 290 | "numRows": "A String", # [Output-only] The number of rows of data in this table.<br> |
| 291 | "numBytes": "A String", # [Output-only] The size of the table in bytes.<br> |
| 292 | "etag": "A String", # [Output-only] A hash of this resource.<br> |
| 293 | "friendlyName": "A String", # [Optional] A descriptive name for this table.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 294 | "expirationTime": "A String", # [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 295 | "id": "A String", # [Output-only] An opaque ID uniquely identifying the table.<br> |
| 296 | "selfLink": "A String", # [Output-only] A URL that can be used to access this resource again.<br> |
| 297 | "schema": { # [Optional] Describes the schema of this table.<br> |
| 298 | "fields": [ # Describes the fields in a table.<br> |
| 299 | {<br> |
| 300 | "fields": [ # [Optional] Describes nested fields when type is RECORD.<br> |
| 301 | # Object with schema name: TableFieldSchema<br> |
| 302 | ],<br> |
| 303 | "type": "A String", # [Required] Data type of the field.<br> |
| 304 | "mode": "A String", # [Optional] Mode of the field (whether or not it can be null. Default is NULLABLE.<br> |
| 305 | "name": "A String", # [Required] Name of the field.<br> |
| 306 | },<br> |
| 307 | ],<br> |
| 308 | },<br> |
| 309 | }<br> |
| 310 | <br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 311 | pp: string, A parameter<br> |
| 312 | trace: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 313 | projectId: string, Project ID of the table to update (required)<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 314 | strict: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 315 | tableId: string, Table ID of the table to update (required)<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 316 | userip: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 317 | datasetId: string, Dataset ID of the table to update (required)<br> |
| 318 | <br> |
| 319 | Returns:<br> |
| 320 | An object of the form<br> |
| 321 | <br> |
| 322 | {<br> |
| 323 | "kind": "bigquery#table", # [Output-only] The type of the resource.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 324 | "lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch.<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 325 | "description": "A String", # [Optional] A user-friendly description of this table.<br> |
| 326 | "creationTime": "A String", # [Output-only] The time when this table was created, in milliseconds since the epoch.<br> |
| 327 | "tableReference": { # [Required] Reference describing the ID of this table.<br> |
| 328 | "projectId": "A String", # [Required] ID of the project billed for storage of the table.<br> |
| 329 | "tableId": "A String", # [Required] ID of the table.<br> |
| 330 | "datasetId": "A String", # [Required] ID of the dataset containing the table.<br> |
| 331 | },<br> |
| 332 | "numRows": "A String", # [Output-only] The number of rows of data in this table.<br> |
| 333 | "numBytes": "A String", # [Output-only] The size of the table in bytes.<br> |
| 334 | "etag": "A String", # [Output-only] A hash of this resource.<br> |
| 335 | "friendlyName": "A String", # [Optional] A descriptive name for this table.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 336 | "expirationTime": "A String", # [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 337 | "id": "A String", # [Output-only] An opaque ID uniquely identifying the table.<br> |
| 338 | "selfLink": "A String", # [Output-only] A URL that can be used to access this resource again.<br> |
| 339 | "schema": { # [Optional] Describes the schema of this table.<br> |
| 340 | "fields": [ # Describes the fields in a table.<br> |
| 341 | {<br> |
| 342 | "fields": [ # [Optional] Describes nested fields when type is RECORD.<br> |
| 343 | # Object with schema name: TableFieldSchema<br> |
| 344 | ],<br> |
| 345 | "type": "A String", # [Required] Data type of the field.<br> |
| 346 | "mode": "A String", # [Optional] Mode of the field (whether or not it can be null. Default is NULLABLE.<br> |
| 347 | "name": "A String", # [Required] Name of the field.<br> |
| 348 | },<br> |
| 349 | ],<br> |
| 350 | },<br> |
| 351 | }</tt></dd></dl> |
| 352 | |
| 353 | <hr> |
| 354 | Data descriptors defined here:<br> |
| 355 | <dl><dt><strong>__dict__</strong></dt> |
| 356 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 357 | </dl> |
| 358 | <dl><dt><strong>__weakref__</strong></dt> |
| 359 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 360 | </dl> |
| 361 | </td></tr></table> |
| 362 | </body></html> |