Class: Google::Apis::FusiontablesV1::PointStyle

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

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



363
364
365
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 363

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)


356
357
358
# File 'generated/google/apis/fusiontables_v1/classes.rb', line 356

def icon_name
  @icon_name
end

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