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 |
Gets one trace by id.
See: Google Cloud Trace API Reference for cloudtrace.projects.traces.get
.
- type ProjectsTracesGetResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("traces" :> (Capture "traceId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Trace))))))))))))
- projectsTracesGet :: Text -> Text -> ProjectsTracesGet
- data ProjectsTracesGet
- ptgTraceId :: Lens' ProjectsTracesGet Text
- ptgXgafv :: Lens' ProjectsTracesGet (Maybe Text)
- ptgUploadProtocol :: Lens' ProjectsTracesGet (Maybe Text)
- ptgPp :: Lens' ProjectsTracesGet Bool
- ptgAccessToken :: Lens' ProjectsTracesGet (Maybe Text)
- ptgUploadType :: Lens' ProjectsTracesGet (Maybe Text)
- ptgBearerToken :: Lens' ProjectsTracesGet (Maybe Text)
- ptgProjectId :: Lens' ProjectsTracesGet Text
- ptgCallback :: Lens' ProjectsTracesGet (Maybe Text)
REST Resource
type ProjectsTracesGetResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("traces" :> (Capture "traceId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Trace)))))))))))) Source
A resource alias for cloudtrace.projects.traces.get
method which the
ProjectsTracesGet
request conforms to.
Creating a Request
Creates a value of ProjectsTracesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsTracesGet Source
Gets one trace by id.
See: projectsTracesGet
smart constructor.
Request Lenses
ptgTraceId :: Lens' ProjectsTracesGet Text Source
The trace id of the trace to return.
ptgUploadProtocol :: Lens' ProjectsTracesGet (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
ptgPp :: Lens' ProjectsTracesGet Bool Source
Pretty-print response.
ptgAccessToken :: Lens' ProjectsTracesGet (Maybe Text) Source
OAuth access token.
ptgUploadType :: Lens' ProjectsTracesGet (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
ptgBearerToken :: Lens' ProjectsTracesGet (Maybe Text) Source
OAuth bearer token.
ptgProjectId :: Lens' ProjectsTracesGet Text Source
The project id of the trace to return.
ptgCallback :: Lens' ProjectsTracesGet (Maybe Text) Source
JSONP