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

Contents

Description

Retrieves information about a specific sitemap.

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

Synopsis

REST Resource

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

A resource alias for webmasters.sitemaps.get method which the SitemapsGet request conforms to.

Creating a Request

sitemapsGet Source #

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

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

data SitemapsGet Source #

Retrieves information about a specific sitemap.

See: sitemapsGet smart constructor.

Instances

Eq SitemapsGet Source # 
Data SitemapsGet Source # 

Methods

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

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

toConstr :: SitemapsGet -> Constr #

dataTypeOf :: SitemapsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SitemapsGet Source # 
Generic SitemapsGet Source # 

Associated Types

type Rep SitemapsGet :: * -> * #

GoogleRequest SitemapsGet Source # 

Associated Types

type Rs SitemapsGet :: * #

type Scopes SitemapsGet :: [Symbol] #

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

Request Lenses

sgFeedpath :: Lens' SitemapsGet Text Source #

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

sgSiteURL :: Lens' SitemapsGet Text Source #

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