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

Contents

Description

Creates a search application.

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

Synopsis

REST Resource

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

A resource alias for cloudsearch.settings.searchapplications.create method which the SettingsSearchApplicationsCreate request conforms to.

Creating a Request

settingsSearchApplicationsCreate Source #

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

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

data SettingsSearchApplicationsCreate Source #

Creates a search application.

See: settingsSearchApplicationsCreate smart constructor.

Instances
Eq SettingsSearchApplicationsCreate Source # 
Instance details

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

Data SettingsSearchApplicationsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: SettingsSearchApplicationsCreate -> Constr #

dataTypeOf :: SettingsSearchApplicationsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SettingsSearchApplicationsCreate Source # 
Instance details

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

Generic SettingsSearchApplicationsCreate Source # 
Instance details

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

Associated Types

type Rep SettingsSearchApplicationsCreate :: Type -> Type #

GoogleRequest SettingsSearchApplicationsCreate Source # 
Instance details

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

type Rep SettingsSearchApplicationsCreate Source # 
Instance details

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

type Rep SettingsSearchApplicationsCreate = D1 (MetaData "SettingsSearchApplicationsCreate" "Network.Google.Resource.CloudSearch.Settings.SearchApplications.Create" "gogol-cloudsearch-0.4.0-5yB3RjcJJrULTqYmbhTTen" False) (C1 (MetaCons "SettingsSearchApplicationsCreate'" PrefixI True) ((S1 (MetaSel (Just "_ssacXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ssacUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ssacAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_ssacUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ssacPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SearchApplication) :*: S1 (MetaSel (Just "_ssacCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SettingsSearchApplicationsCreate Source # 
Instance details

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

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

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

Request Lenses

ssacUploadProtocol :: Lens' SettingsSearchApplicationsCreate (Maybe Text) Source #

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

ssacUploadType :: Lens' SettingsSearchApplicationsCreate (Maybe Text) Source #

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