@@ -20,11 +20,11 @@
2020-- Stability : auto-generated
2121-- Portability : non-portable (GHC extensions)
2222--
23−-- Sends new traces to Cloud Trace or updates existing traces. If the ID of
24−-- a trace that you send matches that of an existing trace, any fields in
25−-- the existing trace and its spans are overwritten by the provided values,
26−-- and any new fields provided are merged with the existing trace data. If
27−-- the ID does not match, a new trace is created.
23+-- Sends new traces to Stackdriver Trace or updates existing traces. If the
24+-- ID of a trace that you send matches that of an existing trace, any
25+-- fields in the existing trace and its spans are overwritten by the
26+-- provided values, and any new fields provided are merged with the
27+-- existing trace data. If the ID does not match, a new trace is created.
2828--
2929-- /See:/ <https://cloud.google.com/tools/cloud-trace Google Cloud Trace API Reference> for @cloudtrace.projects.patchTraces@.
3030module Network.Google.Resource.CloudTrace.Projects.PatchTraces
@@ -68,11 +68,11 @@ type ProjectsPatchTracesResource =
6868 QueryParam "alt" AltJSON :>
6969 ReqBody '[JSON] Traces :> Patch '[JSON] Empty
7070
71−-- | Sends new traces to Cloud Trace or updates existing traces. If the ID of
72−-- a trace that you send matches that of an existing trace, any fields in
73−-- the existing trace and its spans are overwritten by the provided values,
74−-- and any new fields provided are merged with the existing trace data. If
75−-- the ID does not match, a new trace is created.
71+-- | Sends new traces to Stackdriver Trace or updates existing traces. If the
72+-- ID of a trace that you send matches that of an existing trace, any
73+-- fields in the existing trace and its spans are overwritten by the
74+-- provided values, and any new fields provided are merged with the
75+-- existing trace data. If the ID does not match, a new trace is created.
7676--
7777-- /See:/ 'projectsPatchTraces' smart constructor.
7878data ProjectsPatchTraces = ProjectsPatchTraces'
@@ -175,7 +175,8 @@ pptCallback
175175instance GoogleRequest ProjectsPatchTraces where
176176 type Rs ProjectsPatchTraces = Empty
177177 type Scopes ProjectsPatchTraces =
178− '["https://www.googleapis.com/auth/cloud-platform"]
178+ '["https://www.googleapis.com/auth/cloud-platform",
179+ "https://www.googleapis.com/auth/trace.append"]
179180 requestClient ProjectsPatchTraces'{..}
180181 = go _pptProjectId _pptXgafv _pptUploadProtocol
181182 (Just _pptPp)