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 configuration of the specified service.
See: Google App Engine Admin API Reference for appengine.apps.services.patch
.
- 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)))))))))))))))
- appsServicesPatch :: Service -> Text -> Text -> AppsServicesPatch
- data AppsServicesPatch
- aspXgafv :: Lens' AppsServicesPatch (Maybe Text)
- aspUploadProtocol :: Lens' AppsServicesPatch (Maybe Text)
- aspUpdateMask :: Lens' AppsServicesPatch (Maybe Text)
- aspPp :: Lens' AppsServicesPatch Bool
- aspAccessToken :: Lens' AppsServicesPatch (Maybe Text)
- aspUploadType :: Lens' AppsServicesPatch (Maybe Text)
- aspPayload :: Lens' AppsServicesPatch Service
- aspMigrateTraffic :: Lens' AppsServicesPatch (Maybe Bool)
- aspBearerToken :: Lens' AppsServicesPatch (Maybe Text)
- aspAppsId :: Lens' AppsServicesPatch Text
- aspServicesId :: Lens' AppsServicesPatch Text
- aspCallback :: Lens' AppsServicesPatch (Maybe Text)
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))))))))))))))) Source #
A resource alias for appengine.apps.services.patch
method which the
AppsServicesPatch
request conforms to.
Creating a Request
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.
Request Lenses
aspUploadProtocol :: Lens' AppsServicesPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
aspUpdateMask :: Lens' AppsServicesPatch (Maybe Text) Source #
Standard field mask for the set of fields to be updated.
aspAccessToken :: Lens' AppsServicesPatch (Maybe Text) Source #
OAuth access token.
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 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).
aspBearerToken :: Lens' AppsServicesPatch (Maybe Text) Source #
OAuth bearer token.
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`.
aspCallback :: Lens' AppsServicesPatch (Maybe Text) Source #
JSONP