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 |
Deploys code and resource files to a new version.
See: App Engine Admin API Reference for appengine.apps.services.versions.create
.
Synopsis
- type AppsServicesVersionsCreateResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("services" :> (Capture "servicesId" Text :> ("versions" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Version :> Post '[JSON] Operation))))))))))))
- appsServicesVersionsCreate :: Version -> Text -> Text -> AppsServicesVersionsCreate
- data AppsServicesVersionsCreate
- asvcXgafv :: Lens' AppsServicesVersionsCreate (Maybe Xgafv)
- asvcUploadProtocol :: Lens' AppsServicesVersionsCreate (Maybe Text)
- asvcAccessToken :: Lens' AppsServicesVersionsCreate (Maybe Text)
- asvcUploadType :: Lens' AppsServicesVersionsCreate (Maybe Text)
- asvcPayload :: Lens' AppsServicesVersionsCreate Version
- asvcAppsId :: Lens' AppsServicesVersionsCreate Text
- asvcServicesId :: Lens' AppsServicesVersionsCreate Text
- asvcCallback :: Lens' AppsServicesVersionsCreate (Maybe Text)
REST Resource
type AppsServicesVersionsCreateResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("services" :> (Capture "servicesId" Text :> ("versions" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Version :> Post '[JSON] Operation)))))))))))) Source #
A resource alias for appengine.apps.services.versions.create
method which the
AppsServicesVersionsCreate
request conforms to.
Creating a Request
appsServicesVersionsCreate Source #
Creates a value of AppsServicesVersionsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AppsServicesVersionsCreate Source #
Deploys code and resource files to a new version.
See: appsServicesVersionsCreate
smart constructor.
Instances
Request Lenses
asvcUploadProtocol :: Lens' AppsServicesVersionsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
asvcAccessToken :: Lens' AppsServicesVersionsCreate (Maybe Text) Source #
OAuth access token.
asvcUploadType :: Lens' AppsServicesVersionsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
asvcPayload :: Lens' AppsServicesVersionsCreate Version Source #
Multipart request metadata.
asvcAppsId :: Lens' AppsServicesVersionsCreate Text Source #
Part of `parent`. Name of the parent resource to create this version under. Example: apps/myapp/services/default.
asvcServicesId :: Lens' AppsServicesVersionsCreate Text Source #
Part of `parent`. See documentation of `appsId`.
asvcCallback :: Lens' AppsServicesVersionsCreate (Maybe Text) Source #
JSONP