gogol-admin-reports-0.5.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.CustomerUsageReports.Get

Contents

Description

Retrieves a report which is a collection of properties / statistics for a specific customer.

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

Synopsis

REST Resource

type CustomerUsageReportsGetResource = "admin" :> ("reports" :> ("v1" :> ("usage" :> ("dates" :> (Capture "date" Text :> (QueryParam "customerId" Text :> (QueryParam "parameters" Text :> (QueryParam "pageToken" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] UsageReports))))))))) Source #

A resource alias for reports.customerUsageReports.get method which the CustomerUsageReportsGet request conforms to.

Creating a Request

customerUsageReportsGet Source #

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

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

data CustomerUsageReportsGet Source #

Retrieves a report which is a collection of properties / statistics for a specific customer.

See: customerUsageReportsGet smart constructor.

Instances
Eq CustomerUsageReportsGet Source # 
Instance details

Defined in Network.Google.Resource.Reports.CustomerUsageReports.Get

Data CustomerUsageReportsGet Source # 
Instance details

Defined in Network.Google.Resource.Reports.CustomerUsageReports.Get

Methods

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

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

toConstr :: CustomerUsageReportsGet -> Constr #

dataTypeOf :: CustomerUsageReportsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomerUsageReportsGet Source # 
Instance details

Defined in Network.Google.Resource.Reports.CustomerUsageReports.Get

Generic CustomerUsageReportsGet Source # 
Instance details

Defined in Network.Google.Resource.Reports.CustomerUsageReports.Get

Associated Types

type Rep CustomerUsageReportsGet :: Type -> Type #

GoogleRequest CustomerUsageReportsGet Source # 
Instance details

Defined in Network.Google.Resource.Reports.CustomerUsageReports.Get

type Rep CustomerUsageReportsGet Source # 
Instance details

Defined in Network.Google.Resource.Reports.CustomerUsageReports.Get

type Rep CustomerUsageReportsGet = D1 (MetaData "CustomerUsageReportsGet" "Network.Google.Resource.Reports.CustomerUsageReports.Get" "gogol-admin-reports-0.5.0-9bcFr5FmZ1h8uUi7Dnqf7F" False) (C1 (MetaCons "CustomerUsageReportsGet'" PrefixI True) ((S1 (MetaSel (Just "_curgCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_curgDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_curgParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_curgPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes CustomerUsageReportsGet Source # 
Instance details

Defined in Network.Google.Resource.Reports.CustomerUsageReports.Get

type Scopes CustomerUsageReportsGet = "https://www.googleapis.com/auth/admin.reports.usage.readonly" ': ([] :: [Symbol])
type Rs CustomerUsageReportsGet Source # 
Instance details

Defined in Network.Google.Resource.Reports.CustomerUsageReports.Get

Request Lenses

curgCustomerId :: Lens' CustomerUsageReportsGet (Maybe Text) Source #

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

curgDate :: Lens' CustomerUsageReportsGet Text Source #

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

curgParameters :: Lens' CustomerUsageReportsGet (Maybe Text) Source #

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

curgPageToken :: Lens' CustomerUsageReportsGet (Maybe Text) Source #

Token to specify next page.