class Google::Apis::AnalyticsreportingV4::SearchUserActivityRequest
The request to fetch User
Report
from Reporting API `userActivity:get` call.
Attributes
Set of all activity types being requested. Only acvities matching these types will be returned in the response. If empty, all activies will be returned. Corresponds to the JSON property `activityTypes` @return [Array<String>]
A contiguous set of days: startDate, startDate + 1 day, …, endDate. The start and end dates are specified in [ISO8601](en.wikipedia.org/wiki/ ISO_8601) date format `YYYY-MM-DD`. Corresponds to the JSON property `dateRange` @return [Google::Apis::AnalyticsreportingV4::DateRange]
Page size is for paging and specifies the maximum number of returned rows. Page size should be > 0. If the value is 0 or if the field isn't specified, the request returns the default of 1000 rows per page. Corresponds to the JSON property `pageSize` @return [Fixnum]
A continuation token to get the next page of the results. Adding this to the request will return the rows after the pageToken. The pageToken should be the value returned in the nextPageToken parameter in the response to the [ SearchUserActivityRequest](#SearchUserActivityRequest) request. Corresponds to the JSON property `pageToken` @return [String]
Contains information to identify a particular user uniquely. Corresponds to the JSON property `user` @return [Google::Apis::AnalyticsreportingV4::User]
Required. The Analytics [view ID](support.google.com/analytics/answer/ 1009618) from which to retrieve data. Every [SearchUserActivityRequest](# SearchUserActivityRequest
) must contain the `viewId`. Corresponds to the JSON property `viewId` @return [String]
Public Class Methods
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 1564 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 1569 def update!(**args) @activity_types = args[:activity_types] if args.key?(:activity_types) @date_range = args[:date_range] if args.key?(:date_range) @page_size = args[:page_size] if args.key?(:page_size) @page_token = args[:page_token] if args.key?(:page_token) @user = args[:user] if args.key?(:user) @view_id = args[:view_id] if args.key?(:view_id) end