Class: Google::Apis::BloggerV3::Pageviews::Count
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::Pageviews::Count
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/blogger_v3/classes.rb,
lib/google/apis/blogger_v3/representations.rb,
lib/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.
798 799 800 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 798 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
791 792 793 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 791 def count @count end |
#time_range ⇒ String
Time range the given count applies to.
Corresponds to the JSON property timeRange
796 797 798 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 796 def time_range @time_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
803 804 805 806 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 803 def update!(**args) @count = args[:count] if args.key?(:count) @time_range = args[:time_range] if args.key?(:time_range) end |