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 a list of spans within a trace.
See: Google Tracing API Reference for tracing.projects.traces.listSpans
.
Synopsis
- type ProjectsTracesListSpansResource = "v2" :> (CaptureMode "parent" "listSpans" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSpansResponse))))))))))
- projectsTracesListSpans :: Text -> ProjectsTracesListSpans
- data ProjectsTracesListSpans
- ptlsParent :: Lens' ProjectsTracesListSpans Text
- ptlsXgafv :: Lens' ProjectsTracesListSpans (Maybe Xgafv)
- ptlsUploadProtocol :: Lens' ProjectsTracesListSpans (Maybe Text)
- ptlsPp :: Lens' ProjectsTracesListSpans Bool
- ptlsAccessToken :: Lens' ProjectsTracesListSpans (Maybe Text)
- ptlsUploadType :: Lens' ProjectsTracesListSpans (Maybe Text)
- ptlsBearerToken :: Lens' ProjectsTracesListSpans (Maybe Text)
- ptlsPageToken :: Lens' ProjectsTracesListSpans (Maybe Text)
- ptlsCallback :: Lens' ProjectsTracesListSpans (Maybe Text)
REST Resource
type ProjectsTracesListSpansResource = "v2" :> (CaptureMode "parent" "listSpans" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSpansResponse)))))))))) Source #
A resource alias for tracing.projects.traces.listSpans
method which the
ProjectsTracesListSpans
request conforms to.
Creating a Request
projectsTracesListSpans Source #
Creates a value of ProjectsTracesListSpans
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsTracesListSpans Source #
Returns a list of spans within a trace.
See: projectsTracesListSpans
smart constructor.
Instances
Request Lenses
ptlsParent :: Lens' ProjectsTracesListSpans Text Source #
ID of the trace for which to list child spans. Format is `projects/PROJECT_ID/traces/TRACE_ID`.
ptlsUploadProtocol :: Lens' ProjectsTracesListSpans (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ptlsAccessToken :: Lens' ProjectsTracesListSpans (Maybe Text) Source #
OAuth access token.
ptlsUploadType :: Lens' ProjectsTracesListSpans (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ptlsBearerToken :: Lens' ProjectsTracesListSpans (Maybe Text) Source #
OAuth bearer token.
ptlsPageToken :: Lens' ProjectsTracesListSpans (Maybe Text) Source #
Token identifying the page of results to return. If provided, use the value of the `nextPageToken` field from a previous request. Optional.
ptlsCallback :: Lens' ProjectsTracesListSpans (Maybe Text) Source #
JSONP