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

Contents

Description

Updates the Cloud Source Repositories configuration of the project.

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

Synopsis

REST Resource

type ProjectsUpdateConfigResource = "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 :> (ReqBody '[JSON] UpdateProjectConfigRequest :> Patch '[JSON] ProjectConfig))))))))) Source #

A resource alias for sourcerepo.projects.updateConfig method which the ProjectsUpdateConfig request conforms to.

Creating a Request

projectsUpdateConfig Source #

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

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

data ProjectsUpdateConfig Source #

Updates the Cloud Source Repositories configuration of the project.

See: projectsUpdateConfig smart constructor.

Instances
Eq ProjectsUpdateConfig Source # 
Instance details

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

Data ProjectsUpdateConfig Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsUpdateConfig -> Constr #

dataTypeOf :: ProjectsUpdateConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsUpdateConfig Source # 
Instance details

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

Generic ProjectsUpdateConfig Source # 
Instance details

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

Associated Types

type Rep ProjectsUpdateConfig :: Type -> Type #

GoogleRequest ProjectsUpdateConfig Source # 
Instance details

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

Associated Types

type Rs ProjectsUpdateConfig :: Type #

type Scopes ProjectsUpdateConfig :: [Symbol] #

type Rep ProjectsUpdateConfig Source # 
Instance details

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

type Rep ProjectsUpdateConfig = D1 (MetaData "ProjectsUpdateConfig" "Network.Google.Resource.SourceRepo.Projects.UpdateConfig" "gogol-sourcerepo-0.4.0-2G5gXtsWHXD7LxqikVtfdD" False) (C1 (MetaCons "ProjectsUpdateConfig'" PrefixI True) ((S1 (MetaSel (Just "_pucXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pucUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pucAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pucUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pucPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UpdateProjectConfigRequest)) :*: (S1 (MetaSel (Just "_pucName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pucCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsUpdateConfig Source # 
Instance details

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

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

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

Request Lenses

pucUploadProtocol :: Lens' ProjectsUpdateConfig (Maybe Text) Source #

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

pucUploadType :: Lens' ProjectsUpdateConfig (Maybe Text) Source #

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

pucName :: Lens' ProjectsUpdateConfig Text Source #

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