Class: Google::Apis::AnalyticsreportingV4::PageviewData
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsreportingV4::PageviewData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsreporting_v4/classes.rb,
generated/google/apis/analyticsreporting_v4/representations.rb,
generated/google/apis/analyticsreporting_v4/representations.rb
Overview
Represents details collected when the visitor views a page.
Instance Attribute Summary collapse
-
#page_path ⇒ String
The URL of the page that the visitor viewed.
-
#page_title ⇒ String
The title of the page that the visitor viewed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PageviewData
constructor
A new instance of PageviewData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PageviewData
Returns a new instance of PageviewData.
998 999 1000 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 998 def initialize(**args) update!(**args) end |
Instance Attribute Details
#page_path ⇒ String
The URL of the page that the visitor viewed.
Corresponds to the JSON property pagePath
991 992 993 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 991 def page_path @page_path end |
#page_title ⇒ String
The title of the page that the visitor viewed.
Corresponds to the JSON property pageTitle
996 997 998 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 996 def page_title @page_title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1003 1004 1005 1006 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1003 def update!(**args) @page_path = args[:page_path] if args.key?(:page_path) @page_title = args[:page_title] if args.key?(:page_title) end |