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

Contents

Description

Deletes a data source.

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

Synopsis

REST Resource

type SettingsDatasourcesDeleteResource = "v1" :> ("settings" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "debugOptions.enableDebugging" Bool :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))))) Source #

A resource alias for cloudsearch.settings.datasources.delete method which the SettingsDatasourcesDelete request conforms to.

Creating a Request

settingsDatasourcesDelete Source #

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

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

data SettingsDatasourcesDelete Source #

Deletes a data source.

See: settingsDatasourcesDelete smart constructor.

Instances
Eq SettingsDatasourcesDelete Source # 
Instance details

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

Data SettingsDatasourcesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: SettingsDatasourcesDelete -> Constr #

dataTypeOf :: SettingsDatasourcesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SettingsDatasourcesDelete Source # 
Instance details

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

Generic SettingsDatasourcesDelete Source # 
Instance details

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

Associated Types

type Rep SettingsDatasourcesDelete :: Type -> Type #

GoogleRequest SettingsDatasourcesDelete Source # 
Instance details

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

type Rep SettingsDatasourcesDelete Source # 
Instance details

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

type Rep SettingsDatasourcesDelete = D1 (MetaData "SettingsDatasourcesDelete" "Network.Google.Resource.CloudSearch.Settings.Datasources.Delete" "gogol-cloudsearch-0.4.0-5yB3RjcJJrULTqYmbhTTen" False) (C1 (MetaCons "SettingsDatasourcesDelete'" PrefixI True) ((S1 (MetaSel (Just "_sddXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_sddUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sddAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_sddUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sddName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_sddDebugOptionsEnableDebugging") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_sddCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SettingsDatasourcesDelete Source # 
Instance details

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

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

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

Request Lenses

sddUploadProtocol :: Lens' SettingsDatasourcesDelete (Maybe Text) Source #

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

sddUploadType :: Lens' SettingsDatasourcesDelete (Maybe Text) Source #

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

sddName :: Lens' SettingsDatasourcesDelete Text Source #

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

sddDebugOptionsEnableDebugging :: Lens' SettingsDatasourcesDelete (Maybe Bool) Source #

If set, the request will enable debugging features of Cloud Search. Only turn on this field, if asked by Google to help with debugging.