Class: Google::Apis::FusiontablesV1::PointStyle
- Inherits:
-
Object
- Object
- Google::Apis::FusiontablesV1::PointStyle
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/fusiontables_v1/classes.rb,
generated/google/apis/fusiontables_v1/representations.rb,
generated/google/apis/fusiontables_v1/representations.rb
Overview
Represents a PointStyle within a StyleSetting
Instance Attribute Summary collapse
-
#icon_name ⇒ String
Name of the icon.
-
#icon_styler ⇒ Google::Apis::FusiontablesV1::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
363 364 365 |
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 363 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
356 357 358 |
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 356 def icon_name @icon_name end |
#icon_styler ⇒ Google::Apis::FusiontablesV1::StyleFunction
Represents a StyleFunction within a StyleSetting
Corresponds to the JSON property iconStyler
361 362 363 |
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 361 def icon_styler @icon_styler end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
368 369 370 371 |
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 368 def update!(**args) @icon_name = args[:icon_name] if args.key?(:icon_name) @icon_styler = args[:icon_styler] if args.key?(:icon_styler) end |