class Google::Apis::FusiontablesV2::StyleSetting
Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId.
Attributes
The kind of item this is. A StyleSetting contains the style definitions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions. Corresponds to the JSON property `kind` @return [String]
Represents a PointStyle within a StyleSetting Corresponds to the JSON property `markerOptions` @return [Google::Apis::FusiontablesV2::PointStyle]
Optional name for the style setting. Corresponds to the JSON property `name` @return [String]
Represents a PolygonStyle within a StyleSetting Corresponds to the JSON property `polygonOptions` @return [Google::Apis::FusiontablesV2::PolygonStyle]
Represents a LineStyle within a StyleSetting Corresponds to the JSON property `polylineOptions` @return [Google::Apis::FusiontablesV2::LineStyle]
Identifier for the style setting (unique only within tables). Corresponds to the JSON property `styleId` @return [Fixnum]
Identifier for the table. Corresponds to the JSON property `tableId` @return [String]
Public Class Methods
# File generated/google/apis/fusiontables_v2/classes.rb, line 692 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/fusiontables_v2/classes.rb, line 697 def update!(**args) @kind = args[:kind] if args.key?(:kind) @marker_options = args[:marker_options] if args.key?(:marker_options) @name = args[:name] if args.key?(:name) @polygon_options = args[:polygon_options] if args.key?(:polygon_options) @polyline_options = args[:polyline_options] if args.key?(:polyline_options) @style_id = args[:style_id] if args.key?(:style_id) @table_id = args[:table_id] if args.key?(:table_id) end