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

Contents

Description

Updates existing function.

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

Synopsis

REST Resource

type ProjectsLocationsFunctionsPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CloudFunction :> Patch '[JSON] Operation))))))))) Source #

A resource alias for cloudfunctions.projects.locations.functions.patch method which the ProjectsLocationsFunctionsPatch request conforms to.

Creating a Request

projectsLocationsFunctionsPatch Source #

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

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

data ProjectsLocationsFunctionsPatch Source #

Updates existing function.

See: projectsLocationsFunctionsPatch smart constructor.

Instances
Eq ProjectsLocationsFunctionsPatch Source # 
Instance details

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

Data ProjectsLocationsFunctionsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsFunctionsPatch -> Constr #

dataTypeOf :: ProjectsLocationsFunctionsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsFunctionsPatch Source # 
Instance details

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

Generic ProjectsLocationsFunctionsPatch Source # 
Instance details

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

Associated Types

type Rep ProjectsLocationsFunctionsPatch :: Type -> Type #

GoogleRequest ProjectsLocationsFunctionsPatch Source # 
Instance details

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

type Rep ProjectsLocationsFunctionsPatch Source # 
Instance details

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

type Rep ProjectsLocationsFunctionsPatch = D1 (MetaData "ProjectsLocationsFunctionsPatch" "Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Patch" "gogol-cloudfunctions-0.4.0-6sCZoOCvrpODwDOeEfObaJ" False) (C1 (MetaCons "ProjectsLocationsFunctionsPatch'" PrefixI True) (((S1 (MetaSel (Just "_plfpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_plfpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_plfpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_plfpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plfpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plfpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CloudFunction)) :*: (S1 (MetaSel (Just "_plfpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plfpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsFunctionsPatch Source # 
Instance details

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

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

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

Request Lenses

plfpUploadProtocol :: Lens' ProjectsLocationsFunctionsPatch (Maybe Text) Source #

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

plfpUpdateMask :: Lens' ProjectsLocationsFunctionsPatch (Maybe GFieldMask) Source #

Required list of fields to be updated in this request.

plfpUploadType :: Lens' ProjectsLocationsFunctionsPatch (Maybe Text) Source #

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

plfpName :: Lens' ProjectsLocationsFunctionsPatch Text Source #

A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`