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.UptimeCheckConfigs.Create

Contents

Description

Creates a new uptime check configuration.

See: Stackdriver Monitoring API Reference for monitoring.projects.uptimeCheckConfigs.create.

Synopsis

REST Resource

type ProjectsUptimeCheckConfigsCreateResource = "v3" :> (Capture "parent" Text :> ("uptimeCheckConfigs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UptimeCheckConfig :> Post '[JSON] UptimeCheckConfig))))))))) Source #

A resource alias for monitoring.projects.uptimeCheckConfigs.create method which the ProjectsUptimeCheckConfigsCreate request conforms to.

Creating a Request

data ProjectsUptimeCheckConfigsCreate Source #

Creates a new uptime check configuration.

See: projectsUptimeCheckConfigsCreate smart constructor.

Instances
Eq ProjectsUptimeCheckConfigsCreate Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.Create

Data ProjectsUptimeCheckConfigsCreate Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.Create

Methods

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

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

toConstr :: ProjectsUptimeCheckConfigsCreate -> Constr #

dataTypeOf :: ProjectsUptimeCheckConfigsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsUptimeCheckConfigsCreate Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.Create

Generic ProjectsUptimeCheckConfigsCreate Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.Create

Associated Types

type Rep ProjectsUptimeCheckConfigsCreate :: Type -> Type #

GoogleRequest ProjectsUptimeCheckConfigsCreate Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.Create

type Rep ProjectsUptimeCheckConfigsCreate Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.Create

type Rep ProjectsUptimeCheckConfigsCreate = D1 (MetaData "ProjectsUptimeCheckConfigsCreate" "Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.Create" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "ProjectsUptimeCheckConfigsCreate'" PrefixI True) ((S1 (MetaSel (Just "_pucccParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pucccXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pucccUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pucccAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pucccUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pucccPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UptimeCheckConfig) :*: S1 (MetaSel (Just "_pucccCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsUptimeCheckConfigsCreate Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.Create

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

Defined in Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.Create

Request Lenses

pucccParent :: Lens' ProjectsUptimeCheckConfigsCreate Text Source #

The project in which to create the uptime check. The format is projects/[PROJECT_ID].

pucccUploadProtocol :: Lens' ProjectsUptimeCheckConfigsCreate (Maybe Text) Source #

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

pucccUploadType :: Lens' ProjectsUptimeCheckConfigsCreate (Maybe Text) Source #

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