gogol-cloudfunctions-0.4.0: Google Cloud Functions 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.CloudFunctions.Projects.Locations.Functions.Delete

Contents

Description

Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function.

See: Cloud Functions API Reference for cloudfunctions.projects.locations.functions.delete.

Synopsis

REST Resource

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

A resource alias for cloudfunctions.projects.locations.functions.delete method which the ProjectsLocationsFunctionsDelete request conforms to.

Creating a Request

projectsLocationsFunctionsDelete Source #

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

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

data ProjectsLocationsFunctionsDelete Source #

Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function.

See: projectsLocationsFunctionsDelete smart constructor.

Instances
Eq ProjectsLocationsFunctionsDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Delete

Data ProjectsLocationsFunctionsDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Delete

Methods

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

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

toConstr :: ProjectsLocationsFunctionsDelete -> Constr #

dataTypeOf :: ProjectsLocationsFunctionsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsFunctionsDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Delete

Generic ProjectsLocationsFunctionsDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Delete

Associated Types

type Rep ProjectsLocationsFunctionsDelete :: Type -> Type #

GoogleRequest ProjectsLocationsFunctionsDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Delete

type Rep ProjectsLocationsFunctionsDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Delete

type Rep ProjectsLocationsFunctionsDelete = D1 (MetaData "ProjectsLocationsFunctionsDelete" "Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Delete" "gogol-cloudfunctions-0.4.0-6sCZoOCvrpODwDOeEfObaJ" False) (C1 (MetaCons "ProjectsLocationsFunctionsDelete'" PrefixI True) ((S1 (MetaSel (Just "_plfdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plfdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plfdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_plfdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_plfdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plfdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsFunctionsDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Delete

type Scopes ProjectsLocationsFunctionsDelete = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsLocationsFunctionsDelete Source # 
Instance details

Defined in Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Delete

Request Lenses

plfdUploadProtocol :: Lens' ProjectsLocationsFunctionsDelete (Maybe Text) Source #

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

plfdUploadType :: Lens' ProjectsLocationsFunctionsDelete (Maybe Text) Source #

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

plfdName :: Lens' ProjectsLocationsFunctionsDelete Text Source #

The name of the function which should be deleted.