Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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))))))))))))))
- appsServicesVersionsPatch :: Version -> Text -> Text -> Text -> AppsServicesVersionsPatch
- data AppsServicesVersionsPatch
- asvpXgafv :: Lens' AppsServicesVersionsPatch (Maybe Xgafv)
- asvpUploadProtocol :: Lens' AppsServicesVersionsPatch (Maybe Text)
- asvpUpdateMask :: Lens' AppsServicesVersionsPatch (Maybe GFieldMask)
- asvpAccessToken :: Lens' AppsServicesVersionsPatch (Maybe Text)
- asvpUploadType :: Lens' AppsServicesVersionsPatch (Maybe Text)
- asvpPayload :: Lens' AppsServicesVersionsPatch Version
- asvpVersionsId :: Lens' AppsServicesVersionsPatch Text
- asvpAppsId :: Lens' AppsServicesVersionsPatch Text
- asvpServicesId :: Lens' AppsServicesVersionsPatch Text
- asvpCallback :: Lens' AppsServicesVersionsPatch (Maybe Text)
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
appsServicesVersionsPatch Source #
:: Version | |
-> Text | |
-> Text | |
-> Text | |
-> AppsServicesVersionsPatch |
Creates a value of AppsServicesVersionsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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
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.
asvpAccessToken :: Lens' AppsServicesVersionsPatch (Maybe Text) Source #
OAuth access token.
asvpUploadType :: Lens' AppsServicesVersionsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
asvpPayload :: Lens' AppsServicesVersionsPatch Version Source #
Multipart request metadata.
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`.
asvpCallback :: Lens' AppsServicesVersionsPatch (Maybe Text) Source #
JSONP