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.PatchTraces

Contents

Description

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.

Synopsis

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

projectsPatchTraces Source

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.

pptUploadType :: Lens' ProjectsPatchTraces (Maybe Text) Source

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

pptPayload :: Lens' ProjectsPatchTraces Traces Source

Multipart request metadata.

pptProjectId :: Lens' ProjectsPatchTraces Text Source

The project id of the trace to patch.