gogol-cloudtrace-0.0.1: Google Cloud Trace SDK.

Copyright(c) 2015 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.CloudTrace.Projects.Traces.Get

Contents

Description

Gets one trace by id.

See: Google Cloud Trace API Reference for cloudtrace.projects.traces.get.

Synopsis

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

projectsTracesGet Source

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:

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.

ptgUploadType :: Lens' ProjectsTracesGet (Maybe Text) Source

Legacy upload protocol for media (e.g. "media", "multipart").

ptgProjectId :: Lens' ProjectsTracesGet Text Source

The project id of the trace to return.