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.Organizations.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.organizations.logs.list.

Synopsis

REST Resource

type OrganizationsLogsListResource = "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.organizations.logs.list method which the OrganizationsLogsList request conforms to.

Creating a Request

organizationsLogsList Source #

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

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

data OrganizationsLogsList Source #

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

See: organizationsLogsList smart constructor.

Instances
Eq OrganizationsLogsList Source # 
Instance details

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

Data OrganizationsLogsList Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsLogsList -> Constr #

dataTypeOf :: OrganizationsLogsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsLogsList Source # 
Instance details

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

Generic OrganizationsLogsList Source # 
Instance details

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

Associated Types

type Rep OrganizationsLogsList :: Type -> Type #

GoogleRequest OrganizationsLogsList Source # 
Instance details

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

type Rep OrganizationsLogsList Source # 
Instance details

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

type Rep OrganizationsLogsList = D1 (MetaData "OrganizationsLogsList" "Network.Google.Resource.Logging.Organizations.Logs.List" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "OrganizationsLogsList'" PrefixI True) (((S1 (MetaSel (Just "_ollParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ollXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_ollUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ollAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ollUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ollPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ollPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_ollCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsLogsList Source # 
Instance details

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

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

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

Request Lenses

ollParent :: Lens' OrganizationsLogsList Text Source #

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

ollUploadProtocol :: Lens' OrganizationsLogsList (Maybe Text) Source #

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

ollUploadType :: Lens' OrganizationsLogsList (Maybe Text) Source #

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

ollPageToken :: Lens' OrganizationsLogsList (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.

ollPageSize :: Lens' OrganizationsLogsList (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.