Class: Google::Apis::BloggerV3::Pageviews::Count
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::Pageviews::Count
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/blogger_v3/classes.rb,
generated/google/apis/blogger_v3/representations.rb,
generated/google/apis/blogger_v3/representations.rb
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
Count of page views for the given time range.
-
#time_range ⇒ String
Time range the given count applies to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Count
constructor
A new instance of Count.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Count
Returns a new instance of Count.
792 793 794 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 792 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Count of page views for the given time range.
Corresponds to the JSON property count
785 786 787 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 785 def count @count end |
#time_range ⇒ String
Time range the given count applies to.
Corresponds to the JSON property timeRange
790 791 792 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 790 def time_range @time_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
797 798 799 800 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 797 def update!(**args) @count = args[:count] if args.key?(:count) @time_range = args[:time_range] if args.key?(:time_range) end |