| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.Reports.CustomerUsageReports.Get
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
- 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)))))))))
- customerUsageReportsGet :: Text -> CustomerUsageReportsGet
- data CustomerUsageReportsGet
- curgCustomerId :: Lens' CustomerUsageReportsGet (Maybe Text)
- curgDate :: Lens' CustomerUsageReportsGet Text
- curgParameters :: Lens' CustomerUsageReportsGet (Maybe Text)
- curgPageToken :: Lens' CustomerUsageReportsGet (Maybe Text)
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 #
Arguments
| :: Text | |
| -> CustomerUsageReportsGet |
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
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.