Class: Google::Apis::FusiontablesV2::PointStyle

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_nameString

Name of the icon. Use values defined in http://www.google.com/fusiontables/ DataSource?dsrcid=308519 Corresponds to the JSON property iconName

Returns:

  • (String)


412
413
414
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 412

def icon_name
  @icon_name
end

#icon_stylerGoogle::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