Class: Google::Apis::BloggerV3::Pageviews
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::Pageviews
- 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
Defined Under Namespace
Classes: Count
Instance Attribute Summary collapse
-
#blog_id ⇒ String
Blog Id Corresponds to the JSON property
blogId
. -
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Pageviews
Returns a new instance of Pageviews
767 768 769 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 767 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blog_id ⇒ String
Blog Id
Corresponds to the JSON property blogId
755 756 757 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 755 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
760 761 762 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 760 def counts @counts end |
#kind ⇒ String
The kind of this entry. Always blogger#page_views
Corresponds to the JSON property kind
765 766 767 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 765 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
772 773 774 775 776 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 772 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 |