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

Contents

Description

Creates data source.

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

Synopsis

REST Resource

type SettingsDatasourcesCreateResource = "v1" :> ("settings" :> ("datasources" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DataSource :> Post '[JSON] Operation))))))))) Source #

A resource alias for cloudsearch.settings.datasources.create method which the SettingsDatasourcesCreate request conforms to.

Creating a Request

settingsDatasourcesCreate Source #

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

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

data SettingsDatasourcesCreate Source #

Creates data source.

See: settingsDatasourcesCreate smart constructor.

Instances
Eq SettingsDatasourcesCreate Source # 
Instance details

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

Data SettingsDatasourcesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: SettingsDatasourcesCreate -> Constr #

dataTypeOf :: SettingsDatasourcesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SettingsDatasourcesCreate Source # 
Instance details

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

Generic SettingsDatasourcesCreate Source # 
Instance details

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

Associated Types

type Rep SettingsDatasourcesCreate :: Type -> Type #

GoogleRequest SettingsDatasourcesCreate Source # 
Instance details

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

type Rep SettingsDatasourcesCreate Source # 
Instance details

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

type Rep SettingsDatasourcesCreate = D1 (MetaData "SettingsDatasourcesCreate" "Network.Google.Resource.CloudSearch.Settings.Datasources.Create" "gogol-cloudsearch-0.4.0-5yB3RjcJJrULTqYmbhTTen" False) (C1 (MetaCons "SettingsDatasourcesCreate'" PrefixI True) ((S1 (MetaSel (Just "_sdcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_sdcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sdcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_sdcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sdcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DataSource) :*: S1 (MetaSel (Just "_sdcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SettingsDatasourcesCreate Source # 
Instance details

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

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

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

Request Lenses

sdcUploadProtocol :: Lens' SettingsDatasourcesCreate (Maybe Text) Source #

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

sdcUploadType :: Lens' SettingsDatasourcesCreate (Maybe Text) Source #

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