gogol-sourcerepo-0.5.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.List

Contents

Description

Returns all repos belonging to a project. The sizes of the repos are not set by ListRepos. To get the size of a repo, use GetRepo.

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

Synopsis

REST Resource

type ProjectsReposListResource = "v1" :> (Capture "name" Text :> ("repos" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListReposResponse)))))))))) Source #

A resource alias for sourcerepo.projects.repos.list method which the ProjectsReposList request conforms to.

Creating a Request

projectsReposList Source #

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

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

data ProjectsReposList Source #

Returns all repos belonging to a project. The sizes of the repos are not set by ListRepos. To get the size of a repo, use GetRepo.

See: projectsReposList smart constructor.

Instances
Eq ProjectsReposList Source # 
Instance details

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

Data ProjectsReposList Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsReposList -> Constr #

dataTypeOf :: ProjectsReposList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsReposList Source # 
Instance details

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

Generic ProjectsReposList Source # 
Instance details

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

Associated Types

type Rep ProjectsReposList :: Type -> Type #

GoogleRequest ProjectsReposList Source # 
Instance details

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

Associated Types

type Rs ProjectsReposList :: Type #

type Scopes ProjectsReposList :: [Symbol] #

type Rep ProjectsReposList Source # 
Instance details

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

type Rep ProjectsReposList = D1 (MetaData "ProjectsReposList" "Network.Google.Resource.SourceRepo.Projects.Repos.List" "gogol-sourcerepo-0.5.0-CnkAdYYOzd42AwWzGerv6x" False) (C1 (MetaCons "ProjectsReposList'" PrefixI True) (((S1 (MetaSel (Just "_prlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_prlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_prlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prlName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_prlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_prlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsReposList Source # 
Instance details

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

type Scopes ProjectsReposList = "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 ProjectsReposList Source # 
Instance details

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

Request Lenses

prlUploadProtocol :: Lens' ProjectsReposList (Maybe Text) Source #

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

prlUploadType :: Lens' ProjectsReposList (Maybe Text) Source #

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

prlName :: Lens' ProjectsReposList Text Source #

The project ID whose repos should be listed. Values are of the form `projects/`.

prlPageToken :: Lens' ProjectsReposList (Maybe Text) Source #

Resume listing repositories where a prior ListReposResponse left off. This is an opaque token that must be obtained from a recent, prior ListReposResponse's next_page_token field.

prlPageSize :: Lens' ProjectsReposList (Maybe Int32) Source #

Maximum number of repositories to return; between 1 and 500. If not set or zero, defaults to 100 at the server.