gogol-firebase-rules-0.4.0: Google Firebase Rules 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.FirebaseRules.Projects.Rulesets.Delete

Contents

Description

Delete a `Ruleset` by resource name. If the `Ruleset` is referenced by a `Release` the operation will fail.

See: Firebase Rules API Reference for firebaserules.projects.rulesets.delete.

Synopsis

REST Resource

type ProjectsRulesetsDeleteResource = "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] Empty))))))) Source #

A resource alias for firebaserules.projects.rulesets.delete method which the ProjectsRulesetsDelete request conforms to.

Creating a Request

projectsRulesetsDelete Source #

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

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

data ProjectsRulesetsDelete Source #

Delete a `Ruleset` by resource name. If the `Ruleset` is referenced by a `Release` the operation will fail.

See: projectsRulesetsDelete smart constructor.

Instances
Eq ProjectsRulesetsDelete Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Rulesets.Delete

Data ProjectsRulesetsDelete Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Rulesets.Delete

Methods

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

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

toConstr :: ProjectsRulesetsDelete -> Constr #

dataTypeOf :: ProjectsRulesetsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRulesetsDelete Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Rulesets.Delete

Generic ProjectsRulesetsDelete Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Rulesets.Delete

Associated Types

type Rep ProjectsRulesetsDelete :: Type -> Type #

GoogleRequest ProjectsRulesetsDelete Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Rulesets.Delete

type Rep ProjectsRulesetsDelete Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Rulesets.Delete

type Rep ProjectsRulesetsDelete = D1 (MetaData "ProjectsRulesetsDelete" "Network.Google.Resource.FirebaseRules.Projects.Rulesets.Delete" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "ProjectsRulesetsDelete'" PrefixI True) ((S1 (MetaSel (Just "_proXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_proUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_proAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_proUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_proName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_proCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRulesetsDelete Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Rulesets.Delete

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

Defined in Network.Google.Resource.FirebaseRules.Projects.Rulesets.Delete

Request Lenses

proUploadProtocol :: Lens' ProjectsRulesetsDelete (Maybe Text) Source #

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

proUploadType :: Lens' ProjectsRulesetsDelete (Maybe Text) Source #

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

proName :: Lens' ProjectsRulesetsDelete Text Source #

Resource name for the ruleset to delete. Format: `projects/{project_id}/rulesets/{ruleset_id}`