gogol-factchecktools-0.5.0: Google Fact Check Tools 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.FactCheckTools.Pages.Get

Contents

Description

Get all `ClaimReview` markup on a page.

See: Fact Check Tools API Reference for factchecktools.pages.get.

Synopsis

REST Resource

type PagesGetResource = "v1alpha1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage))))))) Source #

A resource alias for factchecktools.pages.get method which the PagesGet request conforms to.

Creating a Request

pagesGet Source #

Arguments

:: Text

pgName

-> PagesGet 

Creates a value of PagesGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data PagesGet Source #

Get all `ClaimReview` markup on a page.

See: pagesGet smart constructor.

Instances
Eq PagesGet Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.Get

Data PagesGet Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.Get

Methods

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

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

toConstr :: PagesGet -> Constr #

dataTypeOf :: PagesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PagesGet Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.Get

Generic PagesGet Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.Get

Associated Types

type Rep PagesGet :: Type -> Type #

Methods

from :: PagesGet -> Rep PagesGet x #

to :: Rep PagesGet x -> PagesGet #

GoogleRequest PagesGet Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.Get

Associated Types

type Rs PagesGet :: Type #

type Scopes PagesGet :: [Symbol] #

type Rep PagesGet Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.Get

type Rep PagesGet = D1 (MetaData "PagesGet" "Network.Google.Resource.FactCheckTools.Pages.Get" "gogol-factchecktools-0.5.0-94kj5p0RLtW5oVdIDKxFvW" False) (C1 (MetaCons "PagesGet'" PrefixI True) ((S1 (MetaSel (Just "_pgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes PagesGet Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.Get

type Scopes PagesGet = "https://www.googleapis.com/auth/userinfo.email" ': ([] :: [Symbol])
type Rs PagesGet Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.Get

Request Lenses

pgXgafv :: Lens' PagesGet (Maybe Xgafv) Source #

V1 error format.

pgUploadProtocol :: Lens' PagesGet (Maybe Text) Source #

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

pgAccessToken :: Lens' PagesGet (Maybe Text) Source #

OAuth access token.

pgUploadType :: Lens' PagesGet (Maybe Text) Source #

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

pgName :: Lens' PagesGet Text Source #

The name of the resource to get, in the form of `pages/{page_id}`.