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

Contents

Description

Resets a search application to default settings. This will return an empty response.

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

Synopsis

REST Resource

type SettingsSearchApplicationsResetResource = "v1" :> ("settings" :> (CaptureMode "name" "reset" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResetSearchApplicationRequest :> Post '[JSON] Operation))))))))) Source #

A resource alias for cloudsearch.settings.searchapplications.reset method which the SettingsSearchApplicationsReset request conforms to.

Creating a Request

data SettingsSearchApplicationsReset Source #

Resets a search application to default settings. This will return an empty response.

See: settingsSearchApplicationsReset smart constructor.

Instances
Eq SettingsSearchApplicationsReset Source # 
Instance details

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

Data SettingsSearchApplicationsReset Source # 
Instance details

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

Methods

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

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

toConstr :: SettingsSearchApplicationsReset -> Constr #

dataTypeOf :: SettingsSearchApplicationsReset -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SettingsSearchApplicationsReset Source # 
Instance details

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

Generic SettingsSearchApplicationsReset Source # 
Instance details

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

Associated Types

type Rep SettingsSearchApplicationsReset :: Type -> Type #

GoogleRequest SettingsSearchApplicationsReset Source # 
Instance details

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

type Rep SettingsSearchApplicationsReset Source # 
Instance details

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

type Rep SettingsSearchApplicationsReset = D1 (MetaData "SettingsSearchApplicationsReset" "Network.Google.Resource.CloudSearch.Settings.SearchApplications.Reset" "gogol-cloudsearch-0.4.0-5yB3RjcJJrULTqYmbhTTen" False) (C1 (MetaCons "SettingsSearchApplicationsReset'" PrefixI True) ((S1 (MetaSel (Just "_ssarXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ssarUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ssarAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ssarUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ssarPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResetSearchApplicationRequest)) :*: (S1 (MetaSel (Just "_ssarName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ssarCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SettingsSearchApplicationsReset Source # 
Instance details

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

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

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

Request Lenses

ssarUploadProtocol :: Lens' SettingsSearchApplicationsReset (Maybe Text) Source #

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

ssarUploadType :: Lens' SettingsSearchApplicationsReset (Maybe Text) Source #

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

ssarName :: Lens' SettingsSearchApplicationsReset Text Source #

The name of the search application to be reset. Format: applications/{application_id}.