gogol-pubsub-0.1.0: Google Cloud Pub/Sub 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.PubSub.Projects.Topics.Delete

Contents

Description

Deletes the topic with the given name. Returns `NOT_FOUND` if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`.

See: Google Cloud Pub/Sub API Reference for pubsub.projects.topics.delete.

Synopsis

REST Resource

type ProjectsTopicsDeleteResource = "v1" :> (Capture "topic" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))))) Source #

A resource alias for pubsub.projects.topics.delete method which the ProjectsTopicsDelete request conforms to.

Creating a Request

projectsTopicsDelete Source #

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

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

data ProjectsTopicsDelete Source #

Deletes the topic with the given name. Returns `NOT_FOUND` if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`.

See: projectsTopicsDelete smart constructor.

Instances

Eq ProjectsTopicsDelete Source # 
Data ProjectsTopicsDelete Source # 

Methods

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

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

toConstr :: ProjectsTopicsDelete -> Constr #

dataTypeOf :: ProjectsTopicsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTopicsDelete Source # 
Generic ProjectsTopicsDelete Source # 
GoogleRequest ProjectsTopicsDelete Source # 
type Rep ProjectsTopicsDelete Source # 
type Scopes ProjectsTopicsDelete Source # 
type Scopes ProjectsTopicsDelete = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/pubsub" ([] Symbol))
type Rs ProjectsTopicsDelete Source # 

Request Lenses

ptdUploadProtocol :: Lens' ProjectsTopicsDelete (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

ptdPp :: Lens' ProjectsTopicsDelete Bool Source #

Pretty-print response.

ptdUploadType :: Lens' ProjectsTopicsDelete (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

ptdTopic :: Lens' ProjectsTopicsDelete Text Source #

Name of the topic to delete.