Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns of a list of traces that match the specified filter conditions.
See: Google Tracing API Reference for tracing.projects.traces.list
.
Synopsis
- 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))))))))))))))))
- projectsTracesList :: Text -> ProjectsTracesList
- data ProjectsTracesList
- ptlParent :: Lens' ProjectsTracesList Text
- ptlXgafv :: Lens' ProjectsTracesList (Maybe Xgafv)
- ptlUploadProtocol :: Lens' ProjectsTracesList (Maybe Text)
- ptlOrderBy :: Lens' ProjectsTracesList (Maybe Text)
- ptlStartTime :: Lens' ProjectsTracesList (Maybe UTCTime)
- ptlPp :: Lens' ProjectsTracesList Bool
- ptlAccessToken :: Lens' ProjectsTracesList (Maybe Text)
- ptlUploadType :: Lens' ProjectsTracesList (Maybe Text)
- ptlBearerToken :: Lens' ProjectsTracesList (Maybe Text)
- ptlEndTime :: Lens' ProjectsTracesList (Maybe UTCTime)
- ptlFilter :: Lens' ProjectsTracesList (Maybe Text)
- ptlPageToken :: Lens' ProjectsTracesList (Maybe Text)
- ptlPageSize :: Lens' ProjectsTracesList (Maybe Int32)
- ptlCallback :: Lens' ProjectsTracesList (Maybe Text)
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
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
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.
ptlAccessToken :: Lens' ProjectsTracesList (Maybe Text) Source #
OAuth access token.
ptlUploadType :: Lens' ProjectsTracesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ptlBearerToken :: Lens' ProjectsTracesList (Maybe Text) Source #
OAuth bearer token.
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.
ptlCallback :: Lens' ProjectsTracesList (Maybe Text) Source #
JSONP