gogol-monitoring-0.3.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.Categories.List

Contents

Description

List all Categories for a host project.

See: Stackdriver Monitoring API Reference for monitoring.categories.list.

Synopsis

REST Resource

type CategoriesListResource = "v3" :> ("categories" :> (QueryParam "parent" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListCategoriesResponse))))))))))))) Source #

A resource alias for monitoring.categories.list method which the CategoriesList request conforms to.

Creating a Request

categoriesList :: CategoriesList Source #

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

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

data CategoriesList Source #

List all Categories for a host project.

See: categoriesList smart constructor.

Instances

Eq CategoriesList Source # 
Data CategoriesList Source # 

Methods

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

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

toConstr :: CategoriesList -> Constr #

dataTypeOf :: CategoriesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CategoriesList Source # 
Generic CategoriesList Source # 

Associated Types

type Rep CategoriesList :: * -> * #

GoogleRequest CategoriesList Source # 
type Rep CategoriesList Source # 
type Rep CategoriesList = D1 (MetaData "CategoriesList" "Network.Google.Resource.Monitoring.Categories.List" "gogol-monitoring-0.3.0-IKEcNDS8vFXEWz92GSQ1Q9" False) (C1 (MetaCons "CategoriesList'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_clParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_clXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)))) ((:*:) (S1 (MetaSel (Just Symbol "_clUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_clPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_clAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_clUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_clBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_clFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_clPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_clPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_clCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes CategoriesList Source # 
type Scopes CategoriesList = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/monitoring" ((:) Symbol "https://www.googleapis.com/auth/monitoring.read" ([] Symbol)))
type Rs CategoriesList Source # 

Request Lenses

clParent :: Lens' CategoriesList (Maybe Text) Source #

Resource parent of the project to get. Resource parent form is projects/{project_id_or_number}.

clUploadProtocol :: Lens' CategoriesList (Maybe Text) Source #

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

clPp :: Lens' CategoriesList Bool Source #

Pretty-print response.

clUploadType :: Lens' CategoriesList (Maybe Text) Source #

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

clFilter :: Lens' CategoriesList (Maybe Text) Source #

A filter that specifies what Categories to return.

clPageToken :: Lens' CategoriesList (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 additional results from the previous method call.

clPageSize :: Lens' CategoriesList (Maybe Int32) Source #

A positive number that is the maximum number of results to return. When 0, use default page size.