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 |
Returns AMP URL(s) and equivalent AMP Cache URL(s).
See: Accelerated Mobile Pages (AMP) URL API Reference for acceleratedmobilepageurl.ampUrls.batchGet
.
Synopsis
- type AmpURLsBatchGetResource = "v1" :> ("ampUrls:batchGet" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchGetAmpURLsRequest :> Post '[JSON] BatchGetAmpURLsResponse))))))))
- ampURLsBatchGet :: BatchGetAmpURLsRequest -> AmpURLsBatchGet
- data AmpURLsBatchGet
- aubgXgafv :: Lens' AmpURLsBatchGet (Maybe Xgafv)
- aubgUploadProtocol :: Lens' AmpURLsBatchGet (Maybe Text)
- aubgAccessToken :: Lens' AmpURLsBatchGet (Maybe Text)
- aubgUploadType :: Lens' AmpURLsBatchGet (Maybe Text)
- aubgPayload :: Lens' AmpURLsBatchGet BatchGetAmpURLsRequest
- aubgCallback :: Lens' AmpURLsBatchGet (Maybe Text)
REST Resource
type AmpURLsBatchGetResource = "v1" :> ("ampUrls:batchGet" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchGetAmpURLsRequest :> Post '[JSON] BatchGetAmpURLsResponse)))))))) Source #
A resource alias for acceleratedmobilepageurl.ampUrls.batchGet
method which the
AmpURLsBatchGet
request conforms to.
Creating a Request
Creates a value of AmpURLsBatchGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AmpURLsBatchGet Source #
Returns AMP URL(s) and equivalent AMP Cache URL(s).
See: ampURLsBatchGet
smart constructor.
Instances
Request Lenses
aubgUploadProtocol :: Lens' AmpURLsBatchGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
aubgAccessToken :: Lens' AmpURLsBatchGet (Maybe Text) Source #
OAuth access token.
aubgUploadType :: Lens' AmpURLsBatchGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
aubgPayload :: Lens' AmpURLsBatchGet BatchGetAmpURLsRequest Source #
Multipart request metadata.
aubgCallback :: Lens' AmpURLsBatchGet (Maybe Text) Source #
JSONP