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

Contents

Description

Pushes an item onto a queue for later polling and updating.

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

Synopsis

REST Resource

type IndexingDatasourcesItemsPushResource = "v1" :> ("indexing" :> (CaptureMode "name" "push" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PushItemRequest :> Post '[JSON] Item))))))))) Source #

A resource alias for cloudsearch.indexing.datasources.items.push method which the IndexingDatasourcesItemsPush request conforms to.

Creating a Request

indexingDatasourcesItemsPush Source #

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

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

data IndexingDatasourcesItemsPush Source #

Pushes an item onto a queue for later polling and updating.

See: indexingDatasourcesItemsPush smart constructor.

Instances
Eq IndexingDatasourcesItemsPush Source # 
Instance details

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

Data IndexingDatasourcesItemsPush Source # 
Instance details

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

Methods

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

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

toConstr :: IndexingDatasourcesItemsPush -> Constr #

dataTypeOf :: IndexingDatasourcesItemsPush -> DataType #

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

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

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

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

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

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

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

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

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

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

Show IndexingDatasourcesItemsPush Source # 
Instance details

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

Generic IndexingDatasourcesItemsPush Source # 
Instance details

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

Associated Types

type Rep IndexingDatasourcesItemsPush :: Type -> Type #

GoogleRequest IndexingDatasourcesItemsPush Source # 
Instance details

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

type Rep IndexingDatasourcesItemsPush Source # 
Instance details

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

type Rep IndexingDatasourcesItemsPush = D1 (MetaData "IndexingDatasourcesItemsPush" "Network.Google.Resource.CloudSearch.Indexing.Datasources.Items.Push" "gogol-cloudsearch-0.4.0-5yB3RjcJJrULTqYmbhTTen" False) (C1 (MetaCons "IndexingDatasourcesItemsPush'" PrefixI True) ((S1 (MetaSel (Just "_idipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_idipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_idipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_idipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_idipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PushItemRequest)) :*: (S1 (MetaSel (Just "_idipName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_idipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes IndexingDatasourcesItemsPush Source # 
Instance details

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

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

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

Request Lenses

idipUploadProtocol :: Lens' IndexingDatasourcesItemsPush (Maybe Text) Source #

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

idipUploadType :: Lens' IndexingDatasourcesItemsPush (Maybe Text) Source #

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

idipName :: Lens' IndexingDatasourcesItemsPush Text Source #

Name of the item to push into the indexing queue. Format: datasources/{source_id}/items/{ID} This is a required field. The maximum length is 1536 characters.