gogol-acceleratedmobilepageurl-0.4.0: Google Accelerated Mobile Pages (AMP) URL SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.AcceleratedMobilePageURL.AmpURLs.BatchGet

Contents

Description

Returns AMP URL(s) and equivalent AMP Cache URL(s).

See: Accelerated Mobile Pages (AMP) URL API Reference for acceleratedmobilepageurl.ampUrls.batchGet.

Synopsis

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

ampURLsBatchGet Source #

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
Eq AmpURLsBatchGet Source # 
Instance details

Defined in Network.Google.Resource.AcceleratedMobilePageURL.AmpURLs.BatchGet

Data AmpURLsBatchGet Source # 
Instance details

Defined in Network.Google.Resource.AcceleratedMobilePageURL.AmpURLs.BatchGet

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AmpURLsBatchGet -> c AmpURLsBatchGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AmpURLsBatchGet #

toConstr :: AmpURLsBatchGet -> Constr #

dataTypeOf :: AmpURLsBatchGet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AmpURLsBatchGet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AmpURLsBatchGet) #

gmapT :: (forall b. Data b => b -> b) -> AmpURLsBatchGet -> AmpURLsBatchGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AmpURLsBatchGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AmpURLsBatchGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> AmpURLsBatchGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AmpURLsBatchGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AmpURLsBatchGet -> m AmpURLsBatchGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AmpURLsBatchGet -> m AmpURLsBatchGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AmpURLsBatchGet -> m AmpURLsBatchGet #

Show AmpURLsBatchGet Source # 
Instance details

Defined in Network.Google.Resource.AcceleratedMobilePageURL.AmpURLs.BatchGet

Generic AmpURLsBatchGet Source # 
Instance details

Defined in Network.Google.Resource.AcceleratedMobilePageURL.AmpURLs.BatchGet

Associated Types

type Rep AmpURLsBatchGet :: Type -> Type #

GoogleRequest AmpURLsBatchGet Source # 
Instance details

Defined in Network.Google.Resource.AcceleratedMobilePageURL.AmpURLs.BatchGet

Associated Types

type Rs AmpURLsBatchGet :: Type #

type Scopes AmpURLsBatchGet :: [Symbol] #

type Rep AmpURLsBatchGet Source # 
Instance details

Defined in Network.Google.Resource.AcceleratedMobilePageURL.AmpURLs.BatchGet

type Rep AmpURLsBatchGet = D1 (MetaData "AmpURLsBatchGet" "Network.Google.Resource.AcceleratedMobilePageURL.AmpURLs.BatchGet" "gogol-acceleratedmobilepageurl-0.4.0-6EABpOGIjk0B7S07xu40wP" False) (C1 (MetaCons "AmpURLsBatchGet'" PrefixI True) ((S1 (MetaSel (Just "_aubgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_aubgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aubgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_aubgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_aubgPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BatchGetAmpURLsRequest) :*: S1 (MetaSel (Just "_aubgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes AmpURLsBatchGet Source # 
Instance details

Defined in Network.Google.Resource.AcceleratedMobilePageURL.AmpURLs.BatchGet

type Scopes AmpURLsBatchGet = ([] :: [Symbol])
type Rs AmpURLsBatchGet Source # 
Instance details

Defined in Network.Google.Resource.AcceleratedMobilePageURL.AmpURLs.BatchGet

Request Lenses

aubgUploadProtocol :: Lens' AmpURLsBatchGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

aubgUploadType :: Lens' AmpURLsBatchGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").