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 |
Gets indexed item statistics aggreggated across all data sources.
See: Cloud Search API Reference for cloudsearch.stats.getIndex
.
Synopsis
- type StatsGetIndexResource = "v1" :> ("stats" :> ("index" :> (QueryParam "fromDate.month" (Textual Int32) :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "fromDate.day" (Textual Int32) :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "fromDate.year" (Textual Int32) :> (QueryParam "toDate.day" (Textual Int32) :> (QueryParam "toDate.year" (Textual Int32) :> (QueryParam "toDate.month" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetCustomerIndexStatsResponse))))))))))))))
- statsGetIndex :: StatsGetIndex
- data StatsGetIndex
- sgiFromDateMonth :: Lens' StatsGetIndex (Maybe Int32)
- sgiXgafv :: Lens' StatsGetIndex (Maybe Xgafv)
- sgiUploadProtocol :: Lens' StatsGetIndex (Maybe Text)
- sgiFromDateDay :: Lens' StatsGetIndex (Maybe Int32)
- sgiAccessToken :: Lens' StatsGetIndex (Maybe Text)
- sgiUploadType :: Lens' StatsGetIndex (Maybe Text)
- sgiFromDateYear :: Lens' StatsGetIndex (Maybe Int32)
- sgiToDateDay :: Lens' StatsGetIndex (Maybe Int32)
- sgiToDateYear :: Lens' StatsGetIndex (Maybe Int32)
- sgiToDateMonth :: Lens' StatsGetIndex (Maybe Int32)
- sgiCallback :: Lens' StatsGetIndex (Maybe Text)
REST Resource
type StatsGetIndexResource = "v1" :> ("stats" :> ("index" :> (QueryParam "fromDate.month" (Textual Int32) :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "fromDate.day" (Textual Int32) :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "fromDate.year" (Textual Int32) :> (QueryParam "toDate.day" (Textual Int32) :> (QueryParam "toDate.year" (Textual Int32) :> (QueryParam "toDate.month" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetCustomerIndexStatsResponse)))))))))))))) Source #
A resource alias for cloudsearch.stats.getIndex
method which the
StatsGetIndex
request conforms to.
Creating a Request
statsGetIndex :: StatsGetIndex Source #
Creates a value of StatsGetIndex
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StatsGetIndex Source #
Gets indexed item statistics aggreggated across all data sources.
See: statsGetIndex
smart constructor.
Instances
Request Lenses
sgiFromDateMonth :: Lens' StatsGetIndex (Maybe Int32) Source #
Month of date. Must be from 1 to 12.
sgiUploadProtocol :: Lens' StatsGetIndex (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sgiFromDateDay :: Lens' StatsGetIndex (Maybe Int32) Source #
Day of month. Must be from 1 to 31 and valid for the year and month.
sgiAccessToken :: Lens' StatsGetIndex (Maybe Text) Source #
OAuth access token.
sgiUploadType :: Lens' StatsGetIndex (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
sgiFromDateYear :: Lens' StatsGetIndex (Maybe Int32) Source #
Year of date. Must be from 1 to 9999.
sgiToDateDay :: Lens' StatsGetIndex (Maybe Int32) Source #
Day of month. Must be from 1 to 31 and valid for the year and month.
sgiToDateYear :: Lens' StatsGetIndex (Maybe Int32) Source #
Year of date. Must be from 1 to 9999.
sgiToDateMonth :: Lens' StatsGetIndex (Maybe Int32) Source #
Month of date. Must be from 1 to 12.
sgiCallback :: Lens' StatsGetIndex (Maybe Text) Source #
JSONP