gogol-appengine-0.1.1: Google App Engine Admin 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.AppEngine.Apps.Services.Patch

Contents

Description

Updates the configuration of the specified service.

See: Google App Engine Admin API Reference for appengine.apps.services.patch.

Synopsis

REST Resource

type AppsServicesPatchResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("services" :> (Capture "servicesId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "migrateTraffic" Bool :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Service :> Patch '[JSON] Operation))))))))))))))) Source #

A resource alias for appengine.apps.services.patch method which the AppsServicesPatch request conforms to.

Creating a Request

data AppsServicesPatch Source #

Updates the configuration of the specified service.

See: appsServicesPatch smart constructor.

Instances

Eq AppsServicesPatch Source # 
Data AppsServicesPatch Source # 

Methods

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

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

toConstr :: AppsServicesPatch -> Constr #

dataTypeOf :: AppsServicesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppsServicesPatch Source # 
Generic AppsServicesPatch Source # 
GoogleRequest AppsServicesPatch Source # 
type Rep AppsServicesPatch Source # 
type Rep AppsServicesPatch = D1 (MetaData "AppsServicesPatch" "Network.Google.Resource.AppEngine.Apps.Services.Patch" "gogol-appengine-0.1.1-3kc7zw6hYKs2Os8zMt9v3W" False) (C1 (MetaCons "AppsServicesPatch'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_aspXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_aspUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aspUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_aspPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "_aspAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aspUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_aspPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Service)) ((:*:) (S1 (MetaSel (Just Symbol "_aspMigrateTraffic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_aspBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_aspAppsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_aspServicesId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_aspCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes AppsServicesPatch Source # 
type Scopes AppsServicesPatch = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs AppsServicesPatch Source # 

Request Lenses

aspUploadProtocol :: Lens' AppsServicesPatch (Maybe Text) Source #

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

aspUpdateMask :: Lens' AppsServicesPatch (Maybe Text) Source #

Standard field mask for the set of fields to be updated.

aspPp :: Lens' AppsServicesPatch Bool Source #

Pretty-print response.

aspUploadType :: Lens' AppsServicesPatch (Maybe Text) Source #

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

aspPayload :: Lens' AppsServicesPatch Service Source #

Multipart request metadata.

aspMigrateTraffic :: Lens' AppsServicesPatch (Maybe Bool) Source #

Set to `true` to gradually shift traffic from one version to another single version. By default, traffic is shifted immediately. For gradual traffic migration, the target version must be located within instances that are configured for both warmup requests and automatic scaling. You must specify the `shardBy` field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic.

aspAppsId :: Lens' AppsServicesPatch Text Source #

Part of `name`. Name of the resource to update. Example: `apps/myapp/services/default`.

aspServicesId :: Lens' AppsServicesPatch Text Source #

Part of `name`. See documentation of `appsId`.