pub struct SearchUserActivityRequest {
pub activity_types: Option<Vec<String>>,
pub date_range: Option<DateRange>,
pub page_size: Option<i32>,
pub page_token: Option<String>,
pub user: Option<User>,
pub view_id: Option<String>,
}Expand description
The request to fetch User Report from Reporting API userActivity:get call.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- search user activity (request)
Fields§
§activity_types: Option<Vec<String>>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.
date_range: Option<DateRange>Date range for which to retrieve the user activity. If a date range is not provided, the default date range is (startDate: current date - 7 days, endDate: current date - 1 day).
page_size: Option<i32>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.
page_token: Option<String>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 request.
user: Option<User>Required. Unique user Id to query for. Every SearchUserActivityRequest must contain this field.
view_id: Option<String>Required. The Analytics view ID from which to retrieve data. Every SearchUserActivityRequest must contain the viewId.
Trait Implementations§
Source§impl Clone for SearchUserActivityRequest
impl Clone for SearchUserActivityRequest
Source§fn clone(&self) -> SearchUserActivityRequest
fn clone(&self) -> SearchUserActivityRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more