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