Class: Google::Apis::FusiontablesV2::StyleSettingList
- Inherits:
-
Object
- Object
- Google::Apis::FusiontablesV2::StyleSettingList
- 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 list of styles for a given table.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::FusiontablesV2::StyleSetting>
All requested style settings.
-
#kind ⇒ String
The kind of item this is.
-
#next_page_token ⇒ String
Token used to access the next page of this result.
-
#total_items ⇒ Fixnum
Total number of styles for the table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StyleSettingList
constructor
A new instance of StyleSettingList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ StyleSettingList
Returns a new instance of StyleSettingList
735 736 737 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 735 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::FusiontablesV2::StyleSetting>
All requested style settings.
Corresponds to the JSON property items
716 717 718 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 716 def items @items end |
#kind ⇒ String
The kind of item this is. For a style list, this is always fusiontables#
styleSettingList .
Corresponds to the JSON property kind
722 723 724 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 722 def kind @kind end |
#next_page_token ⇒ String
Token used to access the next page of this result. No token is displayed if
there are no more styles left.
Corresponds to the JSON property nextPageToken
728 729 730 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 728 def next_page_token @next_page_token end |
#total_items ⇒ Fixnum
Total number of styles for the table.
Corresponds to the JSON property totalItems
733 734 735 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 733 def total_items @total_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
740 741 742 743 744 745 |
# File 'generated/google/apis/fusiontables_v2/classes.rb', line 740 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_items = args[:total_items] if args.key?(:total_items) end |