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.AlertPolicies.Get

Contents

Description

Gets a single alerting policy.

See: Stackdriver Monitoring API Reference for monitoring.projects.alertPolicies.get.

Synopsis

REST Resource

type ProjectsAlertPoliciesGetResource = "v3" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AlertPolicy))))))) Source #

A resource alias for monitoring.projects.alertPolicies.get method which the ProjectsAlertPoliciesGet request conforms to.

Creating a Request

projectsAlertPoliciesGet Source #

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

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

data ProjectsAlertPoliciesGet Source #

Gets a single alerting policy.

See: projectsAlertPoliciesGet smart constructor.

Instances
Eq ProjectsAlertPoliciesGet Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.AlertPolicies.Get

Data ProjectsAlertPoliciesGet Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.AlertPolicies.Get

Methods

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

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

toConstr :: ProjectsAlertPoliciesGet -> Constr #

dataTypeOf :: ProjectsAlertPoliciesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAlertPoliciesGet Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.AlertPolicies.Get

Generic ProjectsAlertPoliciesGet Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.AlertPolicies.Get

Associated Types

type Rep ProjectsAlertPoliciesGet :: Type -> Type #

GoogleRequest ProjectsAlertPoliciesGet Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.AlertPolicies.Get

type Rep ProjectsAlertPoliciesGet Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.AlertPolicies.Get

type Rep ProjectsAlertPoliciesGet = D1 (MetaData "ProjectsAlertPoliciesGet" "Network.Google.Resource.Monitoring.Projects.AlertPolicies.Get" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "ProjectsAlertPoliciesGet'" PrefixI True) ((S1 (MetaSel (Just "_papgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_papgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_papgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_papgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_papgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_papgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAlertPoliciesGet Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.AlertPolicies.Get

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

Defined in Network.Google.Resource.Monitoring.Projects.AlertPolicies.Get

Request Lenses

papgUploadProtocol :: Lens' ProjectsAlertPoliciesGet (Maybe Text) Source #

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

papgUploadType :: Lens' ProjectsAlertPoliciesGet (Maybe Text) Source #

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

papgName :: Lens' ProjectsAlertPoliciesGet Text Source #

The alerting policy to retrieve. The format is projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]