gogol-appengine-0.4.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: 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" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "migrateTraffic" Bool :> (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

appsServicesPatch Source #

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

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

data AppsServicesPatch Source #

Updates the configuration of the specified service.

See: appsServicesPatch smart constructor.

Instances
Eq AppsServicesPatch Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.Services.Patch

Data AppsServicesPatch Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.Services.Patch

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 # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.Services.Patch

Generic AppsServicesPatch Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.Services.Patch

Associated Types

type Rep AppsServicesPatch :: Type -> Type #

GoogleRequest AppsServicesPatch Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.Services.Patch

Associated Types

type Rs AppsServicesPatch :: Type #

type Scopes AppsServicesPatch :: [Symbol] #

type Rep AppsServicesPatch Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.Services.Patch

type Scopes AppsServicesPatch Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.Services.Patch

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

Defined in Network.Google.Resource.AppEngine.Apps.Services.Patch

Request Lenses

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

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

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

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

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 to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions 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 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`.