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="fusiontables_v2.html">Fusion Tables API</a> . <a href="fusiontables_v2.style.html">style</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#delete">delete(tableId, styleId)</a></code></p> 79<p class="firstline">Deletes a style.</p> 80<p class="toc_element"> 81 <code><a href="#get">get(tableId, styleId)</a></code></p> 82<p class="firstline">Gets a specific style.</p> 83<p class="toc_element"> 84 <code><a href="#insert">insert(tableId, body)</a></code></p> 85<p class="firstline">Adds a new style for the table.</p> 86<p class="toc_element"> 87 <code><a href="#list">list(tableId, pageToken=None, maxResults=None)</a></code></p> 88<p class="firstline">Retrieves a list of styles.</p> 89<p class="toc_element"> 90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 91<p class="firstline">Retrieves the next page of results.</p> 92<p class="toc_element"> 93 <code><a href="#patch">patch(tableId, styleId, body)</a></code></p> 94<p class="firstline">Updates an existing style. This method supports patch semantics.</p> 95<p class="toc_element"> 96 <code><a href="#update">update(tableId, styleId, body)</a></code></p> 97<p class="firstline">Updates an existing style.</p> 98<h3>Method Details</h3> 99<div class="method"> 100 <code class="details" id="delete">delete(tableId, styleId)</code> 101 <pre>Deletes a style. 102 103Args: 104 tableId: string, Table from which the style is being deleted (required) 105 styleId: integer, Identifier (within a table) for the style being deleted (required) 106</pre> 107</div> 108 109<div class="method"> 110 <code class="details" id="get">get(tableId, styleId)</code> 111 <pre>Gets a specific style. 112 113Args: 114 tableId: string, Table to which the requested style belongs (required) 115 styleId: integer, Identifier (integer) for a specific style in a table (required) 116 117Returns: 118 An object of the form: 119 120 { # Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId. 121 "markerOptions": { # Represents a PointStyle within a StyleSetting # Style definition for points in the table. 122 "iconStyler": { # Represents a StyleFunction within a StyleSetting # Column or a bucket value from which the icon name is to be determined. 123 "gradient": { # Gradient function that interpolates a range of colors based on column value. 124 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 125 "colors": [ # Array with two or more colors. 126 { 127 "color": "A String", # Color in #RRGGBB format. 128 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 129 }, 130 ], 131 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 132 }, 133 "columnName": "A String", # Name of the column whose value is used in the style. 134 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 135 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 136 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 137 "weight": 42, # Width of a line (in pixels). 138 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 139 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 140 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 141 "icon": "A String", # Icon name used for a point. 142 }, 143 ], 144 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 145 }, 146 "iconName": "A String", # Name of the icon. Use values defined in http://www.google.com/fusiontables/DataSource?dsrcid=308519 147 }, 148 "kind": "fusiontables#styleSetting", # The kind of item this is. A StyleSetting contains the style definitions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions. 149 "name": "A String", # Optional name for the style setting. 150 "polygonOptions": { # Represents a PolygonStyle within a StyleSetting # Style definition for polygons in the table. 151 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the border color and opacity. 152 "gradient": { # Gradient function that interpolates a range of colors based on column value. 153 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 154 "colors": [ # Array with two or more colors. 155 { 156 "color": "A String", # Color in #RRGGBB format. 157 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 158 }, 159 ], 160 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 161 }, 162 "columnName": "A String", # Name of the column whose value is used in the style. 163 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 164 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 165 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 166 "weight": 42, # Width of a line (in pixels). 167 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 168 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 169 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 170 "icon": "A String", # Icon name used for a point. 171 }, 172 ], 173 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 174 }, 175 "strokeWeight": 42, # Width of the polyon border in pixels. 176 "strokeOpacity": 3.14, # Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque). 177 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the polygon border. 178 "gradient": { # Gradient function that interpolates a range of colors based on column value. 179 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 180 "colors": [ # Array with two or more colors. 181 { 182 "color": "A String", # Color in #RRGGBB format. 183 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 184 }, 185 ], 186 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 187 }, 188 "columnName": "A String", # Name of the column whose value is used in the style. 189 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 190 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 191 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 192 "weight": 42, # Width of a line (in pixels). 193 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 194 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 195 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 196 "icon": "A String", # Icon name used for a point. 197 }, 198 ], 199 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 200 }, 201 "fillColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient, or bucket styler that is used to determine the interior color and opacity of the polygon. 202 "gradient": { # Gradient function that interpolates a range of colors based on column value. 203 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 204 "colors": [ # Array with two or more colors. 205 { 206 "color": "A String", # Color in #RRGGBB format. 207 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 208 }, 209 ], 210 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 211 }, 212 "columnName": "A String", # Name of the column whose value is used in the style. 213 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 214 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 215 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 216 "weight": 42, # Width of a line (in pixels). 217 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 218 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 219 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 220 "icon": "A String", # Icon name used for a point. 221 }, 222 ], 223 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 224 }, 225 "fillColor": "A String", # Color of the interior of the polygon in #RRGGBB format. 226 "strokeColor": "A String", # Color of the polygon border in #RRGGBB format. 227 "fillOpacity": 3.14, # Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque). 228 }, 229 "polylineOptions": { # Represents a LineStyle within a StyleSetting # Style definition for lines in the table. 230 "strokeWeight": 42, # Width of the line in pixels. 231 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the line. 232 "gradient": { # Gradient function that interpolates a range of colors based on column value. 233 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 234 "colors": [ # Array with two or more colors. 235 { 236 "color": "A String", # Color in #RRGGBB format. 237 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 238 }, 239 ], 240 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 241 }, 242 "columnName": "A String", # Name of the column whose value is used in the style. 243 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 244 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 245 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 246 "weight": 42, # Width of a line (in pixels). 247 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 248 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 249 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 250 "icon": "A String", # Icon name used for a point. 251 }, 252 ], 253 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 254 }, 255 "strokeColor": "A String", # Color of the line in #RRGGBB format. 256 "strokeOpacity": 3.14, # Opacity of the line : 0.0 (transparent) to 1.0 (opaque). 257 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the line color and opacity. 258 "gradient": { # Gradient function that interpolates a range of colors based on column value. 259 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 260 "colors": [ # Array with two or more colors. 261 { 262 "color": "A String", # Color in #RRGGBB format. 263 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 264 }, 265 ], 266 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 267 }, 268 "columnName": "A String", # Name of the column whose value is used in the style. 269 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 270 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 271 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 272 "weight": 42, # Width of a line (in pixels). 273 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 274 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 275 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 276 "icon": "A String", # Icon name used for a point. 277 }, 278 ], 279 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 280 }, 281 }, 282 "tableId": "A String", # Identifier for the table. 283 "styleId": 42, # Identifier for the style setting (unique only within tables). 284 }</pre> 285</div> 286 287<div class="method"> 288 <code class="details" id="insert">insert(tableId, body)</code> 289 <pre>Adds a new style for the table. 290 291Args: 292 tableId: string, Table for which a new style is being added (required) 293 body: object, The request body. (required) 294 The object takes the form of: 295 296{ # Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId. 297 "markerOptions": { # Represents a PointStyle within a StyleSetting # Style definition for points in the table. 298 "iconStyler": { # Represents a StyleFunction within a StyleSetting # Column or a bucket value from which the icon name is to be determined. 299 "gradient": { # Gradient function that interpolates a range of colors based on column value. 300 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 301 "colors": [ # Array with two or more colors. 302 { 303 "color": "A String", # Color in #RRGGBB format. 304 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 305 }, 306 ], 307 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 308 }, 309 "columnName": "A String", # Name of the column whose value is used in the style. 310 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 311 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 312 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 313 "weight": 42, # Width of a line (in pixels). 314 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 315 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 316 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 317 "icon": "A String", # Icon name used for a point. 318 }, 319 ], 320 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 321 }, 322 "iconName": "A String", # Name of the icon. Use values defined in http://www.google.com/fusiontables/DataSource?dsrcid=308519 323 }, 324 "kind": "fusiontables#styleSetting", # The kind of item this is. A StyleSetting contains the style definitions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions. 325 "name": "A String", # Optional name for the style setting. 326 "polygonOptions": { # Represents a PolygonStyle within a StyleSetting # Style definition for polygons in the table. 327 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the border color and opacity. 328 "gradient": { # Gradient function that interpolates a range of colors based on column value. 329 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 330 "colors": [ # Array with two or more colors. 331 { 332 "color": "A String", # Color in #RRGGBB format. 333 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 334 }, 335 ], 336 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 337 }, 338 "columnName": "A String", # Name of the column whose value is used in the style. 339 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 340 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 341 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 342 "weight": 42, # Width of a line (in pixels). 343 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 344 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 345 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 346 "icon": "A String", # Icon name used for a point. 347 }, 348 ], 349 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 350 }, 351 "strokeWeight": 42, # Width of the polyon border in pixels. 352 "strokeOpacity": 3.14, # Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque). 353 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the polygon border. 354 "gradient": { # Gradient function that interpolates a range of colors based on column value. 355 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 356 "colors": [ # Array with two or more colors. 357 { 358 "color": "A String", # Color in #RRGGBB format. 359 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 360 }, 361 ], 362 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 363 }, 364 "columnName": "A String", # Name of the column whose value is used in the style. 365 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 366 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 367 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 368 "weight": 42, # Width of a line (in pixels). 369 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 370 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 371 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 372 "icon": "A String", # Icon name used for a point. 373 }, 374 ], 375 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 376 }, 377 "fillColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient, or bucket styler that is used to determine the interior color and opacity of the polygon. 378 "gradient": { # Gradient function that interpolates a range of colors based on column value. 379 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 380 "colors": [ # Array with two or more colors. 381 { 382 "color": "A String", # Color in #RRGGBB format. 383 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 384 }, 385 ], 386 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 387 }, 388 "columnName": "A String", # Name of the column whose value is used in the style. 389 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 390 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 391 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 392 "weight": 42, # Width of a line (in pixels). 393 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 394 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 395 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 396 "icon": "A String", # Icon name used for a point. 397 }, 398 ], 399 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 400 }, 401 "fillColor": "A String", # Color of the interior of the polygon in #RRGGBB format. 402 "strokeColor": "A String", # Color of the polygon border in #RRGGBB format. 403 "fillOpacity": 3.14, # Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque). 404 }, 405 "polylineOptions": { # Represents a LineStyle within a StyleSetting # Style definition for lines in the table. 406 "strokeWeight": 42, # Width of the line in pixels. 407 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the line. 408 "gradient": { # Gradient function that interpolates a range of colors based on column value. 409 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 410 "colors": [ # Array with two or more colors. 411 { 412 "color": "A String", # Color in #RRGGBB format. 413 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 414 }, 415 ], 416 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 417 }, 418 "columnName": "A String", # Name of the column whose value is used in the style. 419 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 420 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 421 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 422 "weight": 42, # Width of a line (in pixels). 423 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 424 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 425 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 426 "icon": "A String", # Icon name used for a point. 427 }, 428 ], 429 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 430 }, 431 "strokeColor": "A String", # Color of the line in #RRGGBB format. 432 "strokeOpacity": 3.14, # Opacity of the line : 0.0 (transparent) to 1.0 (opaque). 433 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the line color and opacity. 434 "gradient": { # Gradient function that interpolates a range of colors based on column value. 435 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 436 "colors": [ # Array with two or more colors. 437 { 438 "color": "A String", # Color in #RRGGBB format. 439 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 440 }, 441 ], 442 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 443 }, 444 "columnName": "A String", # Name of the column whose value is used in the style. 445 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 446 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 447 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 448 "weight": 42, # Width of a line (in pixels). 449 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 450 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 451 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 452 "icon": "A String", # Icon name used for a point. 453 }, 454 ], 455 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 456 }, 457 }, 458 "tableId": "A String", # Identifier for the table. 459 "styleId": 42, # Identifier for the style setting (unique only within tables). 460 } 461 462 463Returns: 464 An object of the form: 465 466 { # Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId. 467 "markerOptions": { # Represents a PointStyle within a StyleSetting # Style definition for points in the table. 468 "iconStyler": { # Represents a StyleFunction within a StyleSetting # Column or a bucket value from which the icon name is to be determined. 469 "gradient": { # Gradient function that interpolates a range of colors based on column value. 470 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 471 "colors": [ # Array with two or more colors. 472 { 473 "color": "A String", # Color in #RRGGBB format. 474 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 475 }, 476 ], 477 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 478 }, 479 "columnName": "A String", # Name of the column whose value is used in the style. 480 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 481 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 482 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 483 "weight": 42, # Width of a line (in pixels). 484 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 485 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 486 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 487 "icon": "A String", # Icon name used for a point. 488 }, 489 ], 490 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 491 }, 492 "iconName": "A String", # Name of the icon. Use values defined in http://www.google.com/fusiontables/DataSource?dsrcid=308519 493 }, 494 "kind": "fusiontables#styleSetting", # The kind of item this is. A StyleSetting contains the style definitions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions. 495 "name": "A String", # Optional name for the style setting. 496 "polygonOptions": { # Represents a PolygonStyle within a StyleSetting # Style definition for polygons in the table. 497 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the border color and opacity. 498 "gradient": { # Gradient function that interpolates a range of colors based on column value. 499 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 500 "colors": [ # Array with two or more colors. 501 { 502 "color": "A String", # Color in #RRGGBB format. 503 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 504 }, 505 ], 506 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 507 }, 508 "columnName": "A String", # Name of the column whose value is used in the style. 509 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 510 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 511 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 512 "weight": 42, # Width of a line (in pixels). 513 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 514 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 515 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 516 "icon": "A String", # Icon name used for a point. 517 }, 518 ], 519 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 520 }, 521 "strokeWeight": 42, # Width of the polyon border in pixels. 522 "strokeOpacity": 3.14, # Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque). 523 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the polygon border. 524 "gradient": { # Gradient function that interpolates a range of colors based on column value. 525 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 526 "colors": [ # Array with two or more colors. 527 { 528 "color": "A String", # Color in #RRGGBB format. 529 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 530 }, 531 ], 532 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 533 }, 534 "columnName": "A String", # Name of the column whose value is used in the style. 535 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 536 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 537 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 538 "weight": 42, # Width of a line (in pixels). 539 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 540 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 541 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 542 "icon": "A String", # Icon name used for a point. 543 }, 544 ], 545 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 546 }, 547 "fillColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient, or bucket styler that is used to determine the interior color and opacity of the polygon. 548 "gradient": { # Gradient function that interpolates a range of colors based on column value. 549 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 550 "colors": [ # Array with two or more colors. 551 { 552 "color": "A String", # Color in #RRGGBB format. 553 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 554 }, 555 ], 556 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 557 }, 558 "columnName": "A String", # Name of the column whose value is used in the style. 559 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 560 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 561 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 562 "weight": 42, # Width of a line (in pixels). 563 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 564 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 565 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 566 "icon": "A String", # Icon name used for a point. 567 }, 568 ], 569 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 570 }, 571 "fillColor": "A String", # Color of the interior of the polygon in #RRGGBB format. 572 "strokeColor": "A String", # Color of the polygon border in #RRGGBB format. 573 "fillOpacity": 3.14, # Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque). 574 }, 575 "polylineOptions": { # Represents a LineStyle within a StyleSetting # Style definition for lines in the table. 576 "strokeWeight": 42, # Width of the line in pixels. 577 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the line. 578 "gradient": { # Gradient function that interpolates a range of colors based on column value. 579 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 580 "colors": [ # Array with two or more colors. 581 { 582 "color": "A String", # Color in #RRGGBB format. 583 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 584 }, 585 ], 586 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 587 }, 588 "columnName": "A String", # Name of the column whose value is used in the style. 589 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 590 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 591 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 592 "weight": 42, # Width of a line (in pixels). 593 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 594 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 595 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 596 "icon": "A String", # Icon name used for a point. 597 }, 598 ], 599 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 600 }, 601 "strokeColor": "A String", # Color of the line in #RRGGBB format. 602 "strokeOpacity": 3.14, # Opacity of the line : 0.0 (transparent) to 1.0 (opaque). 603 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the line color and opacity. 604 "gradient": { # Gradient function that interpolates a range of colors based on column value. 605 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 606 "colors": [ # Array with two or more colors. 607 { 608 "color": "A String", # Color in #RRGGBB format. 609 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 610 }, 611 ], 612 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 613 }, 614 "columnName": "A String", # Name of the column whose value is used in the style. 615 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 616 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 617 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 618 "weight": 42, # Width of a line (in pixels). 619 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 620 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 621 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 622 "icon": "A String", # Icon name used for a point. 623 }, 624 ], 625 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 626 }, 627 }, 628 "tableId": "A String", # Identifier for the table. 629 "styleId": 42, # Identifier for the style setting (unique only within tables). 630 }</pre> 631</div> 632 633<div class="method"> 634 <code class="details" id="list">list(tableId, pageToken=None, maxResults=None)</code> 635 <pre>Retrieves a list of styles. 636 637Args: 638 tableId: string, Table whose styles are being listed (required) 639 pageToken: string, Continuation token specifying which result page to return. Optional. 640 maxResults: integer, Maximum number of styles to return. Optional. Default is 5. 641 642Returns: 643 An object of the form: 644 645 { # Represents a list of styles for a given table. 646 "nextPageToken": "A String", # Token used to access the next page of this result. No token is displayed if there are no more styles left. 647 "items": [ # All requested style settings. 648 { # Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId. 649 "markerOptions": { # Represents a PointStyle within a StyleSetting # Style definition for points in the table. 650 "iconStyler": { # Represents a StyleFunction within a StyleSetting # Column or a bucket value from which the icon name is to be determined. 651 "gradient": { # Gradient function that interpolates a range of colors based on column value. 652 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 653 "colors": [ # Array with two or more colors. 654 { 655 "color": "A String", # Color in #RRGGBB format. 656 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 657 }, 658 ], 659 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 660 }, 661 "columnName": "A String", # Name of the column whose value is used in the style. 662 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 663 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 664 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 665 "weight": 42, # Width of a line (in pixels). 666 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 667 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 668 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 669 "icon": "A String", # Icon name used for a point. 670 }, 671 ], 672 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 673 }, 674 "iconName": "A String", # Name of the icon. Use values defined in http://www.google.com/fusiontables/DataSource?dsrcid=308519 675 }, 676 "kind": "fusiontables#styleSetting", # The kind of item this is. A StyleSetting contains the style definitions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions. 677 "name": "A String", # Optional name for the style setting. 678 "polygonOptions": { # Represents a PolygonStyle within a StyleSetting # Style definition for polygons in the table. 679 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the border color and opacity. 680 "gradient": { # Gradient function that interpolates a range of colors based on column value. 681 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 682 "colors": [ # Array with two or more colors. 683 { 684 "color": "A String", # Color in #RRGGBB format. 685 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 686 }, 687 ], 688 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 689 }, 690 "columnName": "A String", # Name of the column whose value is used in the style. 691 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 692 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 693 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 694 "weight": 42, # Width of a line (in pixels). 695 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 696 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 697 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 698 "icon": "A String", # Icon name used for a point. 699 }, 700 ], 701 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 702 }, 703 "strokeWeight": 42, # Width of the polyon border in pixels. 704 "strokeOpacity": 3.14, # Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque). 705 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the polygon border. 706 "gradient": { # Gradient function that interpolates a range of colors based on column value. 707 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 708 "colors": [ # Array with two or more colors. 709 { 710 "color": "A String", # Color in #RRGGBB format. 711 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 712 }, 713 ], 714 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 715 }, 716 "columnName": "A String", # Name of the column whose value is used in the style. 717 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 718 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 719 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 720 "weight": 42, # Width of a line (in pixels). 721 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 722 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 723 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 724 "icon": "A String", # Icon name used for a point. 725 }, 726 ], 727 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 728 }, 729 "fillColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient, or bucket styler that is used to determine the interior color and opacity of the polygon. 730 "gradient": { # Gradient function that interpolates a range of colors based on column value. 731 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 732 "colors": [ # Array with two or more colors. 733 { 734 "color": "A String", # Color in #RRGGBB format. 735 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 736 }, 737 ], 738 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 739 }, 740 "columnName": "A String", # Name of the column whose value is used in the style. 741 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 742 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 743 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 744 "weight": 42, # Width of a line (in pixels). 745 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 746 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 747 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 748 "icon": "A String", # Icon name used for a point. 749 }, 750 ], 751 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 752 }, 753 "fillColor": "A String", # Color of the interior of the polygon in #RRGGBB format. 754 "strokeColor": "A String", # Color of the polygon border in #RRGGBB format. 755 "fillOpacity": 3.14, # Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque). 756 }, 757 "polylineOptions": { # Represents a LineStyle within a StyleSetting # Style definition for lines in the table. 758 "strokeWeight": 42, # Width of the line in pixels. 759 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the line. 760 "gradient": { # Gradient function that interpolates a range of colors based on column value. 761 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 762 "colors": [ # Array with two or more colors. 763 { 764 "color": "A String", # Color in #RRGGBB format. 765 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 766 }, 767 ], 768 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 769 }, 770 "columnName": "A String", # Name of the column whose value is used in the style. 771 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 772 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 773 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 774 "weight": 42, # Width of a line (in pixels). 775 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 776 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 777 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 778 "icon": "A String", # Icon name used for a point. 779 }, 780 ], 781 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 782 }, 783 "strokeColor": "A String", # Color of the line in #RRGGBB format. 784 "strokeOpacity": 3.14, # Opacity of the line : 0.0 (transparent) to 1.0 (opaque). 785 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the line color and opacity. 786 "gradient": { # Gradient function that interpolates a range of colors based on column value. 787 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 788 "colors": [ # Array with two or more colors. 789 { 790 "color": "A String", # Color in #RRGGBB format. 791 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 792 }, 793 ], 794 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 795 }, 796 "columnName": "A String", # Name of the column whose value is used in the style. 797 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 798 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 799 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 800 "weight": 42, # Width of a line (in pixels). 801 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 802 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 803 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 804 "icon": "A String", # Icon name used for a point. 805 }, 806 ], 807 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 808 }, 809 }, 810 "tableId": "A String", # Identifier for the table. 811 "styleId": 42, # Identifier for the style setting (unique only within tables). 812 }, 813 ], 814 "kind": "fusiontables#styleSettingList", # The kind of item this is. For a style list, this is always fusiontables#styleSettingList . 815 "totalItems": 42, # Total number of styles for the table. 816 }</pre> 817</div> 818 819<div class="method"> 820 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 821 <pre>Retrieves the next page of results. 822 823Args: 824 previous_request: The request for the previous page. (required) 825 previous_response: The response from the request for the previous page. (required) 826 827Returns: 828 A request object that you can call 'execute()' on to request the next 829 page. Returns None if there are no more items in the collection. 830 </pre> 831</div> 832 833<div class="method"> 834 <code class="details" id="patch">patch(tableId, styleId, body)</code> 835 <pre>Updates an existing style. This method supports patch semantics. 836 837Args: 838 tableId: string, Table whose style is being updated. (required) 839 styleId: integer, Identifier (within a table) for the style being updated. (required) 840 body: object, The request body. (required) 841 The object takes the form of: 842 843{ # Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId. 844 "markerOptions": { # Represents a PointStyle within a StyleSetting # Style definition for points in the table. 845 "iconStyler": { # Represents a StyleFunction within a StyleSetting # Column or a bucket value from which the icon name is to be determined. 846 "gradient": { # Gradient function that interpolates a range of colors based on column value. 847 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 848 "colors": [ # Array with two or more colors. 849 { 850 "color": "A String", # Color in #RRGGBB format. 851 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 852 }, 853 ], 854 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 855 }, 856 "columnName": "A String", # Name of the column whose value is used in the style. 857 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 858 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 859 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 860 "weight": 42, # Width of a line (in pixels). 861 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 862 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 863 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 864 "icon": "A String", # Icon name used for a point. 865 }, 866 ], 867 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 868 }, 869 "iconName": "A String", # Name of the icon. Use values defined in http://www.google.com/fusiontables/DataSource?dsrcid=308519 870 }, 871 "kind": "fusiontables#styleSetting", # The kind of item this is. A StyleSetting contains the style definitions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions. 872 "name": "A String", # Optional name for the style setting. 873 "polygonOptions": { # Represents a PolygonStyle within a StyleSetting # Style definition for polygons in the table. 874 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the border color and opacity. 875 "gradient": { # Gradient function that interpolates a range of colors based on column value. 876 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 877 "colors": [ # Array with two or more colors. 878 { 879 "color": "A String", # Color in #RRGGBB format. 880 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 881 }, 882 ], 883 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 884 }, 885 "columnName": "A String", # Name of the column whose value is used in the style. 886 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 887 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 888 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 889 "weight": 42, # Width of a line (in pixels). 890 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 891 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 892 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 893 "icon": "A String", # Icon name used for a point. 894 }, 895 ], 896 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 897 }, 898 "strokeWeight": 42, # Width of the polyon border in pixels. 899 "strokeOpacity": 3.14, # Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque). 900 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the polygon border. 901 "gradient": { # Gradient function that interpolates a range of colors based on column value. 902 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 903 "colors": [ # Array with two or more colors. 904 { 905 "color": "A String", # Color in #RRGGBB format. 906 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 907 }, 908 ], 909 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 910 }, 911 "columnName": "A String", # Name of the column whose value is used in the style. 912 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 913 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 914 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 915 "weight": 42, # Width of a line (in pixels). 916 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 917 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 918 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 919 "icon": "A String", # Icon name used for a point. 920 }, 921 ], 922 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 923 }, 924 "fillColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient, or bucket styler that is used to determine the interior color and opacity of the polygon. 925 "gradient": { # Gradient function that interpolates a range of colors based on column value. 926 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 927 "colors": [ # Array with two or more colors. 928 { 929 "color": "A String", # Color in #RRGGBB format. 930 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 931 }, 932 ], 933 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 934 }, 935 "columnName": "A String", # Name of the column whose value is used in the style. 936 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 937 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 938 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 939 "weight": 42, # Width of a line (in pixels). 940 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 941 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 942 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 943 "icon": "A String", # Icon name used for a point. 944 }, 945 ], 946 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 947 }, 948 "fillColor": "A String", # Color of the interior of the polygon in #RRGGBB format. 949 "strokeColor": "A String", # Color of the polygon border in #RRGGBB format. 950 "fillOpacity": 3.14, # Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque). 951 }, 952 "polylineOptions": { # Represents a LineStyle within a StyleSetting # Style definition for lines in the table. 953 "strokeWeight": 42, # Width of the line in pixels. 954 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the line. 955 "gradient": { # Gradient function that interpolates a range of colors based on column value. 956 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 957 "colors": [ # Array with two or more colors. 958 { 959 "color": "A String", # Color in #RRGGBB format. 960 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 961 }, 962 ], 963 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 964 }, 965 "columnName": "A String", # Name of the column whose value is used in the style. 966 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 967 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 968 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 969 "weight": 42, # Width of a line (in pixels). 970 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 971 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 972 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 973 "icon": "A String", # Icon name used for a point. 974 }, 975 ], 976 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 977 }, 978 "strokeColor": "A String", # Color of the line in #RRGGBB format. 979 "strokeOpacity": 3.14, # Opacity of the line : 0.0 (transparent) to 1.0 (opaque). 980 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the line color and opacity. 981 "gradient": { # Gradient function that interpolates a range of colors based on column value. 982 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 983 "colors": [ # Array with two or more colors. 984 { 985 "color": "A String", # Color in #RRGGBB format. 986 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 987 }, 988 ], 989 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 990 }, 991 "columnName": "A String", # Name of the column whose value is used in the style. 992 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 993 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 994 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 995 "weight": 42, # Width of a line (in pixels). 996 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 997 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 998 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 999 "icon": "A String", # Icon name used for a point. 1000 }, 1001 ], 1002 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1003 }, 1004 }, 1005 "tableId": "A String", # Identifier for the table. 1006 "styleId": 42, # Identifier for the style setting (unique only within tables). 1007 } 1008 1009 1010Returns: 1011 An object of the form: 1012 1013 { # Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId. 1014 "markerOptions": { # Represents a PointStyle within a StyleSetting # Style definition for points in the table. 1015 "iconStyler": { # Represents a StyleFunction within a StyleSetting # Column or a bucket value from which the icon name is to be determined. 1016 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1017 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1018 "colors": [ # Array with two or more colors. 1019 { 1020 "color": "A String", # Color in #RRGGBB format. 1021 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1022 }, 1023 ], 1024 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1025 }, 1026 "columnName": "A String", # Name of the column whose value is used in the style. 1027 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1028 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1029 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1030 "weight": 42, # Width of a line (in pixels). 1031 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1032 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1033 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1034 "icon": "A String", # Icon name used for a point. 1035 }, 1036 ], 1037 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1038 }, 1039 "iconName": "A String", # Name of the icon. Use values defined in http://www.google.com/fusiontables/DataSource?dsrcid=308519 1040 }, 1041 "kind": "fusiontables#styleSetting", # The kind of item this is. A StyleSetting contains the style definitions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions. 1042 "name": "A String", # Optional name for the style setting. 1043 "polygonOptions": { # Represents a PolygonStyle within a StyleSetting # Style definition for polygons in the table. 1044 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the border color and opacity. 1045 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1046 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1047 "colors": [ # Array with two or more colors. 1048 { 1049 "color": "A String", # Color in #RRGGBB format. 1050 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1051 }, 1052 ], 1053 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1054 }, 1055 "columnName": "A String", # Name of the column whose value is used in the style. 1056 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1057 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1058 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1059 "weight": 42, # Width of a line (in pixels). 1060 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1061 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1062 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1063 "icon": "A String", # Icon name used for a point. 1064 }, 1065 ], 1066 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1067 }, 1068 "strokeWeight": 42, # Width of the polyon border in pixels. 1069 "strokeOpacity": 3.14, # Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque). 1070 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the polygon border. 1071 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1072 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1073 "colors": [ # Array with two or more colors. 1074 { 1075 "color": "A String", # Color in #RRGGBB format. 1076 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1077 }, 1078 ], 1079 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1080 }, 1081 "columnName": "A String", # Name of the column whose value is used in the style. 1082 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1083 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1084 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1085 "weight": 42, # Width of a line (in pixels). 1086 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1087 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1088 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1089 "icon": "A String", # Icon name used for a point. 1090 }, 1091 ], 1092 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1093 }, 1094 "fillColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient, or bucket styler that is used to determine the interior color and opacity of the polygon. 1095 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1096 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1097 "colors": [ # Array with two or more colors. 1098 { 1099 "color": "A String", # Color in #RRGGBB format. 1100 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1101 }, 1102 ], 1103 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1104 }, 1105 "columnName": "A String", # Name of the column whose value is used in the style. 1106 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1107 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1108 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1109 "weight": 42, # Width of a line (in pixels). 1110 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1111 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1112 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1113 "icon": "A String", # Icon name used for a point. 1114 }, 1115 ], 1116 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1117 }, 1118 "fillColor": "A String", # Color of the interior of the polygon in #RRGGBB format. 1119 "strokeColor": "A String", # Color of the polygon border in #RRGGBB format. 1120 "fillOpacity": 3.14, # Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque). 1121 }, 1122 "polylineOptions": { # Represents a LineStyle within a StyleSetting # Style definition for lines in the table. 1123 "strokeWeight": 42, # Width of the line in pixels. 1124 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the line. 1125 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1126 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1127 "colors": [ # Array with two or more colors. 1128 { 1129 "color": "A String", # Color in #RRGGBB format. 1130 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1131 }, 1132 ], 1133 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1134 }, 1135 "columnName": "A String", # Name of the column whose value is used in the style. 1136 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1137 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1138 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1139 "weight": 42, # Width of a line (in pixels). 1140 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1141 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1142 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1143 "icon": "A String", # Icon name used for a point. 1144 }, 1145 ], 1146 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1147 }, 1148 "strokeColor": "A String", # Color of the line in #RRGGBB format. 1149 "strokeOpacity": 3.14, # Opacity of the line : 0.0 (transparent) to 1.0 (opaque). 1150 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the line color and opacity. 1151 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1152 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1153 "colors": [ # Array with two or more colors. 1154 { 1155 "color": "A String", # Color in #RRGGBB format. 1156 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1157 }, 1158 ], 1159 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1160 }, 1161 "columnName": "A String", # Name of the column whose value is used in the style. 1162 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1163 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1164 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1165 "weight": 42, # Width of a line (in pixels). 1166 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1167 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1168 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1169 "icon": "A String", # Icon name used for a point. 1170 }, 1171 ], 1172 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1173 }, 1174 }, 1175 "tableId": "A String", # Identifier for the table. 1176 "styleId": 42, # Identifier for the style setting (unique only within tables). 1177 }</pre> 1178</div> 1179 1180<div class="method"> 1181 <code class="details" id="update">update(tableId, styleId, body)</code> 1182 <pre>Updates an existing style. 1183 1184Args: 1185 tableId: string, Table whose style is being updated. (required) 1186 styleId: integer, Identifier (within a table) for the style being updated. (required) 1187 body: object, The request body. (required) 1188 The object takes the form of: 1189 1190{ # Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId. 1191 "markerOptions": { # Represents a PointStyle within a StyleSetting # Style definition for points in the table. 1192 "iconStyler": { # Represents a StyleFunction within a StyleSetting # Column or a bucket value from which the icon name is to be determined. 1193 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1194 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1195 "colors": [ # Array with two or more colors. 1196 { 1197 "color": "A String", # Color in #RRGGBB format. 1198 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1199 }, 1200 ], 1201 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1202 }, 1203 "columnName": "A String", # Name of the column whose value is used in the style. 1204 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1205 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1206 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1207 "weight": 42, # Width of a line (in pixels). 1208 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1209 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1210 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1211 "icon": "A String", # Icon name used for a point. 1212 }, 1213 ], 1214 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1215 }, 1216 "iconName": "A String", # Name of the icon. Use values defined in http://www.google.com/fusiontables/DataSource?dsrcid=308519 1217 }, 1218 "kind": "fusiontables#styleSetting", # The kind of item this is. A StyleSetting contains the style definitions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions. 1219 "name": "A String", # Optional name for the style setting. 1220 "polygonOptions": { # Represents a PolygonStyle within a StyleSetting # Style definition for polygons in the table. 1221 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the border color and opacity. 1222 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1223 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1224 "colors": [ # Array with two or more colors. 1225 { 1226 "color": "A String", # Color in #RRGGBB format. 1227 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1228 }, 1229 ], 1230 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1231 }, 1232 "columnName": "A String", # Name of the column whose value is used in the style. 1233 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1234 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1235 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1236 "weight": 42, # Width of a line (in pixels). 1237 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1238 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1239 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1240 "icon": "A String", # Icon name used for a point. 1241 }, 1242 ], 1243 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1244 }, 1245 "strokeWeight": 42, # Width of the polyon border in pixels. 1246 "strokeOpacity": 3.14, # Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque). 1247 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the polygon border. 1248 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1249 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1250 "colors": [ # Array with two or more colors. 1251 { 1252 "color": "A String", # Color in #RRGGBB format. 1253 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1254 }, 1255 ], 1256 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1257 }, 1258 "columnName": "A String", # Name of the column whose value is used in the style. 1259 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1260 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1261 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1262 "weight": 42, # Width of a line (in pixels). 1263 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1264 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1265 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1266 "icon": "A String", # Icon name used for a point. 1267 }, 1268 ], 1269 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1270 }, 1271 "fillColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient, or bucket styler that is used to determine the interior color and opacity of the polygon. 1272 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1273 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1274 "colors": [ # Array with two or more colors. 1275 { 1276 "color": "A String", # Color in #RRGGBB format. 1277 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1278 }, 1279 ], 1280 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1281 }, 1282 "columnName": "A String", # Name of the column whose value is used in the style. 1283 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1284 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1285 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1286 "weight": 42, # Width of a line (in pixels). 1287 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1288 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1289 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1290 "icon": "A String", # Icon name used for a point. 1291 }, 1292 ], 1293 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1294 }, 1295 "fillColor": "A String", # Color of the interior of the polygon in #RRGGBB format. 1296 "strokeColor": "A String", # Color of the polygon border in #RRGGBB format. 1297 "fillOpacity": 3.14, # Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque). 1298 }, 1299 "polylineOptions": { # Represents a LineStyle within a StyleSetting # Style definition for lines in the table. 1300 "strokeWeight": 42, # Width of the line in pixels. 1301 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the line. 1302 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1303 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1304 "colors": [ # Array with two or more colors. 1305 { 1306 "color": "A String", # Color in #RRGGBB format. 1307 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1308 }, 1309 ], 1310 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1311 }, 1312 "columnName": "A String", # Name of the column whose value is used in the style. 1313 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1314 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1315 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1316 "weight": 42, # Width of a line (in pixels). 1317 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1318 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1319 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1320 "icon": "A String", # Icon name used for a point. 1321 }, 1322 ], 1323 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1324 }, 1325 "strokeColor": "A String", # Color of the line in #RRGGBB format. 1326 "strokeOpacity": 3.14, # Opacity of the line : 0.0 (transparent) to 1.0 (opaque). 1327 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the line color and opacity. 1328 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1329 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1330 "colors": [ # Array with two or more colors. 1331 { 1332 "color": "A String", # Color in #RRGGBB format. 1333 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1334 }, 1335 ], 1336 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1337 }, 1338 "columnName": "A String", # Name of the column whose value is used in the style. 1339 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1340 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1341 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1342 "weight": 42, # Width of a line (in pixels). 1343 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1344 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1345 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1346 "icon": "A String", # Icon name used for a point. 1347 }, 1348 ], 1349 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1350 }, 1351 }, 1352 "tableId": "A String", # Identifier for the table. 1353 "styleId": 42, # Identifier for the style setting (unique only within tables). 1354 } 1355 1356 1357Returns: 1358 An object of the form: 1359 1360 { # Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId. 1361 "markerOptions": { # Represents a PointStyle within a StyleSetting # Style definition for points in the table. 1362 "iconStyler": { # Represents a StyleFunction within a StyleSetting # Column or a bucket value from which the icon name is to be determined. 1363 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1364 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1365 "colors": [ # Array with two or more colors. 1366 { 1367 "color": "A String", # Color in #RRGGBB format. 1368 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1369 }, 1370 ], 1371 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1372 }, 1373 "columnName": "A String", # Name of the column whose value is used in the style. 1374 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1375 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1376 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1377 "weight": 42, # Width of a line (in pixels). 1378 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1379 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1380 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1381 "icon": "A String", # Icon name used for a point. 1382 }, 1383 ], 1384 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1385 }, 1386 "iconName": "A String", # Name of the icon. Use values defined in http://www.google.com/fusiontables/DataSource?dsrcid=308519 1387 }, 1388 "kind": "fusiontables#styleSetting", # The kind of item this is. A StyleSetting contains the style definitions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions. 1389 "name": "A String", # Optional name for the style setting. 1390 "polygonOptions": { # Represents a PolygonStyle within a StyleSetting # Style definition for polygons in the table. 1391 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the border color and opacity. 1392 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1393 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1394 "colors": [ # Array with two or more colors. 1395 { 1396 "color": "A String", # Color in #RRGGBB format. 1397 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1398 }, 1399 ], 1400 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1401 }, 1402 "columnName": "A String", # Name of the column whose value is used in the style. 1403 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1404 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1405 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1406 "weight": 42, # Width of a line (in pixels). 1407 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1408 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1409 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1410 "icon": "A String", # Icon name used for a point. 1411 }, 1412 ], 1413 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1414 }, 1415 "strokeWeight": 42, # Width of the polyon border in pixels. 1416 "strokeOpacity": 3.14, # Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque). 1417 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the polygon border. 1418 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1419 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1420 "colors": [ # Array with two or more colors. 1421 { 1422 "color": "A String", # Color in #RRGGBB format. 1423 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1424 }, 1425 ], 1426 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1427 }, 1428 "columnName": "A String", # Name of the column whose value is used in the style. 1429 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1430 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1431 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1432 "weight": 42, # Width of a line (in pixels). 1433 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1434 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1435 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1436 "icon": "A String", # Icon name used for a point. 1437 }, 1438 ], 1439 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1440 }, 1441 "fillColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient, or bucket styler that is used to determine the interior color and opacity of the polygon. 1442 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1443 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1444 "colors": [ # Array with two or more colors. 1445 { 1446 "color": "A String", # Color in #RRGGBB format. 1447 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1448 }, 1449 ], 1450 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1451 }, 1452 "columnName": "A String", # Name of the column whose value is used in the style. 1453 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1454 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1455 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1456 "weight": 42, # Width of a line (in pixels). 1457 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1458 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1459 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1460 "icon": "A String", # Icon name used for a point. 1461 }, 1462 ], 1463 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1464 }, 1465 "fillColor": "A String", # Color of the interior of the polygon in #RRGGBB format. 1466 "strokeColor": "A String", # Color of the polygon border in #RRGGBB format. 1467 "fillOpacity": 3.14, # Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque). 1468 }, 1469 "polylineOptions": { # Represents a LineStyle within a StyleSetting # Style definition for lines in the table. 1470 "strokeWeight": 42, # Width of the line in pixels. 1471 "strokeWeightStyler": { # Represents a StyleFunction within a StyleSetting # Column-value or bucket styler that is used to determine the width of the line. 1472 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1473 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1474 "colors": [ # Array with two or more colors. 1475 { 1476 "color": "A String", # Color in #RRGGBB format. 1477 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1478 }, 1479 ], 1480 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1481 }, 1482 "columnName": "A String", # Name of the column whose value is used in the style. 1483 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1484 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1485 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1486 "weight": 42, # Width of a line (in pixels). 1487 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1488 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1489 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1490 "icon": "A String", # Icon name used for a point. 1491 }, 1492 ], 1493 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1494 }, 1495 "strokeColor": "A String", # Color of the line in #RRGGBB format. 1496 "strokeOpacity": 3.14, # Opacity of the line : 0.0 (transparent) to 1.0 (opaque). 1497 "strokeColorStyler": { # Represents a StyleFunction within a StyleSetting # Column-value, gradient or buckets styler that is used to determine the line color and opacity. 1498 "gradient": { # Gradient function that interpolates a range of colors based on column value. 1499 "max": 3.14, # Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1]. 1500 "colors": [ # Array with two or more colors. 1501 { 1502 "color": "A String", # Color in #RRGGBB format. 1503 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1504 }, 1505 ], 1506 "min": 3.14, # Lower-end of the interpolation range: rows with this value will be assigned to colors[0]. 1507 }, 1508 "columnName": "A String", # Name of the column whose value is used in the style. 1509 "buckets": [ # Bucket function that assigns a style based on the range a column value falls into. 1510 { # Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting. 1511 "opacity": 3.14, # Opacity of the color: 0.0 (transparent) to 1.0 (opaque). 1512 "weight": 42, # Width of a line (in pixels). 1513 "min": 3.14, # Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1514 "color": "A String", # Color of line or the interior of a polygon in #RRGGBB format. 1515 "max": 3.14, # Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. 1516 "icon": "A String", # Icon name used for a point. 1517 }, 1518 ], 1519 "kind": "A String", # Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls. 1520 }, 1521 }, 1522 "tableId": "A String", # Identifier for the table. 1523 "styleId": 42, # Identifier for the style setting (unique only within tables). 1524 }</pre> 1525</div> 1526 1527</body></html>