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 |
Updates the existing traces specified by PatchTracesRequest and inserts the new traces. Any existing trace or span fields included in an update are overwritten by the update, and any additional fields in an update are merged with the existing trace data.
See: Google Cloud Trace API Reference for cloudtrace.projects.patchTraces
.
- type ProjectsPatchTracesResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("traces" :> (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 :> (ReqBody `[JSON]` Traces :> Patch `[JSON]` Empty))))))))))))
- projectsPatchTraces :: Traces -> Text -> ProjectsPatchTraces
- data ProjectsPatchTraces
- pptXgafv :: Lens' ProjectsPatchTraces (Maybe Text)
- pptUploadProtocol :: Lens' ProjectsPatchTraces (Maybe Text)
- pptPp :: Lens' ProjectsPatchTraces Bool
- pptAccessToken :: Lens' ProjectsPatchTraces (Maybe Text)
- pptUploadType :: Lens' ProjectsPatchTraces (Maybe Text)
- pptPayload :: Lens' ProjectsPatchTraces Traces
- pptBearerToken :: Lens' ProjectsPatchTraces (Maybe Text)
- pptProjectId :: Lens' ProjectsPatchTraces Text
- pptCallback :: Lens' ProjectsPatchTraces (Maybe Text)
REST Resource
type ProjectsPatchTracesResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("traces" :> (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 :> (ReqBody `[JSON]` Traces :> Patch `[JSON]` Empty)))))))))))) Source
A resource alias for cloudtrace.projects.patchTraces
method which the
ProjectsPatchTraces
request conforms to.
Creating a Request
Creates a value of ProjectsPatchTraces
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsPatchTraces Source
Updates the existing traces specified by PatchTracesRequest and inserts the new traces. Any existing trace or span fields included in an update are overwritten by the update, and any additional fields in an update are merged with the existing trace data.
See: projectsPatchTraces
smart constructor.
Request Lenses
pptUploadProtocol :: Lens' ProjectsPatchTraces (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
pptPp :: Lens' ProjectsPatchTraces Bool Source
Pretty-print response.
pptAccessToken :: Lens' ProjectsPatchTraces (Maybe Text) Source
OAuth access token.
pptUploadType :: Lens' ProjectsPatchTraces (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
pptPayload :: Lens' ProjectsPatchTraces Traces Source
Multipart request metadata.
pptBearerToken :: Lens' ProjectsPatchTraces (Maybe Text) Source
OAuth bearer token.
pptProjectId :: Lens' ProjectsPatchTraces Text Source
The project id of the trace to patch.
pptCallback :: Lens' ProjectsPatchTraces (Maybe Text) Source
JSONP