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.
Constructor Details
#initialize(**args) ⇒ PageviewData
Returns a new instance of PageviewData.
959 960 961 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 959 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
952 953 954 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 952 def page_path @page_path end |
#page_title ⇒ String
The title of the page that the visitor viewed.
Corresponds to the JSON property pageTitle
957 958 959 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 957 def page_title @page_title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
964 965 966 967 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 964 def update!(**args) @page_path = args[:page_path] if args.key?(:page_path) @page_title = args[:page_title] if args.key?(:page_title) end |