Class: Google::Apis::FusiontablesV2::PointStyle
- Inherits:
-
Object
- Object
- Google::Apis::FusiontablesV2::PointStyle
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/fusiontables_v2/classes.rb,
generated/google/apis/fusiontables_v2/representations.rb,
generated/google/apis/fusiontables_v2/representations.rb
Overview
Represents a PointStyle within a StyleSetting
Instance Attribute Summary collapse
-
#icon_name ⇒ String
Name of the icon.
-
#icon_styler ⇒ Google::Apis::FusiontablesV2::StyleFunction
Represents a StyleFunction within a StyleSetting Corresponds to the JSON property
iconStyler
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PointStyle
constructor
A new instance of PointStyle.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PointStyle
Returns a new instance of PointStyle
419 420 421 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 419 def initialize(**args) update!(**args) end |
Instance Attribute Details
#icon_name ⇒ String
Name of the icon. Use values defined in http://www.google.com/fusiontables/
DataSource?dsrcid=308519
Corresponds to the JSON property iconName
412 413 414 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 412 def icon_name @icon_name end |
#icon_styler ⇒ Google::Apis::FusiontablesV2::StyleFunction
Represents a StyleFunction within a StyleSetting
Corresponds to the JSON property iconStyler
417 418 419 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 417 def icon_styler @icon_styler end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
424 425 426 427 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 424 def update!(**args) @icon_name = args[:icon_name] if args.key?(:icon_name) @icon_styler = args[:icon_styler] if args.key?(:icon_styler) end |