Class: Google::Apis::BloggerV3::Pageviews
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::Pageviews
- 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
Defined Under Namespace
Classes: Count
Instance Attribute Summary collapse
-
#blog_id ⇒ String
Blog Id.
-
#counts ⇒ Array<Google::Apis::BloggerV3::Pageviews::Count>
The container of posts in this blog.
-
#kind ⇒ String
The kind of this entry.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Pageviews
constructor
A new instance of Pageviews.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Pageviews
Returns a new instance of Pageviews.
773 774 775 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 773 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blog_id ⇒ String
Blog Id.
Corresponds to the JSON property blogId
761 762 763 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 761 def blog_id @blog_id end |
#counts ⇒ Array<Google::Apis::BloggerV3::Pageviews::Count>
The container of posts in this blog.
Corresponds to the JSON property counts
766 767 768 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 766 def counts @counts end |
#kind ⇒ String
The kind of this entry. Always blogger#page_views.
Corresponds to the JSON property kind
771 772 773 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 771 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
778 779 780 781 782 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 778 def update!(**args) @blog_id = args[:blog_id] if args.key?(:blog_id) @counts = args[:counts] if args.key?(:counts) @kind = args[:kind] if args.key?(:kind) end |