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.Versions.Patch

Contents

Description

Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)

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

Synopsis

REST Resource

type AppsServicesVersionsPatchResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("services" :> (Capture "servicesId" Text :> ("versions" :> (Capture "versionsId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Version :> Patch '[JSON] Operation)))))))))))))) Source #

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

Creating a Request

data AppsServicesVersionsPatch Source #

Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)

See: appsServicesVersionsPatch smart constructor.

Instances
Eq AppsServicesVersionsPatch Source # 
Instance details

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

Data AppsServicesVersionsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: AppsServicesVersionsPatch -> Constr #

dataTypeOf :: AppsServicesVersionsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppsServicesVersionsPatch Source # 
Instance details

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

Generic AppsServicesVersionsPatch Source # 
Instance details

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

Associated Types

type Rep AppsServicesVersionsPatch :: Type -> Type #

GoogleRequest AppsServicesVersionsPatch Source # 
Instance details

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

type Rep AppsServicesVersionsPatch Source # 
Instance details

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

type Rep AppsServicesVersionsPatch = D1 (MetaData "AppsServicesVersionsPatch" "Network.Google.Resource.AppEngine.Apps.Services.Versions.Patch" "gogol-appengine-0.4.0-48gH8mpUkemKe8XR9UYlzr" False) (C1 (MetaCons "AppsServicesVersionsPatch'" PrefixI True) (((S1 (MetaSel (Just "_asvpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_asvpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_asvpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: (S1 (MetaSel (Just "_asvpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_asvpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_asvpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Version) :*: S1 (MetaSel (Just "_asvpVersionsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_asvpAppsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_asvpServicesId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_asvpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes AppsServicesVersionsPatch Source # 
Instance details

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

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

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

Request Lenses

asvpUploadProtocol :: Lens' AppsServicesVersionsPatch (Maybe Text) Source #

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

asvpUpdateMask :: Lens' AppsServicesVersionsPatch (Maybe GFieldMask) Source #

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

asvpUploadType :: Lens' AppsServicesVersionsPatch (Maybe Text) Source #

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

asvpVersionsId :: Lens' AppsServicesVersionsPatch Text Source #

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

asvpAppsId :: Lens' AppsServicesVersionsPatch Text Source #

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

asvpServicesId :: Lens' AppsServicesVersionsPatch Text Source #

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