gogol-webmaster-tools-0.3.0: Google Search Console 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.Webmasters.Sites.Add

Contents

Description

Adds a site to the set of the user's sites in Search Console.

See: Search Console API Reference for webmasters.sites.add.

Synopsis

REST Resource

type SitesAddResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> (QueryParam "alt" AltJSON :> Put '[JSON] ())))) Source #

A resource alias for webmasters.sites.add method which the SitesAdd request conforms to.

Creating a Request

sitesAdd Source #

Arguments

:: Text

saSiteURL

-> SitesAdd 

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

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

data SitesAdd Source #

Adds a site to the set of the user's sites in Search Console.

See: sitesAdd smart constructor.

Instances

Eq SitesAdd Source # 
Data SitesAdd Source # 

Methods

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

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

toConstr :: SitesAdd -> Constr #

dataTypeOf :: SitesAdd -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SitesAdd Source # 
Generic SitesAdd Source # 

Associated Types

type Rep SitesAdd :: * -> * #

Methods

from :: SitesAdd -> Rep SitesAdd x #

to :: Rep SitesAdd x -> SitesAdd #

GoogleRequest SitesAdd Source # 

Associated Types

type Rs SitesAdd :: * #

type Scopes SitesAdd :: [Symbol] #

type Rep SitesAdd Source # 
type Rep SitesAdd = D1 (MetaData "SitesAdd" "Network.Google.Resource.Webmasters.Sites.Add" "gogol-webmaster-tools-0.3.0-5rasI0KdIZHI4LOApBmtZm" True) (C1 (MetaCons "SitesAdd'" PrefixI True) (S1 (MetaSel (Just Symbol "_saSiteURL") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes SitesAdd Source # 
type Scopes SitesAdd = (:) Symbol "https://www.googleapis.com/auth/webmasters" ([] Symbol)
type Rs SitesAdd Source # 
type Rs SitesAdd = ()

Request Lenses

saSiteURL :: Lens' SitesAdd Text Source #

The URL of the site to add.