class Google::Apis::AnalyticsreportingV4::SearchUserActivityResponse
The response from `userActivity:get` call.
Attributes
This token should be passed to [SearchUserActivityRequest](# SearchUserActivityRequest
) to retrieve the next page. Corresponds to the JSON property `nextPageToken` @return [String]
This field represents the [sampling rate](support.google.com/analytics/ answer/2637192) for the given request and is a number between 0.0 to 1.0. See [ developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) for details. Corresponds to the JSON property `sampleRate` @return [Float]
Each record represents a session (device details, duration, etc). Corresponds to the JSON property `sessions` @return [Array<Google::Apis::AnalyticsreportingV4::UserActivitySession>]
Total rows returned by this query (across different pages). Corresponds to the JSON property `totalRows` @return [Fixnum]
Public Class Methods
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 1607 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 1612 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @sample_rate = args[:sample_rate] if args.key?(:sample_rate) @sessions = args[:sessions] if args.key?(:sessions) @total_rows = args[:total_rows] if args.key?(:total_rows) end