gogol-blogger-0.4.0: Google Blogger 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.Blogger.Pages.Publish

Contents

Description

Publishes a draft page.

See: Blogger API Reference for blogger.pages.publish.

Synopsis

REST Resource

type PagesPublishResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("pages" :> (Capture "pageId" Text :> ("publish" :> (QueryParam "alt" AltJSON :> Post '[JSON] Page))))))) Source #

A resource alias for blogger.pages.publish method which the PagesPublish request conforms to.

Creating a Request

pagesPublish Source #

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

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

data PagesPublish Source #

Publishes a draft page.

See: pagesPublish smart constructor.

Instances
Eq PagesPublish Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Pages.Publish

Data PagesPublish Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Pages.Publish

Methods

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

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

toConstr :: PagesPublish -> Constr #

dataTypeOf :: PagesPublish -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PagesPublish Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Pages.Publish

Generic PagesPublish Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Pages.Publish

Associated Types

type Rep PagesPublish :: Type -> Type #

GoogleRequest PagesPublish Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Pages.Publish

Associated Types

type Rs PagesPublish :: Type #

type Scopes PagesPublish :: [Symbol] #

type Rep PagesPublish Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Pages.Publish

type Rep PagesPublish = D1 (MetaData "PagesPublish" "Network.Google.Resource.Blogger.Pages.Publish" "gogol-blogger-0.4.0-J2l0mOXVNniBwK88dTMLog" False) (C1 (MetaCons "PagesPublish'" PrefixI True) (S1 (MetaSel (Just "_pagaBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pagaPageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes PagesPublish Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Pages.Publish

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

Defined in Network.Google.Resource.Blogger.Pages.Publish

Request Lenses

pagaBlogId :: Lens' PagesPublish Text Source #

The ID of the blog.

pagaPageId :: Lens' PagesPublish Text Source #

The ID of the page.