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.Releases.Patch

Contents

Description

Update a `Release` via PATCH. Only updates to the `ruleset_name` and `test_suite_name` fields will be honored. `Release` rename is not supported. To create a `Release` use the CreateRelease method.

See: Firebase Rules API Reference for firebaserules.projects.releases.patch.

Synopsis

REST Resource

type ProjectsReleasesPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateReleaseRequest :> Patch '[JSON] Release)))))))) Source #

A resource alias for firebaserules.projects.releases.patch method which the ProjectsReleasesPatch request conforms to.

Creating a Request

projectsReleasesPatch Source #

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

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

data ProjectsReleasesPatch Source #

Update a `Release` via PATCH. Only updates to the `ruleset_name` and `test_suite_name` fields will be honored. `Release` rename is not supported. To create a `Release` use the CreateRelease method.

See: projectsReleasesPatch smart constructor.

Instances
Eq ProjectsReleasesPatch Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.Patch

Data ProjectsReleasesPatch Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.Patch

Methods

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

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

toConstr :: ProjectsReleasesPatch -> Constr #

dataTypeOf :: ProjectsReleasesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsReleasesPatch Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.Patch

Generic ProjectsReleasesPatch Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.Patch

Associated Types

type Rep ProjectsReleasesPatch :: Type -> Type #

GoogleRequest ProjectsReleasesPatch Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.Patch

type Rep ProjectsReleasesPatch Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.Patch

type Rep ProjectsReleasesPatch = D1 (MetaData "ProjectsReleasesPatch" "Network.Google.Resource.FirebaseRules.Projects.Releases.Patch" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "ProjectsReleasesPatch'" PrefixI True) ((S1 (MetaSel (Just "_prpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UpdateReleaseRequest)) :*: (S1 (MetaSel (Just "_prpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsReleasesPatch Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.Patch

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

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.Patch

Request Lenses

prpUploadProtocol :: Lens' ProjectsReleasesPatch (Maybe Text) Source #

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

prpUploadType :: Lens' ProjectsReleasesPatch (Maybe Text) Source #

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

prpName :: Lens' ProjectsReleasesPatch Text Source #

Resource name for the project which owns this `Release`. Format: `projects/{project_id}`