gogol-monitoring-0.4.0: Google Stackdriver Monitoring 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.Monitoring.Projects.NotificationChannels.Patch

Contents

Description

Updates a notification channel. Fields not specified in the field mask remain unchanged.

See: Stackdriver Monitoring API Reference for monitoring.projects.notificationChannels.patch.

Synopsis

REST Resource

type ProjectsNotificationChannelsPatchResource = "v3" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] NotificationChannel :> Patch '[JSON] NotificationChannel))))))))) Source #

A resource alias for monitoring.projects.notificationChannels.patch method which the ProjectsNotificationChannelsPatch request conforms to.

Creating a Request

data ProjectsNotificationChannelsPatch Source #

Updates a notification channel. Fields not specified in the field mask remain unchanged.

See: projectsNotificationChannelsPatch smart constructor.

Instances
Eq ProjectsNotificationChannelsPatch Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.NotificationChannels.Patch

Data ProjectsNotificationChannelsPatch Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.NotificationChannels.Patch

Methods

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

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

toConstr :: ProjectsNotificationChannelsPatch -> Constr #

dataTypeOf :: ProjectsNotificationChannelsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsNotificationChannelsPatch Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.NotificationChannels.Patch

Generic ProjectsNotificationChannelsPatch Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.NotificationChannels.Patch

Associated Types

type Rep ProjectsNotificationChannelsPatch :: Type -> Type #

GoogleRequest ProjectsNotificationChannelsPatch Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.NotificationChannels.Patch

type Rep ProjectsNotificationChannelsPatch Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.NotificationChannels.Patch

type Rep ProjectsNotificationChannelsPatch = D1 (MetaData "ProjectsNotificationChannelsPatch" "Network.Google.Resource.Monitoring.Projects.NotificationChannels.Patch" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "ProjectsNotificationChannelsPatch'" PrefixI True) (((S1 (MetaSel (Just "_pncpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pncpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pncpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_pncpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pncpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pncpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 NotificationChannel)) :*: (S1 (MetaSel (Just "_pncpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pncpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsNotificationChannelsPatch Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.NotificationChannels.Patch

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

Defined in Network.Google.Resource.Monitoring.Projects.NotificationChannels.Patch

Request Lenses

pncpUploadProtocol :: Lens' ProjectsNotificationChannelsPatch (Maybe Text) Source #

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

pncpUploadType :: Lens' ProjectsNotificationChannelsPatch (Maybe Text) Source #

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

pncpName :: Lens' ProjectsNotificationChannelsPatch Text Source #

The full REST resource name for this channel. The syntax is: projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is automatically assigned by the server on creation.