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.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:

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.