gogol-tracing-0.4.0: Google Tracing 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.Tracing.Projects.Traces.List

Contents

Description

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

See: Google Tracing API Reference for tracing.projects.traces.list.

Synopsis

REST Resource

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

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

Creating a Request

projectsTracesList Source #

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

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

data ProjectsTracesList Source #

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

See: projectsTracesList smart constructor.

Instances
Eq ProjectsTracesList Source # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.List

Data ProjectsTracesList Source # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.List

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 # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.List

Generic ProjectsTracesList Source # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.List

Associated Types

type Rep ProjectsTracesList :: Type -> Type #

GoogleRequest ProjectsTracesList Source # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.List

Associated Types

type Rs ProjectsTracesList :: Type #

type Scopes ProjectsTracesList :: [Symbol] #

type Rep ProjectsTracesList Source # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.List

type Rep ProjectsTracesList = D1 (MetaData "ProjectsTracesList" "Network.Google.Resource.Tracing.Projects.Traces.List" "gogol-tracing-0.4.0-IYfv4sD5poO9PMAsL7PvYd" False) (C1 (MetaCons "ProjectsTracesList'" PrefixI True) (((S1 (MetaSel (Just "_ptlParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ptlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ptlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ptlOrderBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptlStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_ptlPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "_ptlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_ptlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ptlBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptlEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))) :*: ((S1 (MetaSel (Just "_ptlFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ptlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_ptlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsTracesList Source # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.List

type Scopes ProjectsTracesList = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/trace.readonly" ': ([] :: [Symbol]))
type Rs ProjectsTracesList Source # 
Instance details

Defined in Network.Google.Resource.Tracing.Projects.Traces.List

Request Lenses

ptlParent :: Lens' ProjectsTracesList Text Source #

ID of the Cloud project where the trace data is stored which is `projects/PROJECT_ID`.

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 UTCTime) Source #

Start 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 UTCTime) Source #

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

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

An optional filter for the request. Example: `version_label_key:a some_label:some_label_key` returns traces from version `a` and has `some_label` with `some_label_key`.

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.

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.