class Google::Apis::FusiontablesV2::Bucket
Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting.
Attributes
Color of line or the interior of a polygon in #RRGGBB format. Corresponds to the JSON property `color` @return [String]
Icon name used for a point. Corresponds to the JSON property `icon` @return [String]
Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. Corresponds to the JSON property `max` @return [Float]
Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight. Corresponds to the JSON property `min` @return [Float]
Opacity of the color: 0.0 (transparent) to 1.0 (opaque). Corresponds to the JSON property `opacity` @return [Float]
Width of a line (in pixels). Corresponds to the JSON property `weight` @return [Fixnum]
Public Class Methods
# File generated/google/apis/fusiontables_v2/classes.rb, line 62 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/fusiontables_v2/classes.rb, line 67 def update!(**args) @color = args[:color] if args.key?(:color) @icon = args[:icon] if args.key?(:icon) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) @opacity = args[:opacity] if args.key?(:opacity) @weight = args[:weight] if args.key?(:weight) end