gogol-monitoring-0.5.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.Patch

Contents

Description

Updates an uptime check configuration. You can either replace the entire configuration with a new one or replace only certain fields in the current configuration by specifying the fields to be updated via "updateMask". Returns the updated configuration.

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

Synopsis

REST Resource

type ProjectsUptimeCheckConfigsPatchResource = "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] UptimeCheckConfig :> Patch '[JSON] UptimeCheckConfig))))))))) Source #

A resource alias for monitoring.projects.uptimeCheckConfigs.patch method which the ProjectsUptimeCheckConfigsPatch request conforms to.

Creating a Request

data ProjectsUptimeCheckConfigsPatch Source #

Updates an uptime check configuration. You can either replace the entire configuration with a new one or replace only certain fields in the current configuration by specifying the fields to be updated via "updateMask". Returns the updated configuration.

See: projectsUptimeCheckConfigsPatch smart constructor.

Instances
Eq ProjectsUptimeCheckConfigsPatch Source # 
Instance details

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

Data ProjectsUptimeCheckConfigsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsUptimeCheckConfigsPatch -> Constr #

dataTypeOf :: ProjectsUptimeCheckConfigsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsUptimeCheckConfigsPatch Source # 
Instance details

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

Generic ProjectsUptimeCheckConfigsPatch Source # 
Instance details

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

Associated Types

type Rep ProjectsUptimeCheckConfigsPatch :: Type -> Type #

GoogleRequest ProjectsUptimeCheckConfigsPatch Source # 
Instance details

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

type Rep ProjectsUptimeCheckConfigsPatch Source # 
Instance details

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

type Rep ProjectsUptimeCheckConfigsPatch = D1 (MetaData "ProjectsUptimeCheckConfigsPatch" "Network.Google.Resource.Monitoring.Projects.UptimeCheckConfigs.Patch" "gogol-monitoring-0.5.0-8BEIaK0A2dpLU9Sl7hmnOg" False) (C1 (MetaCons "ProjectsUptimeCheckConfigsPatch'" PrefixI True) (((S1 (MetaSel (Just "_puccpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_puccpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_puccpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_puccpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_puccpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_puccpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UptimeCheckConfig)) :*: (S1 (MetaSel (Just "_puccpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_puccpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsUptimeCheckConfigsPatch Source # 
Instance details

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

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

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

Request Lenses

puccpUploadProtocol :: Lens' ProjectsUptimeCheckConfigsPatch (Maybe Text) Source #

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

puccpUpdateMask :: Lens' ProjectsUptimeCheckConfigsPatch (Maybe GFieldMask) Source #

Optional. If present, only the listed fields in the current uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration.

puccpUploadType :: Lens' ProjectsUptimeCheckConfigsPatch (Maybe Text) Source #

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

puccpName :: Lens' ProjectsUptimeCheckConfigsPatch Text Source #

A unique resource name for this UptimeCheckConfig. The format is:projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should be omitted when creating the uptime check configuration; on create, the resource name is assigned by the server and included in the response.