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.Update

Contents

Description

Update for all `ClaimReview` markup on a page Note that this is a full update. To retain the existing `ClaimReview` markup on a page, first perform a Get operation, then modify the returned markup, and finally call Update with the entire `ClaimReview` markup as the body.

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

Synopsis

REST Resource

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

A resource alias for factchecktools.pages.update method which the PagesUpdate request conforms to.

Creating a Request

pagesUpdate Source #

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

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

data PagesUpdate Source #

Update for all `ClaimReview` markup on a page Note that this is a full update. To retain the existing `ClaimReview` markup on a page, first perform a Get operation, then modify the returned markup, and finally call Update with the entire `ClaimReview` markup as the body.

See: pagesUpdate smart constructor.

Instances
Eq PagesUpdate Source # 
Instance details

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

Data PagesUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: PagesUpdate -> Constr #

dataTypeOf :: PagesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PagesUpdate Source # 
Instance details

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

Generic PagesUpdate Source # 
Instance details

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

Associated Types

type Rep PagesUpdate :: Type -> Type #

GoogleRequest PagesUpdate Source # 
Instance details

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

Associated Types

type Rs PagesUpdate :: Type #

type Scopes PagesUpdate :: [Symbol] #

type Rep PagesUpdate Source # 
Instance details

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

type Scopes PagesUpdate Source # 
Instance details

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

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

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

Request Lenses

puXgafv :: Lens' PagesUpdate (Maybe Xgafv) Source #

V1 error format.

puUploadProtocol :: Lens' PagesUpdate (Maybe Text) Source #

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

puAccessToken :: Lens' PagesUpdate (Maybe Text) Source #

OAuth access token.

puUploadType :: Lens' PagesUpdate (Maybe Text) Source #

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

puName :: Lens' PagesUpdate Text Source #

The name of this `ClaimReview` markup page resource, in the form of `pages/{page_id}`. Except for update requests, this field is output-only and should not be set by the user.