Copyright | (c) 2015 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 |
List traces matching the filter expression.
See: Google Cloud Trace API Reference for cloudtrace.projects.traces.list
.
- 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))))))))))))))))))
- projectsTracesList :: Text -> ProjectsTracesList
- data ProjectsTracesList
- ptlXgafv :: Lens' ProjectsTracesList (Maybe Text)
- ptlUploadProtocol :: Lens' ProjectsTracesList (Maybe Text)
- ptlOrderBy :: Lens' ProjectsTracesList (Maybe Text)
- ptlStartTime :: Lens' ProjectsTracesList (Maybe Text)
- ptlPp :: Lens' ProjectsTracesList Bool
- ptlAccessToken :: Lens' ProjectsTracesList (Maybe Text)
- ptlUploadType :: Lens' ProjectsTracesList (Maybe Text)
- ptlBearerToken :: Lens' ProjectsTracesList (Maybe Text)
- ptlEndTime :: Lens' ProjectsTracesList (Maybe Text)
- ptlView :: Lens' ProjectsTracesList (Maybe Text)
- ptlFilter :: Lens' ProjectsTracesList (Maybe Text)
- ptlPageToken :: Lens' ProjectsTracesList (Maybe Text)
- ptlProjectId :: Lens' ProjectsTracesList Text
- ptlPageSize :: Lens' ProjectsTracesList (Maybe Int32)
- ptlCallback :: Lens' ProjectsTracesList (Maybe Text)
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
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
List traces matching the filter expression.
See: projectsTracesList
smart constructor.
Request Lenses
ptlUploadProtocol :: Lens' ProjectsTracesList (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
ptlOrderBy :: Lens' ProjectsTracesList (Maybe Text) Source
The trace field used to establish the order of traces returned by the ListTraces method. Possible options are: trace_id name (name field of root span) duration (different between end_time and start_time fields of root span) start (start_time field of root span) Descending order can be specified by appending "desc" to the sort field: name desc Only one sort field is permitted, though this may change in the future.
ptlStartTime :: Lens' ProjectsTracesList (Maybe Text) Source
End of the time interval (inclusive).
ptlPp :: Lens' ProjectsTracesList Bool Source
Pretty-print response.
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 Text) Source
Start of the time interval (exclusive).
ptlView :: Lens' ProjectsTracesList (Maybe Text) Source
ViewType specifies the projection of the result.
ptlPageToken :: Lens' ProjectsTracesList (Maybe Text) Source
The token identifying the page of results to return from the ListTraces method. If present, this value is should be taken from the next_page_token field of a previous ListTracesResponse.
ptlProjectId :: Lens' ProjectsTracesList Text Source
The stringified-version of the project id.
ptlPageSize :: Lens' ProjectsTracesList (Maybe Int32) Source
Maximum number of topics to return. If not specified or <= 0, the implementation will select a reasonable value. The implemenation may always return fewer than the requested page_size.
ptlCallback :: Lens' ProjectsTracesList (Maybe Text) Source
JSONP