gogol-admin-reports-0.0.1: Google Admin Reports SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Reports.UserUsageReport.Get

Contents

Description

Retrieves a report which is a collection of properties / statistics for a set of users.

See: Admin Reports API Reference for reports.userUsageReport.get.

Synopsis

REST Resource

type UserUsageReportGetResource = "admin" :> ("reports" :> ("v1" :> ("usage" :> ("users" :> (Capture "userKey" Text :> ("dates" :> (Capture "date" Text :> (QueryParam "filters" Text :> (QueryParam "customerId" Text :> (QueryParam "parameters" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` UsageReports))))))))))))) Source

A resource alias for reports.userUsageReport.get method which the UserUsageReportGet request conforms to.

Creating a Request

userUsageReportGet Source

Creates a value of UserUsageReportGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

uurgFilters :: Lens' UserUsageReportGet (Maybe Text) Source

Represents the set of filters including parameter operator value.

uurgCustomerId :: Lens' UserUsageReportGet (Maybe Text) Source

Represents the customer for which the data is to be fetched.

uurgDate :: Lens' UserUsageReportGet Text Source

Represents the date in yyyy-mm-dd format for which the data is to be fetched.

uurgParameters :: Lens' UserUsageReportGet (Maybe Text) Source

Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2.

uurgPageToken :: Lens' UserUsageReportGet (Maybe Text) Source

Token to specify next page.

uurgUserKey :: Lens' UserUsageReportGet Text Source

Represents the profile id or the user email for which the data should be filtered.

uurgMaxResults :: Lens' UserUsageReportGet (Maybe Word32) Source

Maximum number of results to return. Maximum allowed is 1000