gogol-cloudsearch-0.4.0: Google Cloud Search 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.CloudSearch.Stats.GetIndex

Contents

Description

Gets indexed item statistics aggreggated across all data sources.

See: Cloud Search API Reference for cloudsearch.stats.getIndex.

Synopsis

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
Eq StatsGetIndex Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.GetIndex

Data StatsGetIndex Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.GetIndex

Methods

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

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

toConstr :: StatsGetIndex -> Constr #

dataTypeOf :: StatsGetIndex -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StatsGetIndex Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.GetIndex

Generic StatsGetIndex Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.GetIndex

Associated Types

type Rep StatsGetIndex :: Type -> Type #

GoogleRequest StatsGetIndex Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.GetIndex

Associated Types

type Rs StatsGetIndex :: Type #

type Scopes StatsGetIndex :: [Symbol] #

type Rep StatsGetIndex Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.GetIndex

type Scopes StatsGetIndex Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.GetIndex

type Scopes StatsGetIndex = "https://www.googleapis.com/auth/cloud_search" ': ("https://www.googleapis.com/auth/cloud_search.stats" ': ("https://www.googleapis.com/auth/cloud_search.stats.indexing" ': ([] :: [Symbol])))
type Rs StatsGetIndex Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.GetIndex

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.

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.