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

Contents

Description

Returns a function with the given name from the requested project.

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

Synopsis

REST Resource

type ProjectsLocationsFunctionsGetResource = "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] CloudFunction))))))) Source #

A resource alias for cloudfunctions.projects.locations.functions.get method which the ProjectsLocationsFunctionsGet request conforms to.

Creating a Request

projectsLocationsFunctionsGet Source #

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

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

data ProjectsLocationsFunctionsGet Source #

Returns a function with the given name from the requested project.

See: projectsLocationsFunctionsGet smart constructor.

Instances
Eq ProjectsLocationsFunctionsGet Source # 
Instance details

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

Data ProjectsLocationsFunctionsGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsFunctionsGet -> Constr #

dataTypeOf :: ProjectsLocationsFunctionsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsFunctionsGet Source # 
Instance details

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

Generic ProjectsLocationsFunctionsGet Source # 
Instance details

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

Associated Types

type Rep ProjectsLocationsFunctionsGet :: Type -> Type #

GoogleRequest ProjectsLocationsFunctionsGet Source # 
Instance details

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

type Rep ProjectsLocationsFunctionsGet Source # 
Instance details

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

type Rep ProjectsLocationsFunctionsGet = D1 (MetaData "ProjectsLocationsFunctionsGet" "Network.Google.Resource.CloudFunctions.Projects.Locations.Functions.Get" "gogol-cloudfunctions-0.4.0-6sCZoOCvrpODwDOeEfObaJ" False) (C1 (MetaCons "ProjectsLocationsFunctionsGet'" PrefixI True) ((S1 (MetaSel (Just "_plfgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plfgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plfgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_plfgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_plfgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plfgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsFunctionsGet Source # 
Instance details

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

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

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

Request Lenses

plfgUploadProtocol :: Lens' ProjectsLocationsFunctionsGet (Maybe Text) Source #

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

plfgUploadType :: Lens' ProjectsLocationsFunctionsGet (Maybe Text) Source #

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

plfgName :: Lens' ProjectsLocationsFunctionsGet Text Source #

The name of the function which details should be obtained.