gogol-pubsub-0.4.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.Patch

Contents

Description

Updates an existing topic. Note that certain properties of a topic are not modifiable.

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

Synopsis

REST Resource

type ProjectsTopicsPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateTopicRequest :> Patch '[JSON] Topic)))))))) Source #

A resource alias for pubsub.projects.topics.patch method which the ProjectsTopicsPatch request conforms to.

Creating a Request

projectsTopicsPatch Source #

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

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

data ProjectsTopicsPatch Source #

Updates an existing topic. Note that certain properties of a topic are not modifiable.

See: projectsTopicsPatch smart constructor.

Instances
Eq ProjectsTopicsPatch Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Patch

Data ProjectsTopicsPatch Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Patch

Methods

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

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

toConstr :: ProjectsTopicsPatch -> Constr #

dataTypeOf :: ProjectsTopicsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTopicsPatch Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Patch

Generic ProjectsTopicsPatch Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Patch

Associated Types

type Rep ProjectsTopicsPatch :: Type -> Type #

GoogleRequest ProjectsTopicsPatch Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Patch

Associated Types

type Rs ProjectsTopicsPatch :: Type #

type Scopes ProjectsTopicsPatch :: [Symbol] #

type Rep ProjectsTopicsPatch Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Patch

type Rep ProjectsTopicsPatch = D1 (MetaData "ProjectsTopicsPatch" "Network.Google.Resource.PubSub.Projects.Topics.Patch" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ProjectsTopicsPatch'" PrefixI True) ((S1 (MetaSel (Just "_ptpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ptpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ptpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UpdateTopicRequest)) :*: (S1 (MetaSel (Just "_ptpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsTopicsPatch Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Patch

type Scopes ProjectsTopicsPatch = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/pubsub" ': ([] :: [Symbol]))
type Rs ProjectsTopicsPatch Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Topics.Patch

Request Lenses

ptpUploadProtocol :: Lens' ProjectsTopicsPatch (Maybe Text) Source #

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

ptpUploadType :: Lens' ProjectsTopicsPatch (Maybe Text) Source #

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

ptpName :: Lens' ProjectsTopicsPatch Text Source #

The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.