gogol-webmaster-tools-0.2.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.List

Contents

Description

Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).

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

Synopsis

REST Resource

type SitemapsListResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("sitemaps" :> (QueryParam "sitemapIndex" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SitemapsListResponse)))))) Source #

A resource alias for webmasters.sitemaps.list method which the SitemapsList request conforms to.

Creating a Request

sitemapsList Source #

Arguments

:: Text

slSiteURL

-> SitemapsList 

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

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

data SitemapsList Source #

Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).

See: sitemapsList smart constructor.

Instances

Eq SitemapsList Source # 
Data SitemapsList Source # 

Methods

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

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

toConstr :: SitemapsList -> Constr #

dataTypeOf :: SitemapsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SitemapsList Source # 
Generic SitemapsList Source # 

Associated Types

type Rep SitemapsList :: * -> * #

GoogleRequest SitemapsList Source # 

Associated Types

type Rs SitemapsList :: * #

type Scopes SitemapsList :: [Symbol] #

type Rep SitemapsList Source # 
type Rep SitemapsList = D1 (MetaData "SitemapsList" "Network.Google.Resource.Webmasters.Sitemaps.List" "gogol-webmaster-tools-0.2.0-5GRiBglGI7l91Wnc1tbZ0H" False) (C1 (MetaCons "SitemapsList'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_slSiteURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_slSitemapIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes SitemapsList Source # 
type Scopes SitemapsList = (:) Symbol "https://www.googleapis.com/auth/webmasters" ((:) Symbol "https://www.googleapis.com/auth/webmasters.readonly" ([] Symbol))
type Rs SitemapsList Source # 

Request Lenses

slSiteURL :: Lens' SitemapsList Text Source #

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

slSitemapIndex :: Lens' SitemapsList (Maybe Text) Source #

A URL of a site's sitemap index. For example: http://www.example.com/sitemapindex.xml