gogol-sourcerepo-0.4.0: Google Cloud Source Repositories 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.SourceRepo.Projects.GetConfig

Contents

Description

Returns the Cloud Source Repositories configuration of the project.

See: Cloud Source Repositories API Reference for sourcerepo.projects.getConfig.

Synopsis

REST Resource

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

A resource alias for sourcerepo.projects.getConfig method which the ProjectsGetConfig request conforms to.

Creating a Request

projectsGetConfig Source #

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

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

data ProjectsGetConfig Source #

Returns the Cloud Source Repositories configuration of the project.

See: projectsGetConfig smart constructor.

Instances
Eq ProjectsGetConfig Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.GetConfig

Data ProjectsGetConfig Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.GetConfig

Methods

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

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

toConstr :: ProjectsGetConfig -> Constr #

dataTypeOf :: ProjectsGetConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsGetConfig Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.GetConfig

Generic ProjectsGetConfig Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.GetConfig

Associated Types

type Rep ProjectsGetConfig :: Type -> Type #

GoogleRequest ProjectsGetConfig Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.GetConfig

Associated Types

type Rs ProjectsGetConfig :: Type #

type Scopes ProjectsGetConfig :: [Symbol] #

type Rep ProjectsGetConfig Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.GetConfig

type Rep ProjectsGetConfig = D1 (MetaData "ProjectsGetConfig" "Network.Google.Resource.SourceRepo.Projects.GetConfig" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "ProjectsGetConfig'" PrefixI True) ((S1 (MetaSel (Just "_pgcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pgcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pgcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pgcName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pgcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsGetConfig Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.GetConfig

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

Defined in Network.Google.Resource.SourceRepo.Projects.GetConfig

Request Lenses

pgcUploadProtocol :: Lens' ProjectsGetConfig (Maybe Text) Source #

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

pgcUploadType :: Lens' ProjectsGetConfig (Maybe Text) Source #

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

pgcName :: Lens' ProjectsGetConfig Text Source #

The name of the requested project. Values are of the form `projects/`.