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

Contents

Description

Get a `Ruleset` by name including the full `Source` contents.

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

Synopsis

REST Resource

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

A resource alias for firebaserules.projects.rulesets.get method which the ProjectsRulesetsGet request conforms to.

Creating a Request

projectsRulesetsGet Source #

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

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

data ProjectsRulesetsGet Source #

Get a `Ruleset` by name including the full `Source` contents.

See: projectsRulesetsGet smart constructor.

Instances
Eq ProjectsRulesetsGet Source # 
Instance details

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

Data ProjectsRulesetsGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRulesetsGet -> Constr #

dataTypeOf :: ProjectsRulesetsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRulesetsGet Source # 
Instance details

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

Generic ProjectsRulesetsGet Source # 
Instance details

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

Associated Types

type Rep ProjectsRulesetsGet :: Type -> Type #

GoogleRequest ProjectsRulesetsGet Source # 
Instance details

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

Associated Types

type Rs ProjectsRulesetsGet :: Type #

type Scopes ProjectsRulesetsGet :: [Symbol] #

type Rep ProjectsRulesetsGet Source # 
Instance details

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

type Rep ProjectsRulesetsGet = D1 (MetaData "ProjectsRulesetsGet" "Network.Google.Resource.FirebaseRules.Projects.Rulesets.Get" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "ProjectsRulesetsGet'" PrefixI True) ((S1 (MetaSel (Just "_prgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_prgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_prgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRulesetsGet Source # 
Instance details

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

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

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

Request Lenses

prgUploadProtocol :: Lens' ProjectsRulesetsGet (Maybe Text) Source #

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

prgUploadType :: Lens' ProjectsRulesetsGet (Maybe Text) Source #

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

prgName :: Lens' ProjectsRulesetsGet Text Source #

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