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

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_idString

Blog Id Corresponds to the JSON property blogId

Returns:

  • (String)


755
756
757
# File 'generated/google/apis/blogger_v3/classes.rb', line 755

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



760
761
762
# File 'generated/google/apis/blogger_v3/classes.rb', line 760

def counts
  @counts
end

#kindString

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

Returns:

  • (String)


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