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.Delete

Contents

Description

Deletes a notification channel.

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

Synopsis

REST Resource

type ProjectsNotificationChannelsDeleteResource = "v3" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "force" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))) Source #

A resource alias for monitoring.projects.notificationChannels.delete method which the ProjectsNotificationChannelsDelete request conforms to.

Creating a Request

projectsNotificationChannelsDelete Source #

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

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

data ProjectsNotificationChannelsDelete Source #

Deletes a notification channel.

See: projectsNotificationChannelsDelete smart constructor.

Instances
Eq ProjectsNotificationChannelsDelete Source # 
Instance details

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

Data ProjectsNotificationChannelsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsNotificationChannelsDelete -> Constr #

dataTypeOf :: ProjectsNotificationChannelsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsNotificationChannelsDelete Source # 
Instance details

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

Generic ProjectsNotificationChannelsDelete Source # 
Instance details

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

Associated Types

type Rep ProjectsNotificationChannelsDelete :: Type -> Type #

GoogleRequest ProjectsNotificationChannelsDelete Source # 
Instance details

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

type Rep ProjectsNotificationChannelsDelete Source # 
Instance details

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

type Rep ProjectsNotificationChannelsDelete = D1 (MetaData "ProjectsNotificationChannelsDelete" "Network.Google.Resource.Monitoring.Projects.NotificationChannels.Delete" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "ProjectsNotificationChannelsDelete'" PrefixI True) ((S1 (MetaSel (Just "_pncdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pncdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pncdForce") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_pncdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pncdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pncdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pncdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsNotificationChannelsDelete Source # 
Instance details

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

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

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

Request Lenses

pncdUploadProtocol :: Lens' ProjectsNotificationChannelsDelete (Maybe Text) Source #

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

pncdForce :: Lens' ProjectsNotificationChannelsDelete (Maybe Bool) Source #

If true, the notification channel will be deleted regardless of its use in alert policies (the policies will be updated to remove the channel). If false, channels that are still referenced by an existing alerting policy will fail to be deleted in a delete operation.

pncdUploadType :: Lens' ProjectsNotificationChannelsDelete (Maybe Text) Source #

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

pncdName :: Lens' ProjectsNotificationChannelsDelete Text Source #

The channel for which to execute the request. The format is projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID].