Copyright | (c) 2015 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 new code and resource files to a version.
See: Google App Engine Admin API Reference for appengine.apps.modules.versions.create
.
- type AppsModulesVersionsCreateResource = "v1beta4" :> ("apps" :> (Capture "appsId" Text :> ("modules" :> (Capture "modulesId" Text :> ("versions" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Version :> Post `[JSON]` Operation))))))))))))))
- appsModulesVersionsCreate :: Version -> Text -> Text -> AppsModulesVersionsCreate
- data AppsModulesVersionsCreate
- amvcXgafv :: Lens' AppsModulesVersionsCreate (Maybe Text)
- amvcUploadProtocol :: Lens' AppsModulesVersionsCreate (Maybe Text)
- amvcPp :: Lens' AppsModulesVersionsCreate Bool
- amvcAccessToken :: Lens' AppsModulesVersionsCreate (Maybe Text)
- amvcUploadType :: Lens' AppsModulesVersionsCreate (Maybe Text)
- amvcPayload :: Lens' AppsModulesVersionsCreate Version
- amvcModulesId :: Lens' AppsModulesVersionsCreate Text
- amvcBearerToken :: Lens' AppsModulesVersionsCreate (Maybe Text)
- amvcAppsId :: Lens' AppsModulesVersionsCreate Text
- amvcCallback :: Lens' AppsModulesVersionsCreate (Maybe Text)
REST Resource
type AppsModulesVersionsCreateResource = "v1beta4" :> ("apps" :> (Capture "appsId" Text :> ("modules" :> (Capture "modulesId" Text :> ("versions" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Version :> Post `[JSON]` Operation)))))))))))))) Source
A resource alias for appengine.apps.modules.versions.create
method which the
AppsModulesVersionsCreate
request conforms to.
Creating a Request
appsModulesVersionsCreate Source
Creates a value of AppsModulesVersionsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AppsModulesVersionsCreate Source
Deploys new code and resource files to a version.
See: appsModulesVersionsCreate
smart constructor.
Request Lenses
amvcUploadProtocol :: Lens' AppsModulesVersionsCreate (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
amvcPp :: Lens' AppsModulesVersionsCreate Bool Source
Pretty-print response.
amvcAccessToken :: Lens' AppsModulesVersionsCreate (Maybe Text) Source
OAuth access token.
amvcUploadType :: Lens' AppsModulesVersionsCreate (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
amvcPayload :: Lens' AppsModulesVersionsCreate Version Source
Multipart request metadata.
amvcModulesId :: Lens' AppsModulesVersionsCreate Text Source
Part of `name`. See documentation of `appsId`.
amvcBearerToken :: Lens' AppsModulesVersionsCreate (Maybe Text) Source
OAuth bearer token.
amvcAppsId :: Lens' AppsModulesVersionsCreate Text Source
Part of `name`. Name of the resource to update. For example: "apps/myapp/modules/default".
amvcCallback :: Lens' AppsModulesVersionsCreate (Maybe Text) Source
JSONP