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

Contents

Description

Returns information about a repo.

See: Cloud Source Repositories API Reference for sourcerepo.projects.repos.get.

Synopsis

REST Resource

type ProjectsReposGetResource = "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] Repo))))))) Source #

A resource alias for sourcerepo.projects.repos.get method which the ProjectsReposGet request conforms to.

Creating a Request

projectsReposGet Source #

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

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

data ProjectsReposGet Source #

Returns information about a repo.

See: projectsReposGet smart constructor.

Instances
Eq ProjectsReposGet Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.Get

Data ProjectsReposGet Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.Get

Methods

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

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

toConstr :: ProjectsReposGet -> Constr #

dataTypeOf :: ProjectsReposGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsReposGet Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.Get

Generic ProjectsReposGet Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.Get

Associated Types

type Rep ProjectsReposGet :: Type -> Type #

GoogleRequest ProjectsReposGet Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.Get

Associated Types

type Rs ProjectsReposGet :: Type #

type Scopes ProjectsReposGet :: [Symbol] #

type Rep ProjectsReposGet Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.Get

type Rep ProjectsReposGet = D1 (MetaData "ProjectsReposGet" "Network.Google.Resource.SourceRepo.Projects.Repos.Get" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "ProjectsReposGet'" 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 ProjectsReposGet Source # 
Instance details

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.Get

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

Defined in Network.Google.Resource.SourceRepo.Projects.Repos.Get

Request Lenses

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

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

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

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

prgName :: Lens' ProjectsReposGet Text Source #

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