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 = "v1beta5" :> ("apps" :> (Capture "appsId" Text :> ("services" :> (Capture "servicesId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "migrateTraffic" Bool :> (QueryParam "mask" Text :> (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)
- aspPp :: Lens' AppsServicesPatch Bool
- aspAccessToken :: Lens' AppsServicesPatch (Maybe Text)
- aspUploadType :: Lens' AppsServicesPatch (Maybe Text)
- aspPayload :: Lens' AppsServicesPatch Service
- aspMigrateTraffic :: Lens' AppsServicesPatch (Maybe Bool)
- aspMask :: Lens' AppsServicesPatch (Maybe Text)
- aspBearerToken :: Lens' AppsServicesPatch (Maybe Text)
- aspAppsId :: Lens' AppsServicesPatch Text
- aspServicesId :: Lens' AppsServicesPatch Text
- aspCallback :: Lens' AppsServicesPatch (Maybe Text)
REST Resource
type AppsServicesPatchResource = "v1beta5" :> ("apps" :> (Capture "appsId" Text :> ("services" :> (Capture "servicesId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "migrateTraffic" Bool :> (QueryParam "mask" Text :> (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").
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 #
Whether to use Traffic Migration to shift traffic gradually. Traffic can only be migrated from a single version to another single version.
aspMask :: Lens' AppsServicesPatch (Maybe Text) Source #
Standard field mask for the set of fields to be updated.
aspBearerToken :: Lens' AppsServicesPatch (Maybe Text) Source #
OAuth bearer token.
aspAppsId :: Lens' AppsServicesPatch Text Source #
Part of `name`. Name of the resource to update. For example: "apps/myapp/services/default".
aspServicesId :: Lens' AppsServicesPatch Text Source #
Part of `name`. See documentation of `appsId`.
aspCallback :: Lens' AppsServicesPatch (Maybe Text) Source #
JSONP