gogol-cloudtrace-0.3.0: Google Cloud Trace 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.CloudTrace.Projects.Traces.List

Contents

Description

Returns of a list of traces that match the specified filter conditions.

See: Google Cloud Trace API Reference for cloudtrace.projects.traces.list.

Synopsis

REST Resource

type ProjectsTracesListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("traces" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "startTime" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "endTime" Text :> (QueryParam "view" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListTracesResponse)))))))))))))))))) Source #

A resource alias for cloudtrace.projects.traces.list method which the ProjectsTracesList request conforms to.

Creating a Request

data ProjectsTracesList Source #

Returns of a list of traces that match the specified filter conditions.

See: projectsTracesList smart constructor.

Instances

Eq ProjectsTracesList Source # 
Data ProjectsTracesList Source # 

Methods

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

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

toConstr :: ProjectsTracesList -> Constr #

dataTypeOf :: ProjectsTracesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTracesList Source # 
Generic ProjectsTracesList Source # 
GoogleRequest ProjectsTracesList Source # 
type Rep ProjectsTracesList Source # 
type Rep ProjectsTracesList = D1 (MetaData "ProjectsTracesList" "Network.Google.Resource.CloudTrace.Projects.Traces.List" "gogol-cloudtrace-0.3.0-AXm4H7plxkQ1zjN3K78iL5" False) (C1 (MetaCons "ProjectsTracesList'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ptlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ptlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ptlOrderBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ptlStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ptlPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_ptlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ptlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ptlBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ptlEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ptlView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ptlFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ptlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ptlProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ptlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_ptlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes ProjectsTracesList Source # 
type Scopes ProjectsTracesList = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/trace.readonly" ([] Symbol))
type Rs ProjectsTracesList Source # 

Request Lenses

ptlUploadProtocol :: Lens' ProjectsTracesList (Maybe Text) Source #

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

ptlOrderBy :: Lens' ProjectsTracesList (Maybe Text) Source #

Field used to sort the returned traces. Optional. Can be one of the following: * `trace_id` * `name` (`name` field of root span in the trace) * `duration` (difference between `end_time` and `start_time` fields of the root span) * `start` (`start_time` field of the root span) Descending order can be specified by appending `desc` to the sort field (for example, `name desc`). Only one sort field is permitted.

ptlStartTime :: Lens' ProjectsTracesList (Maybe Text) Source #

End of the time interval (inclusive) during which the trace data was collected from the application.

ptlPp :: Lens' ProjectsTracesList Bool Source #

Pretty-print response.

ptlUploadType :: Lens' ProjectsTracesList (Maybe Text) Source #

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

ptlEndTime :: Lens' ProjectsTracesList (Maybe Text) Source #

Start of the time interval (inclusive) during which the trace data was collected from the application.

ptlView :: Lens' ProjectsTracesList (Maybe Text) Source #

Type of data returned for traces in the list. Optional. Default is `MINIMAL`.

ptlFilter :: Lens' ProjectsTracesList (Maybe Text) Source #

An optional filter for the request.

ptlPageToken :: Lens' ProjectsTracesList (Maybe Text) Source #

Token identifying the page of results to return. If provided, use the value of the `next_page_token` field from a previous request. Optional.

ptlProjectId :: Lens' ProjectsTracesList Text Source #

ID of the Cloud project where the trace data is stored.

ptlPageSize :: Lens' ProjectsTracesList (Maybe Int32) Source #

Maximum number of traces to return. If not specified or <= 0, the implementation selects a reasonable value. The implementation may return fewer traces than the requested page size. Optional.