Class: Google::Apis::BloggerV3::Pageviews

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

Blog Id. Corresponds to the JSON property blogId

Returns:

  • (String)


761
762
763
# File 'lib/google/apis/blogger_v3/classes.rb', line 761

def blog_id
  @blog_id
end

#countsArray<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

#kindString

The kind of this entry. Always blogger#page_views. Corresponds to the JSON property kind

Returns:

  • (String)


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