gogol-logging-0.2.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 or organizations. 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 "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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 or organizations. Only logs that have entries are listed.

See: projectsLogsList smart constructor.

Instances

Eq ProjectsLogsList Source # 
Data ProjectsLogsList Source # 

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 # 
Generic ProjectsLogsList Source # 
GoogleRequest ProjectsLogsList Source # 
type Rep ProjectsLogsList Source # 
type Scopes ProjectsLogsList Source # 
type Scopes ProjectsLogsList = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform.read-only" ((:) Symbol "https://www.googleapis.com/auth/logging.admin" ((:) Symbol "https://www.googleapis.com/auth/logging.read" ([] Symbol))))
type Rs ProjectsLogsList Source # 

Request Lenses

pllParent :: Lens' ProjectsLogsList Text Source #

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

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

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

pllPp :: Lens' ProjectsLogsList Bool Source #

Pretty-print response.

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.