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.Index

Contents

Description

Updates Item ACL, metadata, and content. It will insert the Item if it does not exist. This method does not support partial updates. Fields with no provided values are cleared out in the Cloud Search index.

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

Synopsis

REST Resource

type IndexingDatasourcesItemsIndexResource = "v1" :> ("indexing" :> (CaptureMode "name" "index" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] IndexItemRequest :> Post '[JSON] Operation))))))))) Source #

A resource alias for cloudsearch.indexing.datasources.items.index method which the IndexingDatasourcesItemsIndex request conforms to.

Creating a Request

indexingDatasourcesItemsIndex Source #

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

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

data IndexingDatasourcesItemsIndex Source #

Updates Item ACL, metadata, and content. It will insert the Item if it does not exist. This method does not support partial updates. Fields with no provided values are cleared out in the Cloud Search index.

See: indexingDatasourcesItemsIndex smart constructor.

Instances
Eq IndexingDatasourcesItemsIndex Source # 
Instance details

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

Data IndexingDatasourcesItemsIndex Source # 
Instance details

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

Methods

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

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

toConstr :: IndexingDatasourcesItemsIndex -> Constr #

dataTypeOf :: IndexingDatasourcesItemsIndex -> DataType #

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

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

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

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

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

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

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

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

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

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

Show IndexingDatasourcesItemsIndex Source # 
Instance details

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

Generic IndexingDatasourcesItemsIndex Source # 
Instance details

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

Associated Types

type Rep IndexingDatasourcesItemsIndex :: Type -> Type #

GoogleRequest IndexingDatasourcesItemsIndex Source # 
Instance details

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

type Rep IndexingDatasourcesItemsIndex Source # 
Instance details

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

type Rep IndexingDatasourcesItemsIndex = D1 (MetaData "IndexingDatasourcesItemsIndex" "Network.Google.Resource.CloudSearch.Indexing.Datasources.Items.Index" "gogol-cloudsearch-0.4.0-5yB3RjcJJrULTqYmbhTTen" False) (C1 (MetaCons "IndexingDatasourcesItemsIndex'" PrefixI True) ((S1 (MetaSel (Just "_idiiXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_idiiUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_idiiAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_idiiUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_idiiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 IndexItemRequest)) :*: (S1 (MetaSel (Just "_idiiName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_idiiCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes IndexingDatasourcesItemsIndex Source # 
Instance details

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

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

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

Request Lenses

idiiUploadProtocol :: Lens' IndexingDatasourcesItemsIndex (Maybe Text) Source #

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

idiiUploadType :: Lens' IndexingDatasourcesItemsIndex (Maybe Text) Source #

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

idiiName :: Lens' IndexingDatasourcesItemsIndex Text Source #

Name of the Item. Format: datasources/{source_id}/items/{item_id} This is a required field. The maximum length is 1536 characters.