gogol-cloudsearch-0.5.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.Index.Datasources.Get

Contents

Description

Gets indexed item statistics for a single data source.

See: Cloud Search API Reference for cloudsearch.stats.index.datasources.get.

Synopsis

REST Resource

type StatsIndexDatasourcesGetResource = "v1" :> ("stats" :> ("index" :> (Capture "name" Text :> (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] GetDataSourceIndexStatsResponse))))))))))))))) Source #

A resource alias for cloudsearch.stats.index.datasources.get method which the StatsIndexDatasourcesGet request conforms to.

Creating a Request

data StatsIndexDatasourcesGet Source #

Gets indexed item statistics for a single data source.

See: statsIndexDatasourcesGet smart constructor.

Instances
Eq StatsIndexDatasourcesGet Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.Index.Datasources.Get

Data StatsIndexDatasourcesGet Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.Index.Datasources.Get

Methods

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

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

toConstr :: StatsIndexDatasourcesGet -> Constr #

dataTypeOf :: StatsIndexDatasourcesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StatsIndexDatasourcesGet Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.Index.Datasources.Get

Generic StatsIndexDatasourcesGet Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.Index.Datasources.Get

Associated Types

type Rep StatsIndexDatasourcesGet :: Type -> Type #

GoogleRequest StatsIndexDatasourcesGet Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.Index.Datasources.Get

type Rep StatsIndexDatasourcesGet Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.Index.Datasources.Get

type Rep StatsIndexDatasourcesGet = D1 (MetaData "StatsIndexDatasourcesGet" "Network.Google.Resource.CloudSearch.Stats.Index.Datasources.Get" "gogol-cloudsearch-0.5.0-EOXprtSr9uOkKdqUKbHUL" False) (C1 (MetaCons "StatsIndexDatasourcesGet'" PrefixI True) (((S1 (MetaSel (Just "_sidgFromDateMonth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_sidgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_sidgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_sidgFromDateDay") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_sidgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sidgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_sidgFromDateYear") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_sidgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sidgToDateDay") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))) :*: (S1 (MetaSel (Just "_sidgToDateYear") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_sidgToDateMonth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sidgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes StatsIndexDatasourcesGet Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.Index.Datasources.Get

type Scopes StatsIndexDatasourcesGet = "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 StatsIndexDatasourcesGet Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Stats.Index.Datasources.Get

Request Lenses

sidgFromDateMonth :: Lens' StatsIndexDatasourcesGet (Maybe Int32) Source #

Month of date. Must be from 1 to 12.

sidgUploadProtocol :: Lens' StatsIndexDatasourcesGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

sidgFromDateDay :: Lens' StatsIndexDatasourcesGet (Maybe Int32) Source #

Day of month. Must be from 1 to 31 and valid for the year and month.

sidgUploadType :: Lens' StatsIndexDatasourcesGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

sidgFromDateYear :: Lens' StatsIndexDatasourcesGet (Maybe Int32) Source #

Year of date. Must be from 1 to 9999.

sidgName :: Lens' StatsIndexDatasourcesGet Text Source #

The resource id of the data source to retrieve statistics for, in the following format: "datasources/{source_id}"

sidgToDateDay :: Lens' StatsIndexDatasourcesGet (Maybe Int32) Source #

Day of month. Must be from 1 to 31 and valid for the year and month.

sidgToDateYear :: Lens' StatsIndexDatasourcesGet (Maybe Int32) Source #

Year of date. Must be from 1 to 9999.

sidgToDateMonth :: Lens' StatsIndexDatasourcesGet (Maybe Int32) Source #

Month of date. Must be from 1 to 12.