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 enterprise. This is the last step in the enterprise signup flow.
See: Android Management API Reference for androidmanagement.enterprises.create
.
Synopsis
- type EnterprisesCreateResource = "v1" :> ("enterprises" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "signupUrlName" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" Text :> (QueryParam "enterpriseToken" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Enterprise :> Post '[JSON] Enterprise)))))))))))
- enterprisesCreate :: Enterprise -> EnterprisesCreate
- data EnterprisesCreate
- ecXgafv :: Lens' EnterprisesCreate (Maybe Xgafv)
- ecSignupURLName :: Lens' EnterprisesCreate (Maybe Text)
- ecUploadProtocol :: Lens' EnterprisesCreate (Maybe Text)
- ecAccessToken :: Lens' EnterprisesCreate (Maybe Text)
- ecUploadType :: Lens' EnterprisesCreate (Maybe Text)
- ecPayload :: Lens' EnterprisesCreate Enterprise
- ecProjectId :: Lens' EnterprisesCreate (Maybe Text)
- ecEnterpriseToken :: Lens' EnterprisesCreate (Maybe Text)
- ecCallback :: Lens' EnterprisesCreate (Maybe Text)
REST Resource
type EnterprisesCreateResource = "v1" :> ("enterprises" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "signupUrlName" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" Text :> (QueryParam "enterpriseToken" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Enterprise :> Post '[JSON] Enterprise))))))))))) Source #
A resource alias for androidmanagement.enterprises.create
method which the
EnterprisesCreate
request conforms to.
Creating a Request
Creates a value of EnterprisesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesCreate Source #
Creates an enterprise. This is the last step in the enterprise signup flow.
See: enterprisesCreate
smart constructor.
Instances
Request Lenses
ecSignupURLName :: Lens' EnterprisesCreate (Maybe Text) Source #
The name of the SignupUrl used to sign up for the enterprise.
ecUploadProtocol :: Lens' EnterprisesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ecAccessToken :: Lens' EnterprisesCreate (Maybe Text) Source #
OAuth access token.
ecUploadType :: Lens' EnterprisesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ecPayload :: Lens' EnterprisesCreate Enterprise Source #
Multipart request metadata.
ecProjectId :: Lens' EnterprisesCreate (Maybe Text) Source #
The ID of the Google Cloud Platform project which will own the enterprise.
ecEnterpriseToken :: Lens' EnterprisesCreate (Maybe Text) Source #
The enterprise token appended to the callback URL.
ecCallback :: Lens' EnterprisesCreate (Maybe Text) Source #
JSONP