| 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 |
Network.Google.Resource.AppEngine.Apps.Create
Description
Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/).
See: App Engine Admin API Reference for appengine.apps.create.
Synopsis
- type AppsCreateResource = "v1" :> ("apps" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Application :> Post '[JSON] Operation))))))))
- appsCreate :: Application -> AppsCreate
- data AppsCreate
- acXgafv :: Lens' AppsCreate (Maybe Xgafv)
- acUploadProtocol :: Lens' AppsCreate (Maybe Text)
- acAccessToken :: Lens' AppsCreate (Maybe Text)
- acUploadType :: Lens' AppsCreate (Maybe Text)
- acPayload :: Lens' AppsCreate Application
- acCallback :: Lens' AppsCreate (Maybe Text)
REST Resource
type AppsCreateResource = "v1" :> ("apps" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Application :> Post '[JSON] Operation)))))))) Source #
A resource alias for appengine.apps.create method which the
AppsCreate request conforms to.
Creating a Request
Arguments
| :: Application | |
| -> AppsCreate |
Creates a value of AppsCreate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AppsCreate Source #
Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/).
See: appsCreate smart constructor.
Instances
Request Lenses
acUploadProtocol :: Lens' AppsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
acAccessToken :: Lens' AppsCreate (Maybe Text) Source #
OAuth access token.
acUploadType :: Lens' AppsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
acPayload :: Lens' AppsCreate Application Source #
Multipart request metadata.
acCallback :: Lens' AppsCreate (Maybe Text) Source #
JSONP