gogol-webmaster-tools-0.4.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 # 
Instance details

Defined in Network.Google.Resource.Webmasters.Sitemaps.Submit

Data SitemapsSubmit Source # 
Instance details

Defined in Network.Google.Resource.Webmasters.Sitemaps.Submit

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 # 
Instance details

Defined in Network.Google.Resource.Webmasters.Sitemaps.Submit

Generic SitemapsSubmit Source # 
Instance details

Defined in Network.Google.Resource.Webmasters.Sitemaps.Submit

Associated Types

type Rep SitemapsSubmit :: Type -> Type #

GoogleRequest SitemapsSubmit Source # 
Instance details

Defined in Network.Google.Resource.Webmasters.Sitemaps.Submit

Associated Types

type Rs SitemapsSubmit :: Type #

type Scopes SitemapsSubmit :: [Symbol] #

type Rep SitemapsSubmit Source # 
Instance details

Defined in Network.Google.Resource.Webmasters.Sitemaps.Submit

type Rep SitemapsSubmit = D1 (MetaData "SitemapsSubmit" "Network.Google.Resource.Webmasters.Sitemaps.Submit" "gogol-webmaster-tools-0.4.0-LKq04HhuGk13qpGnIbIn8X" False) (C1 (MetaCons "SitemapsSubmit'" PrefixI True) (S1 (MetaSel (Just "_ssFeedpath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ssSiteURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes SitemapsSubmit Source # 
Instance details

Defined in Network.Google.Resource.Webmasters.Sitemaps.Submit

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

Defined in Network.Google.Resource.Webmasters.Sitemaps.Submit

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/