gogol-appengine-0.3.0: 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))))))))))))))) #

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

Creating a Request

data AppsServicesPatch #

Updates the configuration of the specified service.

See: appsServicesPatch smart constructor.

Instances

Eq AppsServicesPatch # 
Data AppsServicesPatch # 

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 # 
Generic AppsServicesPatch # 
GoogleRequest AppsServicesPatch # 
type Rep AppsServicesPatch # 
type Rep AppsServicesPatch = D1 (MetaData "AppsServicesPatch" "Network.Google.Resource.AppEngine.Apps.Services.Patch" "gogol-appengine-0.3.0-GJmVup6C1GOEZwvO7p2Q7g" 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 # 
type Scopes AppsServicesPatch = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs AppsServicesPatch # 

Request Lenses

aspUploadProtocol :: Lens' AppsServicesPatch (Maybe Text) #

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

aspUpdateMask :: Lens' AppsServicesPatch (Maybe Text) #

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

aspPp :: Lens' AppsServicesPatch Bool #

Pretty-print response.

aspUploadType :: Lens' AppsServicesPatch (Maybe Text) #

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

aspPayload :: Lens' AppsServicesPatch Service #

Multipart request metadata.

aspMigrateTraffic :: Lens' AppsServicesPatch (Maybe Bool) #

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 (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#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 (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).

aspAppsId :: Lens' AppsServicesPatch Text #

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

aspServicesId :: Lens' AppsServicesPatch Text #

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