gogol-logging-0.4.0: Google Stackdriver Logging 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.Logging.Projects.Sinks.List

Contents

Description

Lists sinks.

See: Stackdriver Logging API Reference for logging.projects.sinks.list.

Synopsis

REST Resource

type ProjectsSinksListResource = "v2" :> (Capture "parent" Text :> ("sinks" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSinksResponse)))))))))) Source #

A resource alias for logging.projects.sinks.list method which the ProjectsSinksList request conforms to.

Creating a Request

projectsSinksList Source #

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

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

data ProjectsSinksList Source #

Lists sinks.

See: projectsSinksList smart constructor.

Instances
Eq ProjectsSinksList Source # 
Instance details

Defined in Network.Google.Resource.Logging.Projects.Sinks.List

Data ProjectsSinksList Source # 
Instance details

Defined in Network.Google.Resource.Logging.Projects.Sinks.List

Methods

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

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

toConstr :: ProjectsSinksList -> Constr #

dataTypeOf :: ProjectsSinksList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsSinksList Source # 
Instance details

Defined in Network.Google.Resource.Logging.Projects.Sinks.List

Generic ProjectsSinksList Source # 
Instance details

Defined in Network.Google.Resource.Logging.Projects.Sinks.List

Associated Types

type Rep ProjectsSinksList :: Type -> Type #

GoogleRequest ProjectsSinksList Source # 
Instance details

Defined in Network.Google.Resource.Logging.Projects.Sinks.List

Associated Types

type Rs ProjectsSinksList :: Type #

type Scopes ProjectsSinksList :: [Symbol] #

type Rep ProjectsSinksList Source # 
Instance details

Defined in Network.Google.Resource.Logging.Projects.Sinks.List

type Rep ProjectsSinksList = D1 (MetaData "ProjectsSinksList" "Network.Google.Resource.Logging.Projects.Sinks.List" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "ProjectsSinksList'" PrefixI True) (((S1 (MetaSel (Just "_pslParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pslXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_pslUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pslAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pslUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pslPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pslPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pslCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsSinksList Source # 
Instance details

Defined in Network.Google.Resource.Logging.Projects.Sinks.List

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

Defined in Network.Google.Resource.Logging.Projects.Sinks.List

Request Lenses

pslParent :: Lens' ProjectsSinksList Text Source #

Required. The parent resource whose sinks are to be listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"

pslUploadProtocol :: Lens' ProjectsSinksList (Maybe Text) Source #

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

pslUploadType :: Lens' ProjectsSinksList (Maybe Text) Source #

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

pslPageToken :: Lens' ProjectsSinksList (Maybe Text) Source #

Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.

pslPageSize :: Lens' ProjectsSinksList (Maybe Int32) Source #

Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.