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.Indexing.Datasources.Items.Unreserve

Contents

Description

Unreserves all items from a queue, making them all eligible to be polled. This method is useful for resetting the indexing queue after a connector has been restarted.

See: Cloud Search API Reference for cloudsearch.indexing.datasources.items.unreserve.

Synopsis

REST Resource

type IndexingDatasourcesItemsUnreserveResource = "v1" :> ("indexing" :> (Capture "name" Text :> ("items:unreserve" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UnreserveItemsRequest :> Post '[JSON] Operation)))))))))) Source #

A resource alias for cloudsearch.indexing.datasources.items.unreserve method which the IndexingDatasourcesItemsUnreserve request conforms to.

Creating a Request

indexingDatasourcesItemsUnreserve Source #

Creates a value of IndexingDatasourcesItemsUnreserve with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data IndexingDatasourcesItemsUnreserve Source #

Unreserves all items from a queue, making them all eligible to be polled. This method is useful for resetting the indexing queue after a connector has been restarted.

See: indexingDatasourcesItemsUnreserve smart constructor.

Instances
Eq IndexingDatasourcesItemsUnreserve Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.Items.Unreserve

Data IndexingDatasourcesItemsUnreserve Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.Items.Unreserve

Methods

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

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

toConstr :: IndexingDatasourcesItemsUnreserve -> Constr #

dataTypeOf :: IndexingDatasourcesItemsUnreserve -> DataType #

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

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

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

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

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

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

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

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

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

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

Show IndexingDatasourcesItemsUnreserve Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.Items.Unreserve

Generic IndexingDatasourcesItemsUnreserve Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.Items.Unreserve

Associated Types

type Rep IndexingDatasourcesItemsUnreserve :: Type -> Type #

GoogleRequest IndexingDatasourcesItemsUnreserve Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.Items.Unreserve

type Rep IndexingDatasourcesItemsUnreserve Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.Items.Unreserve

type Rep IndexingDatasourcesItemsUnreserve = D1 (MetaData "IndexingDatasourcesItemsUnreserve" "Network.Google.Resource.CloudSearch.Indexing.Datasources.Items.Unreserve" "gogol-cloudsearch-0.5.0-EOXprtSr9uOkKdqUKbHUL" False) (C1 (MetaCons "IndexingDatasourcesItemsUnreserve'" PrefixI True) ((S1 (MetaSel (Just "_idiuXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_idiuUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_idiuAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_idiuUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_idiuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UnreserveItemsRequest)) :*: (S1 (MetaSel (Just "_idiuName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_idiuCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes IndexingDatasourcesItemsUnreserve Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.Items.Unreserve

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

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.Items.Unreserve

Request Lenses

idiuUploadProtocol :: Lens' IndexingDatasourcesItemsUnreserve (Maybe Text) Source #

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

idiuUploadType :: Lens' IndexingDatasourcesItemsUnreserve (Maybe Text) Source #

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

idiuName :: Lens' IndexingDatasourcesItemsUnreserve Text Source #

Name of the Data Source to unreserve all items. Format: datasources/{source_id}