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.Sitemaps.Submit

Contents

Description

Submits a sitemap for a site.

See: Search Console API Reference for webmasters.sitemaps.submit.

Synopsis

REST Resource

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

A resource alias for webmasters.sitemaps.submit method which the SitemapsSubmit request conforms to.

Creating a Request

sitemapsSubmit Source #

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

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

data SitemapsSubmit Source #

Submits a sitemap for a site.

See: sitemapsSubmit smart constructor.

Instances

Eq SitemapsSubmit Source # 
Data SitemapsSubmit Source # 

Methods

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

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

toConstr :: SitemapsSubmit -> Constr #

dataTypeOf :: SitemapsSubmit -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SitemapsSubmit Source # 
Generic SitemapsSubmit Source # 

Associated Types

type Rep SitemapsSubmit :: * -> * #

GoogleRequest SitemapsSubmit Source # 
type Rep SitemapsSubmit Source # 
type Rep SitemapsSubmit = D1 (MetaData "SitemapsSubmit" "Network.Google.Resource.Webmasters.Sitemaps.Submit" "gogol-webmaster-tools-0.3.0-5rasI0KdIZHI4LOApBmtZm" False) (C1 (MetaCons "SitemapsSubmit'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ssFeedpath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ssSiteURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes SitemapsSubmit Source # 
type Scopes SitemapsSubmit = (:) Symbol "https://www.googleapis.com/auth/webmasters" ([] Symbol)
type Rs SitemapsSubmit Source # 
type Rs SitemapsSubmit = ()

Request Lenses

ssFeedpath :: Lens' SitemapsSubmit Text Source #

The URL of the sitemap to add. For example: http://www.example.com/sitemap.xml

ssSiteURL :: Lens' SitemapsSubmit Text Source #

The site's URL, including protocol. For example: http://www.example.com/