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: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment. instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine 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): For Version resources that use automatic scaling and run in the App Engine standard environment. automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.
See: Google App Engine Admin API Reference for appengine.apps.services.versions.patch
.
- type AppsServicesVersionsPatchResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("services" :> (Capture "servicesId" Text :> ("versions" :> (Capture "versionsId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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 Text)
- asvpUploadProtocol :: Lens' AppsServicesVersionsPatch (Maybe Text)
- asvpUpdateMask :: Lens' AppsServicesVersionsPatch (Maybe Text)
- asvpPp :: Lens' AppsServicesVersionsPatch Bool
- asvpAccessToken :: Lens' AppsServicesVersionsPatch (Maybe Text)
- asvpUploadType :: Lens' AppsServicesVersionsPatch (Maybe Text)
- asvpPayload :: Lens' AppsServicesVersionsPatch Version
- asvpVersionsId :: Lens' AppsServicesVersionsPatch Text
- asvpBearerToken :: Lens' AppsServicesVersionsPatch (Maybe 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" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment. instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine 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): For Version resources that use automatic scaling and run in the App Engine standard environment. automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.
See: appsServicesVersionsPatch
smart constructor.
Request Lenses
asvpUploadProtocol :: Lens' AppsServicesVersionsPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
asvpUpdateMask :: Lens' AppsServicesVersionsPatch (Maybe Text) 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`.
asvpBearerToken :: Lens' AppsServicesVersionsPatch (Maybe Text) Source #
OAuth bearer token.
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