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

Contents

Description

Lists the existing alerting policies for the project.

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

Synopsis

REST Resource

type ProjectsAlertPoliciesListResource = "v3" :> (Capture "name" Text :> ("alertPolicies" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListAlertPoliciesResponse)))))))))))) Source #

A resource alias for monitoring.projects.alertPolicies.list method which the ProjectsAlertPoliciesList request conforms to.

Creating a Request

projectsAlertPoliciesList Source #

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

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

data ProjectsAlertPoliciesList Source #

Lists the existing alerting policies for the project.

See: projectsAlertPoliciesList smart constructor.

Instances
Eq ProjectsAlertPoliciesList Source # 
Instance details

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

Data ProjectsAlertPoliciesList Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsAlertPoliciesList -> Constr #

dataTypeOf :: ProjectsAlertPoliciesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAlertPoliciesList Source # 
Instance details

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

Generic ProjectsAlertPoliciesList Source # 
Instance details

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

Associated Types

type Rep ProjectsAlertPoliciesList :: Type -> Type #

GoogleRequest ProjectsAlertPoliciesList Source # 
Instance details

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

type Rep ProjectsAlertPoliciesList Source # 
Instance details

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

type Rep ProjectsAlertPoliciesList = D1 (MetaData "ProjectsAlertPoliciesList" "Network.Google.Resource.Monitoring.Projects.AlertPolicies.List" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "ProjectsAlertPoliciesList'" PrefixI True) (((S1 (MetaSel (Just "_paplXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_paplUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_paplOrderBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_paplAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_paplUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_paplName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_paplFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_paplPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_paplPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_paplCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsAlertPoliciesList Source # 
Instance details

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

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

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

Request Lenses

paplUploadProtocol :: Lens' ProjectsAlertPoliciesList (Maybe Text) Source #

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

paplOrderBy :: Lens' ProjectsAlertPoliciesList (Maybe Text) Source #

A comma-separated list of fields by which to sort the result. Supports the same set of field references as the filter field. Entries can be prefixed with a minus sign to sort by the field in descending order.For more details, see sorting and filtering.

paplUploadType :: Lens' ProjectsAlertPoliciesList (Maybe Text) Source #

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

paplName :: Lens' ProjectsAlertPoliciesList Text Source #

The project whose alert policies are to be listed. The format is projects/[PROJECT_ID] Note that this field names the parent container in which the alerting policies to be listed are stored. To retrieve a single alerting policy by name, use the GetAlertPolicy operation, instead.

paplFilter :: Lens' ProjectsAlertPoliciesList (Maybe Text) Source #

If provided, this field specifies the criteria that must be met by alert policies to be included in the response.For more details, see sorting and filtering.

paplPageToken :: Lens' ProjectsAlertPoliciesList (Maybe Text) Source #

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return more results from the previous method call.

paplPageSize :: Lens' ProjectsAlertPoliciesList (Maybe Int32) Source #

The maximum number of results to return in a single response.