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

Contents

Description

Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.

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

Synopsis

REST Resource

type ProjectsLogsListResource = "v2" :> (Capture "parent" Text :> ("logs" :> (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] ListLogsResponse)))))))))) Source #

A resource alias for logging.projects.logs.list method which the ProjectsLogsList request conforms to.

Creating a Request

projectsLogsList Source #

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

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

data ProjectsLogsList Source #

Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.

See: projectsLogsList smart constructor.

Instances
Eq ProjectsLogsList Source # 
Instance details

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

Data ProjectsLogsList Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLogsList -> Constr #

dataTypeOf :: ProjectsLogsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLogsList Source # 
Instance details

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

Generic ProjectsLogsList Source # 
Instance details

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

Associated Types

type Rep ProjectsLogsList :: Type -> Type #

GoogleRequest ProjectsLogsList Source # 
Instance details

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

Associated Types

type Rs ProjectsLogsList :: Type #

type Scopes ProjectsLogsList :: [Symbol] #

type Rep ProjectsLogsList Source # 
Instance details

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

type Rep ProjectsLogsList = D1 (MetaData "ProjectsLogsList" "Network.Google.Resource.Logging.Projects.Logs.List" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "ProjectsLogsList'" PrefixI True) (((S1 (MetaSel (Just "_pllParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pllXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_pllUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pllAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pllUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pllPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pllPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pllCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLogsList Source # 
Instance details

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

type Scopes ProjectsLogsList = "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 ProjectsLogsList Source # 
Instance details

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

Request Lenses

pllParent :: Lens' ProjectsLogsList Text Source #

Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"

pllUploadProtocol :: Lens' ProjectsLogsList (Maybe Text) Source #

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

pllUploadType :: Lens' ProjectsLogsList (Maybe Text) Source #

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

pllPageToken :: Lens' ProjectsLogsList (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.

pllPageSize :: Lens' ProjectsLogsList (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.