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.Settings.Datasources.Update

Contents

Description

Updates a data source.

See: Cloud Search API Reference for cloudsearch.settings.datasources.update.

Synopsis

REST Resource

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

A resource alias for cloudsearch.settings.datasources.update method which the SettingsDatasourcesUpdate request conforms to.

Creating a Request

settingsDatasourcesUpdate Source #

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

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

data SettingsDatasourcesUpdate Source #

Updates a data source.

See: settingsDatasourcesUpdate smart constructor.

Instances
Eq SettingsDatasourcesUpdate Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Settings.Datasources.Update

Data SettingsDatasourcesUpdate Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Settings.Datasources.Update

Methods

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

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

toConstr :: SettingsDatasourcesUpdate -> Constr #

dataTypeOf :: SettingsDatasourcesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SettingsDatasourcesUpdate Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Settings.Datasources.Update

Generic SettingsDatasourcesUpdate Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Settings.Datasources.Update

Associated Types

type Rep SettingsDatasourcesUpdate :: Type -> Type #

GoogleRequest SettingsDatasourcesUpdate Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Settings.Datasources.Update

type Rep SettingsDatasourcesUpdate Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Settings.Datasources.Update

type Rep SettingsDatasourcesUpdate = D1 (MetaData "SettingsDatasourcesUpdate" "Network.Google.Resource.CloudSearch.Settings.Datasources.Update" "gogol-cloudsearch-0.4.0-5yB3RjcJJrULTqYmbhTTen" False) (C1 (MetaCons "SettingsDatasourcesUpdate'" PrefixI True) ((S1 (MetaSel (Just "_sduXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_sduUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sduAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_sduUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sduPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UpdateDataSourceRequest)) :*: (S1 (MetaSel (Just "_sduName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sduCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SettingsDatasourcesUpdate Source # 
Instance details

Defined in Network.Google.Resource.CloudSearch.Settings.Datasources.Update

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

Defined in Network.Google.Resource.CloudSearch.Settings.Datasources.Update

Request Lenses

sduUploadProtocol :: Lens' SettingsDatasourcesUpdate (Maybe Text) Source #

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

sduUploadType :: Lens' SettingsDatasourcesUpdate (Maybe Text) Source #

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

sduName :: Lens' SettingsDatasourcesUpdate Text Source #

Name of the data source resource. Format: datasources/{source_id}. The name is ignored when creating a data source.