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 signup URL.
See: Android Management API Reference for androidmanagement.signupUrls.create
.
Synopsis
- type SignupURLsCreateResource = "v1" :> ("signupUrls" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "callbackUrl" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] SignupURL)))))))))
- signupURLsCreate :: SignupURLsCreate
- data SignupURLsCreate
- sucXgafv :: Lens' SignupURLsCreate (Maybe Xgafv)
- sucUploadProtocol :: Lens' SignupURLsCreate (Maybe Text)
- sucCallbackURL :: Lens' SignupURLsCreate (Maybe Text)
- sucAccessToken :: Lens' SignupURLsCreate (Maybe Text)
- sucUploadType :: Lens' SignupURLsCreate (Maybe Text)
- sucProjectId :: Lens' SignupURLsCreate (Maybe Text)
- sucCallback :: Lens' SignupURLsCreate (Maybe Text)
REST Resource
type SignupURLsCreateResource = "v1" :> ("signupUrls" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "callbackUrl" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] SignupURL))))))))) Source #
A resource alias for androidmanagement.signupUrls.create
method which the
SignupURLsCreate
request conforms to.
Creating a Request
signupURLsCreate :: SignupURLsCreate Source #
Creates a value of SignupURLsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SignupURLsCreate Source #
Creates an enterprise signup URL.
See: signupURLsCreate
smart constructor.
Instances
Request Lenses
sucUploadProtocol :: Lens' SignupURLsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sucCallbackURL :: Lens' SignupURLsCreate (Maybe Text) Source #
The callback URL that the admin will be redirected to after successfully creating an enterprise. Before redirecting there the system will add a query parameter to this URL named enterpriseToken which will contain an opaque token to be used for the create enterprise request. The URL will be parsed then reformatted in order to add the enterpriseToken parameter, so there may be some minor formatting changes.
sucAccessToken :: Lens' SignupURLsCreate (Maybe Text) Source #
OAuth access token.
sucUploadType :: Lens' SignupURLsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
sucProjectId :: Lens' SignupURLsCreate (Maybe Text) Source #
The ID of the Google Cloud Platform project which will own the enterprise.
sucCallback :: Lens' SignupURLsCreate (Maybe Text) Source #
JSONP