1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="area120tables_v1alpha1.html">Area120 Tables API</a> . <a href="area120tables_v1alpha1.workspaces.html">workspaces</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#get">get(name, x__xgafv=None)</a></code></p> 82<p class="firstline">Gets a workspace. Returns NOT_FOUND if the workspace does not exist.</p> 83<p class="toc_element"> 84 <code><a href="#list">list(pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> 85<p class="firstline">Lists workspaces for the user.</p> 86<p class="toc_element"> 87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 88<p class="firstline">Retrieves the next page of results.</p> 89<h3>Method Details</h3> 90<div class="method"> 91 <code class="details" id="close">close()</code> 92 <pre>Close httplib2 connections.</pre> 93</div> 94 95<div class="method"> 96 <code class="details" id="get">get(name, x__xgafv=None)</code> 97 <pre>Gets a workspace. Returns NOT_FOUND if the workspace does not exist. 98 99Args: 100 name: string, Required. The name of the workspace to retrieve. Format: workspaces/{workspace} (required) 101 x__xgafv: string, V1 error format. 102 Allowed values 103 1 - v1 error format 104 2 - v2 error format 105 106Returns: 107 An object of the form: 108 109 { # A single workspace. 110 "createTime": "A String", # Time when the workspace was created. 111 "displayName": "A String", # The human readable title of the workspace. 112 "name": "A String", # The resource name of the workspace. Workspace names have the form `workspaces/{workspace}`. 113 "tables": [ # The list of tables in the workspace. 114 { # A single table. NextId: 8 115 "columns": [ # List of columns in this table. Order of columns matches the display order. 116 { # Details on a column in the table. 117 "dataType": "A String", # Data type of the column Supported types are auto_id, boolean, boolean_list, creator, create_timestamp, date, dropdown, location, integer, integer_list, number, number_list, person, person_list, tags, check_list, text, text_list, update_timestamp, updater, relationship, file_attachment_list. These types directly map to the column types supported on Tables website. 118 "dateDetails": { # Details about a date column. # Optional. Additional details about a date column. 119 "hasTime": True or False, # Whether the date column includes time. 120 }, 121 "id": "A String", # Internal id for a column. 122 "labels": [ # Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation. 123 { # A single item in a labeled column. 124 "id": "A String", # Internal id associated with the item. 125 "name": "A String", # Display string as entered by user. 126 }, 127 ], 128 "lookupDetails": { # Details about a lookup column whose value comes from the associated relationship. # Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column. 129 "relationshipColumn": "A String", # The name of the relationship column associated with the lookup. 130 "relationshipColumnId": "A String", # The id of the relationship column. 131 }, 132 "multipleValuesDisallowed": True or False, # Optional. Indicates whether or not multiple values are allowed for array types where such a restriction is possible. 133 "name": "A String", # column name 134 "readonly": True or False, # Optional. Indicates that values for the column cannot be set by the user. 135 "relationshipDetails": { # Details about a relationship column. # Optional. Additional details about a relationship column. Specified when data_type is relationship. 136 "linkedTable": "A String", # The name of the table this relationship is linked to. 137 }, 138 }, 139 ], 140 "createTime": "A String", # Time when the table was created. 141 "displayName": "A String", # The human readable title of the table. 142 "name": "A String", # The resource name of the table. Table names have the form `tables/{table}`. 143 "savedViews": [ # Saved views for this table. 144 { # A saved view of a table. NextId: 3 145 "id": "A String", # Internal id associated with the saved view. 146 "name": "A String", # Display name of the saved view. 147 }, 148 ], 149 "timeZone": "A String", # The time zone of the table. IANA Time Zone Database time zone, e.g. "America/New_York". 150 "updateTime": "A String", # Time when the table was last updated excluding updates to individual rows 151 }, 152 ], 153 "updateTime": "A String", # Time when the workspace was last updated. 154}</pre> 155</div> 156 157<div class="method"> 158 <code class="details" id="list">list(pageSize=None, pageToken=None, x__xgafv=None)</code> 159 <pre>Lists workspaces for the user. 160 161Args: 162 pageSize: integer, The maximum number of workspaces to return. The service may return fewer than this value. If unspecified, at most 10 workspaces are returned. The maximum value is 25; values above 25 are coerced to 25. 163 pageToken: string, A page token, received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkspaces` must match the call that provided the page token. 164 x__xgafv: string, V1 error format. 165 Allowed values 166 1 - v1 error format 167 2 - v2 error format 168 169Returns: 170 An object of the form: 171 172 { # Response message for TablesService.ListWorkspaces. 173 "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. 174 "workspaces": [ # The list of workspaces. 175 { # A single workspace. 176 "createTime": "A String", # Time when the workspace was created. 177 "displayName": "A String", # The human readable title of the workspace. 178 "name": "A String", # The resource name of the workspace. Workspace names have the form `workspaces/{workspace}`. 179 "tables": [ # The list of tables in the workspace. 180 { # A single table. NextId: 8 181 "columns": [ # List of columns in this table. Order of columns matches the display order. 182 { # Details on a column in the table. 183 "dataType": "A String", # Data type of the column Supported types are auto_id, boolean, boolean_list, creator, create_timestamp, date, dropdown, location, integer, integer_list, number, number_list, person, person_list, tags, check_list, text, text_list, update_timestamp, updater, relationship, file_attachment_list. These types directly map to the column types supported on Tables website. 184 "dateDetails": { # Details about a date column. # Optional. Additional details about a date column. 185 "hasTime": True or False, # Whether the date column includes time. 186 }, 187 "id": "A String", # Internal id for a column. 188 "labels": [ # Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation. 189 { # A single item in a labeled column. 190 "id": "A String", # Internal id associated with the item. 191 "name": "A String", # Display string as entered by user. 192 }, 193 ], 194 "lookupDetails": { # Details about a lookup column whose value comes from the associated relationship. # Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column. 195 "relationshipColumn": "A String", # The name of the relationship column associated with the lookup. 196 "relationshipColumnId": "A String", # The id of the relationship column. 197 }, 198 "multipleValuesDisallowed": True or False, # Optional. Indicates whether or not multiple values are allowed for array types where such a restriction is possible. 199 "name": "A String", # column name 200 "readonly": True or False, # Optional. Indicates that values for the column cannot be set by the user. 201 "relationshipDetails": { # Details about a relationship column. # Optional. Additional details about a relationship column. Specified when data_type is relationship. 202 "linkedTable": "A String", # The name of the table this relationship is linked to. 203 }, 204 }, 205 ], 206 "createTime": "A String", # Time when the table was created. 207 "displayName": "A String", # The human readable title of the table. 208 "name": "A String", # The resource name of the table. Table names have the form `tables/{table}`. 209 "savedViews": [ # Saved views for this table. 210 { # A saved view of a table. NextId: 3 211 "id": "A String", # Internal id associated with the saved view. 212 "name": "A String", # Display name of the saved view. 213 }, 214 ], 215 "timeZone": "A String", # The time zone of the table. IANA Time Zone Database time zone, e.g. "America/New_York". 216 "updateTime": "A String", # Time when the table was last updated excluding updates to individual rows 217 }, 218 ], 219 "updateTime": "A String", # Time when the workspace was last updated. 220 }, 221 ], 222}</pre> 223</div> 224 225<div class="method"> 226 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 227 <pre>Retrieves the next page of results. 228 229Args: 230 previous_request: The request for the previous page. (required) 231 previous_response: The response from the request for the previous page. (required) 232 233Returns: 234 A request object that you can call 'execute()' on to request the next 235 page. Returns None if there are no more items in the collection. 236 </pre> 237</div> 238 239</body></html>