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 |
Creates an App Engine application for a Google Cloud Platform project. This requires a project that excludes an App Engine application. For details about creating a project without an application, see the Google Cloud Resource Manager create project topic (https://cloud.google.com/resource-manager/docs/creating-project).
See: Google App Engine Admin API Reference for appengine.apps.create
.
- type AppsCreateResource = "v1" :> ("apps" :> (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] Application :> Post '[JSON] Operation))))))))))
- appsCreate :: Application -> AppsCreate
- data AppsCreate
- acXgafv :: Lens' AppsCreate (Maybe Text)
- acUploadProtocol :: Lens' AppsCreate (Maybe Text)
- acPp :: Lens' AppsCreate Bool
- acAccessToken :: Lens' AppsCreate (Maybe Text)
- acUploadType :: Lens' AppsCreate (Maybe Text)
- acPayload :: Lens' AppsCreate Application
- acBearerToken :: Lens' AppsCreate (Maybe Text)
- acCallback :: Lens' AppsCreate (Maybe Text)
REST Resource
type AppsCreateResource = "v1" :> ("apps" :> (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] Application :> Post '[JSON] Operation)))))))))) Source #
A resource alias for appengine.apps.create
method which the
AppsCreate
request conforms to.
Creating a Request
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. This requires a project that excludes an App Engine application. For details about creating a project without an application, see the Google Cloud Resource Manager create project topic (https://cloud.google.com/resource-manager/docs/creating-project).
See: appsCreate
smart constructor.
Eq AppsCreate Source # | |
Data AppsCreate Source # | |
Show AppsCreate Source # | |
Generic AppsCreate Source # | |
GoogleRequest AppsCreate Source # | |
type Rep AppsCreate Source # | |
type Scopes AppsCreate Source # | |
type Rs AppsCreate Source # | |
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.
acBearerToken :: Lens' AppsCreate (Maybe Text) Source #
OAuth bearer token.
acCallback :: Lens' AppsCreate (Maybe Text) Source #
JSONP