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

Copyright(c) 2015-2016 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:

data UserUsageReportGet Source #

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

See: userUsageReportGet smart constructor.

Instances

Eq UserUsageReportGet Source # 
Data UserUsageReportGet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UserUsageReportGet -> c UserUsageReportGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserUsageReportGet #

toConstr :: UserUsageReportGet -> Constr #

dataTypeOf :: UserUsageReportGet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UserUsageReportGet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserUsageReportGet) #

gmapT :: (forall b. Data b => b -> b) -> UserUsageReportGet -> UserUsageReportGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserUsageReportGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserUsageReportGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> UserUsageReportGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UserUsageReportGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserUsageReportGet -> m UserUsageReportGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserUsageReportGet -> m UserUsageReportGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserUsageReportGet -> m UserUsageReportGet #

Show UserUsageReportGet Source # 
Generic UserUsageReportGet Source # 
GoogleRequest UserUsageReportGet Source # 
type Rep UserUsageReportGet Source # 
type Rep UserUsageReportGet = D1 (MetaData "UserUsageReportGet" "Network.Google.Resource.Reports.UserUsageReport.Get" "gogol-admin-reports-0.2.0-BxH5Q7O0nRCDSnwioDPGHr" False) (C1 (MetaCons "UserUsageReportGet'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_uurgFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_uurgCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uurgDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_uurgParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uurgPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_uurgUserKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_uurgMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))))))
type Scopes UserUsageReportGet Source # 
type Scopes UserUsageReportGet = (:) Symbol "https://www.googleapis.com/auth/admin.reports.usage.readonly" ([] Symbol)
type Rs UserUsageReportGet Source # 

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