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

Contents

Description

Synchronize a connected repo. The response contains SyncRepoMetadata in the metadata field.

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

Synopsis

REST Resource

type ProjectsReposSyncResource = "v1" :> (CaptureMode "name" "sync" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SyncRepoRequest :> Post '[JSON] Operation)))))))) Source #

A resource alias for sourcerepo.projects.repos.sync method which the ProjectsReposSync request conforms to.

Creating a Request

projectsReposSync Source #

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

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

data ProjectsReposSync Source #

Synchronize a connected repo. The response contains SyncRepoMetadata in the metadata field.

See: projectsReposSync smart constructor.

Instances
Eq ProjectsReposSync Source # 
Instance details

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

Data ProjectsReposSync Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsReposSync -> Constr #

dataTypeOf :: ProjectsReposSync -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsReposSync Source # 
Instance details

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

Generic ProjectsReposSync Source # 
Instance details

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

Associated Types

type Rep ProjectsReposSync :: Type -> Type #

GoogleRequest ProjectsReposSync Source # 
Instance details

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

Associated Types

type Rs ProjectsReposSync :: Type #

type Scopes ProjectsReposSync :: [Symbol] #

type Rep ProjectsReposSync Source # 
Instance details

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

type Rep ProjectsReposSync = D1 (MetaData "ProjectsReposSync" "Network.Google.Resource.SourceRepo.Projects.Repos.Sync" "gogol-sourcerepo-0.5.0-CnkAdYYOzd42AwWzGerv6x" False) (C1 (MetaCons "ProjectsReposSync'" PrefixI True) ((S1 (MetaSel (Just "_prsXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prsUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prsAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prsUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prsPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SyncRepoRequest)) :*: (S1 (MetaSel (Just "_prsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prsCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsReposSync Source # 
Instance details

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

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

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

Request Lenses

prsUploadProtocol :: Lens' ProjectsReposSync (Maybe Text) Source #

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

prsUploadType :: Lens' ProjectsReposSync (Maybe Text) Source #

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

prsName :: Lens' ProjectsReposSync Text Source #

The name of the repo to synchronize. Values are of the form `projects//repos/`.