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

Contents

Description

Updates the schema of a data source.

See: Cloud Search API Reference for cloudsearch.indexing.datasources.updateSchema.

Synopsis

REST Resource

type IndexingDatasourcesUpdateSchemaResource = "v1" :> ("indexing" :> (Capture "name" Text :> ("schema" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateSchemaRequest :> Put '[JSON] Operation)))))))))) Source #

A resource alias for cloudsearch.indexing.datasources.updateSchema method which the IndexingDatasourcesUpdateSchema request conforms to.

Creating a Request

indexingDatasourcesUpdateSchema Source #

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

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

data IndexingDatasourcesUpdateSchema Source #

Updates the schema of a data source.

See: indexingDatasourcesUpdateSchema smart constructor.

Instances
Eq IndexingDatasourcesUpdateSchema Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.UpdateSchema

Data IndexingDatasourcesUpdateSchema Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.UpdateSchema

Methods

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

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

toConstr :: IndexingDatasourcesUpdateSchema -> Constr #

dataTypeOf :: IndexingDatasourcesUpdateSchema -> DataType #

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

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

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

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

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

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

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

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

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

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

Show IndexingDatasourcesUpdateSchema Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.UpdateSchema

Generic IndexingDatasourcesUpdateSchema Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.UpdateSchema

Associated Types

type Rep IndexingDatasourcesUpdateSchema :: Type -> Type #

GoogleRequest IndexingDatasourcesUpdateSchema Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.UpdateSchema

type Rep IndexingDatasourcesUpdateSchema Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.UpdateSchema

type Rep IndexingDatasourcesUpdateSchema = D1 (MetaData "IndexingDatasourcesUpdateSchema" "Network.Google.Resource.CloudSearch.Indexing.Datasources.UpdateSchema" "gogol-cloudsearch-0.4.0-5yB3RjcJJrULTqYmbhTTen" False) (C1 (MetaCons "IndexingDatasourcesUpdateSchema'" PrefixI True) ((S1 (MetaSel (Just "_idusXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_idusUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_idusAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_idusUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_idusPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UpdateSchemaRequest)) :*: (S1 (MetaSel (Just "_idusName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_idusCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes IndexingDatasourcesUpdateSchema Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.UpdateSchema

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

Defined in Network.Google.Resource.CloudSearch.Indexing.Datasources.UpdateSchema

Request Lenses

idusUploadProtocol :: Lens' IndexingDatasourcesUpdateSchema (Maybe Text) Source #

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

idusUploadType :: Lens' IndexingDatasourcesUpdateSchema (Maybe Text) Source #

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

idusName :: Lens' IndexingDatasourcesUpdateSchema Text Source #

Name of the data source to update Schema. Format: datasources/{source_id}