blob: da7b9607cf559174f2d1b562145a777d2b320226 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Dan O'Mearadd494642020-05-01 07:42:23 -070075<h1><a href="cloudtrace_v2.html">Cloud Trace API</a> . <a href="cloudtrace_v2.projects.html">projects</a> . <a href="cloudtrace_v2.projects.traces.html">traces</a></h1>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="cloudtrace_v2.projects.traces.spans.html">spans()</a></code>
79</p>
80<p class="firstline">Returns the spans Resource.</p>
81
82<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070083 <code><a href="#batchWrite">batchWrite(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070084<p class="firstline">Sends new spans to new or existing traces. You cannot update</p>
85<h3>Method Details</h3>
86<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070087 <code class="details" id="batchWrite">batchWrite(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088 <pre>Sends new spans to new or existing traces. You cannot update
89existing spans.
90
91Args:
92 name: string, Required. The name of the project where the spans belong. The format is
93`projects/[PROJECT_ID]`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -070094 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070095 The object takes the form of:
96
97{ # The request message for the `BatchWriteSpans` method.
Bu Sun Kim65020912020-05-20 12:08:20 -070098 &quot;spans&quot;: [ # Required. A list of new spans. The span names must not match existing
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070099 # spans, or the results are undefined.
100 { # A span represents a single operation within a trace. Spans can be
101 # nested to form a trace tree. Often, a trace contains a root span
102 # that describes the end-to-end latency, and one or more subspans for
103 # its sub-operations. A trace can also contain multiple root spans,
Dan O'Mearadd494642020-05-01 07:42:23 -0700104 # or none at all. Spans do not need to be contiguous&amp;mdash;there may be
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700105 # gaps or overlaps between spans in a trace.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700106 &quot;displayName&quot;: { # Represents a string that might be shortened to a specified length. # Required. A description of the span&#x27;s operation (up to 128 bytes).
107 # Trace displays the description in the
108 # Google Cloud Platform Console.
109 # For example, the display name can be a qualified method name or a file name
110 # and a line number where the operation is called. A best practice is to use
111 # the same display name within an application and at the same call point.
112 # This makes it easier to correlate spans in different traces.
113 &quot;value&quot;: &quot;A String&quot;, # The shortened string. For example, if the original string is 500
114 # bytes long and the limit of the string is 128 bytes, then
115 # `value` contains the first 128 bytes of the 500-byte string.
116 #
117 # Truncation always happens on a UTF8 character boundary. If there
118 # are multi-byte characters in the string, then the length of the
119 # shortened string might be less than the size limit.
120 &quot;truncatedByteCount&quot;: 42, # The number of bytes removed from the original string. If this
121 # value is 0, then the string was not shortened.
122 },
123 &quot;links&quot;: { # A collection of links, which are references from this span to a span # Links associated with the span. You can have up to 128 links per Span.
124 # in the same or different trace.
125 &quot;link&quot;: [ # A collection of links.
126 { # A pointer from the current span to another span in the same trace or in a
127 # different trace. For example, this can be used in batching operations,
128 # where a single batch handler processes multiple requests from different
129 # traces or when the handler receives a request from a different project.
130 &quot;traceId&quot;: &quot;A String&quot;, # The [TRACE_ID] for a trace within a project.
131 &quot;type&quot;: &quot;A String&quot;, # The relationship of the current span relative to the linked span.
132 &quot;spanId&quot;: &quot;A String&quot;, # The [SPAN_ID] for a span within a trace.
133 &quot;attributes&quot;: { # A set of attributes, each in the format `[KEY]:[VALUE]`. # A set of attributes on the link. You have have up to 32 attributes per
134 # link.
135 &quot;attributeMap&quot;: { # The set of attributes. Each attribute&#x27;s key can be up to 128 bytes
136 # long. The value can be a string up to 256 bytes, a signed 64-bit integer,
137 # or the Boolean values `true` and `false`. For example:
138 #
139 # &quot;/instance_id&quot;: { &quot;string_value&quot;: { &quot;value&quot;: &quot;my-instance&quot; } }
140 # &quot;/http/request_bytes&quot;: { &quot;int_value&quot;: 300 }
141 # &quot;abc.com/myattribute&quot;: { &quot;bool_value&quot;: false }
142 &quot;a_key&quot;: { # The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
143 &quot;stringValue&quot;: { # Represents a string that might be shortened to a specified length. # A string up to 256 bytes long.
144 &quot;value&quot;: &quot;A String&quot;, # The shortened string. For example, if the original string is 500
145 # bytes long and the limit of the string is 128 bytes, then
146 # `value` contains the first 128 bytes of the 500-byte string.
147 #
148 # Truncation always happens on a UTF8 character boundary. If there
149 # are multi-byte characters in the string, then the length of the
150 # shortened string might be less than the size limit.
151 &quot;truncatedByteCount&quot;: 42, # The number of bytes removed from the original string. If this
152 # value is 0, then the string was not shortened.
153 },
154 &quot;intValue&quot;: &quot;A String&quot;, # A 64-bit signed integer.
155 &quot;boolValue&quot;: True or False, # A Boolean value represented by `true` or `false`.
156 },
157 },
158 &quot;droppedAttributesCount&quot;: 42, # The number of attributes that were discarded. Attributes can be discarded
159 # because their keys are too long or because there are too many attributes.
160 # If this value is 0 then all attributes are valid.
161 },
162 },
163 ],
164 &quot;droppedLinksCount&quot;: 42, # The number of dropped links after the maximum size was enforced. If
165 # this value is 0, then no links were dropped.
166 },
167 &quot;parentSpanId&quot;: &quot;A String&quot;, # The [SPAN_ID] of this span&#x27;s parent span. If this is a root span,
168 # then this field must be empty.
169 &quot;timeEvents&quot;: { # A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation # A set of time events. You can have up to 32 annotations and 128 message
170 # events per span.
171 # on the span, consisting of either user-supplied key:value pairs, or
172 # details of a message sent/received between Spans.
173 &quot;droppedMessageEventsCount&quot;: 42, # The number of dropped message events in all the included time events.
174 # If the value is 0, then no message events were dropped.
175 &quot;timeEvent&quot;: [ # A collection of `TimeEvent`s.
176 { # A time-stamped annotation or message event in the Span.
177 &quot;time&quot;: &quot;A String&quot;, # The timestamp indicating the time the event occurred.
178 &quot;annotation&quot;: { # Text annotation with a set of attributes. # Text annotation with a set of attributes.
179 &quot;description&quot;: { # Represents a string that might be shortened to a specified length. # A user-supplied message describing the event. The maximum length for
180 # the description is 256 bytes.
181 &quot;value&quot;: &quot;A String&quot;, # The shortened string. For example, if the original string is 500
182 # bytes long and the limit of the string is 128 bytes, then
183 # `value` contains the first 128 bytes of the 500-byte string.
184 #
185 # Truncation always happens on a UTF8 character boundary. If there
186 # are multi-byte characters in the string, then the length of the
187 # shortened string might be less than the size limit.
188 &quot;truncatedByteCount&quot;: 42, # The number of bytes removed from the original string. If this
189 # value is 0, then the string was not shortened.
190 },
191 &quot;attributes&quot;: { # A set of attributes, each in the format `[KEY]:[VALUE]`. # A set of attributes on the annotation. You can have up to 4 attributes
192 # per Annotation.
193 &quot;attributeMap&quot;: { # The set of attributes. Each attribute&#x27;s key can be up to 128 bytes
194 # long. The value can be a string up to 256 bytes, a signed 64-bit integer,
195 # or the Boolean values `true` and `false`. For example:
196 #
197 # &quot;/instance_id&quot;: { &quot;string_value&quot;: { &quot;value&quot;: &quot;my-instance&quot; } }
198 # &quot;/http/request_bytes&quot;: { &quot;int_value&quot;: 300 }
199 # &quot;abc.com/myattribute&quot;: { &quot;bool_value&quot;: false }
200 &quot;a_key&quot;: { # The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
201 &quot;stringValue&quot;: { # Represents a string that might be shortened to a specified length. # A string up to 256 bytes long.
202 &quot;value&quot;: &quot;A String&quot;, # The shortened string. For example, if the original string is 500
203 # bytes long and the limit of the string is 128 bytes, then
204 # `value` contains the first 128 bytes of the 500-byte string.
205 #
206 # Truncation always happens on a UTF8 character boundary. If there
207 # are multi-byte characters in the string, then the length of the
208 # shortened string might be less than the size limit.
209 &quot;truncatedByteCount&quot;: 42, # The number of bytes removed from the original string. If this
210 # value is 0, then the string was not shortened.
211 },
212 &quot;intValue&quot;: &quot;A String&quot;, # A 64-bit signed integer.
213 &quot;boolValue&quot;: True or False, # A Boolean value represented by `true` or `false`.
214 },
215 },
216 &quot;droppedAttributesCount&quot;: 42, # The number of attributes that were discarded. Attributes can be discarded
217 # because their keys are too long or because there are too many attributes.
218 # If this value is 0 then all attributes are valid.
219 },
220 },
221 &quot;messageEvent&quot;: { # An event describing a message sent/received between Spans. # An event describing a message sent/received between Spans.
222 &quot;compressedSizeBytes&quot;: &quot;A String&quot;, # The number of compressed bytes sent or received. If missing assumed to
223 # be the same size as uncompressed.
224 &quot;uncompressedSizeBytes&quot;: &quot;A String&quot;, # The number of uncompressed bytes sent or received.
225 &quot;id&quot;: &quot;A String&quot;, # An identifier for the MessageEvent&#x27;s message that can be used to match
226 # SENT and RECEIVED MessageEvents. It is recommended to be unique within
227 # a Span.
228 &quot;type&quot;: &quot;A String&quot;, # Type of MessageEvent. Indicates whether the message was sent or
229 # received.
230 },
231 },
232 ],
233 &quot;droppedAnnotationsCount&quot;: 42, # The number of dropped annotations in all the included time events.
234 # If the value is 0, then no annotations were dropped.
235 },
236 &quot;name&quot;: &quot;A String&quot;, # Required. The resource name of the span in the following format:
237 #
238 # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project;
239 # it is a 32-character hexadecimal encoding of a 16-byte array.
240 #
241 # [SPAN_ID] is a unique identifier for a span within a trace; it
242 # is a 16-character hexadecimal encoding of an 8-byte array. It should not
243 # be zero.
Bu Sun Kim65020912020-05-20 12:08:20 -0700244 &quot;status&quot;: { # The `Status` type defines a logical error model that is suitable for # Optional. The final status for this span.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700245 # different programming environments, including REST APIs and RPC APIs. It is
246 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
247 # three pieces of data: error code, error message, and error details.
248 #
249 # You can find out more about this error model and how to work with it in the
250 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700251 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700252 # message types for APIs to use.
253 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700254 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700255 },
256 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700257 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
258 # user-facing error message should be localized and sent in the
259 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700260 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700261 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700262 &quot;childSpanCount&quot;: 42, # Optional. The number of child spans that were generated while this span
263 # was active. If set, allows implementation to detect missing child spans.
Bu Sun Kim65020912020-05-20 12:08:20 -0700264 &quot;stackTrace&quot;: { # A call stack appearing in a trace. # Stack trace captured at the start of the span.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700265 &quot;stackTraceHashId&quot;: &quot;A String&quot;, # The hash ID is used to conserve network bandwidth for duplicate
266 # stack traces within a single trace.
267 #
268 # Often multiple spans will have identical stack traces.
269 # The first occurrence of a stack trace should contain both the
270 # `stackFrame` content and a value in `stackTraceHashId`.
271 #
272 # Subsequent spans within the same request can refer
273 # to that stack trace by only setting `stackTraceHashId`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700274 &quot;stackFrames&quot;: { # A collection of stack frames, which can be truncated. # Stack frames in this stack trace. A maximum of 128 frames are allowed.
275 &quot;droppedFramesCount&quot;: 42, # The number of stack frames that were dropped because there
276 # were too many stack frames.
277 # If this value is 0, then no stack frames were dropped.
278 &quot;frame&quot;: [ # Stack frames in this call stack.
279 { # Represents a single stack frame in a stack trace.
280 &quot;lineNumber&quot;: &quot;A String&quot;, # The line number in `file_name` where the function call appears.
281 &quot;functionName&quot;: { # Represents a string that might be shortened to a specified length. # The fully-qualified name that uniquely identifies the function or
282 # method that is active in this frame (up to 1024 bytes).
Bu Sun Kim65020912020-05-20 12:08:20 -0700283 &quot;value&quot;: &quot;A String&quot;, # The shortened string. For example, if the original string is 500
284 # bytes long and the limit of the string is 128 bytes, then
285 # `value` contains the first 128 bytes of the 500-byte string.
286 #
287 # Truncation always happens on a UTF8 character boundary. If there
288 # are multi-byte characters in the string, then the length of the
289 # shortened string might be less than the size limit.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700290 &quot;truncatedByteCount&quot;: 42, # The number of bytes removed from the original string. If this
291 # value is 0, then the string was not shortened.
Bu Sun Kim65020912020-05-20 12:08:20 -0700292 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700293 &quot;sourceVersion&quot;: { # Represents a string that might be shortened to a specified length. # The version of the deployed source code (up to 128 bytes).
294 &quot;value&quot;: &quot;A String&quot;, # The shortened string. For example, if the original string is 500
295 # bytes long and the limit of the string is 128 bytes, then
296 # `value` contains the first 128 bytes of the 500-byte string.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700297 #
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700298 # Truncation always happens on a UTF8 character boundary. If there
299 # are multi-byte characters in the string, then the length of the
300 # shortened string might be less than the size limit.
301 &quot;truncatedByteCount&quot;: 42, # The number of bytes removed from the original string. If this
302 # value is 0, then the string was not shortened.
303 },
304 &quot;loadModule&quot;: { # Binary module. # The binary module from where the code was loaded.
305 &quot;buildId&quot;: { # Represents a string that might be shortened to a specified length. # A unique identifier for the module, usually a hash of its
306 # contents (up to 128 bytes).
307 &quot;value&quot;: &quot;A String&quot;, # The shortened string. For example, if the original string is 500
308 # bytes long and the limit of the string is 128 bytes, then
309 # `value` contains the first 128 bytes of the 500-byte string.
310 #
311 # Truncation always happens on a UTF8 character boundary. If there
312 # are multi-byte characters in the string, then the length of the
313 # shortened string might be less than the size limit.
314 &quot;truncatedByteCount&quot;: 42, # The number of bytes removed from the original string. If this
315 # value is 0, then the string was not shortened.
316 },
317 &quot;module&quot;: { # Represents a string that might be shortened to a specified length. # For example: main binary, kernel modules, and dynamic libraries
318 # such as libc.so, sharedlib.so (up to 256 bytes).
319 &quot;value&quot;: &quot;A String&quot;, # The shortened string. For example, if the original string is 500
320 # bytes long and the limit of the string is 128 bytes, then
321 # `value` contains the first 128 bytes of the 500-byte string.
322 #
323 # Truncation always happens on a UTF8 character boundary. If there
324 # are multi-byte characters in the string, then the length of the
325 # shortened string might be less than the size limit.
326 &quot;truncatedByteCount&quot;: 42, # The number of bytes removed from the original string. If this
327 # value is 0, then the string was not shortened.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700328 },
329 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700330 &quot;columnNumber&quot;: &quot;A String&quot;, # The column number where the function call appears, if available.
331 # This is important in JavaScript because of its anonymous functions.
332 &quot;originalFunctionName&quot;: { # Represents a string that might be shortened to a specified length. # An un-mangled function name, if `function_name` is
333 # [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
334 # be fully-qualified (up to 1024 bytes).
335 &quot;value&quot;: &quot;A String&quot;, # The shortened string. For example, if the original string is 500
336 # bytes long and the limit of the string is 128 bytes, then
337 # `value` contains the first 128 bytes of the 500-byte string.
338 #
339 # Truncation always happens on a UTF8 character boundary. If there
340 # are multi-byte characters in the string, then the length of the
341 # shortened string might be less than the size limit.
342 &quot;truncatedByteCount&quot;: 42, # The number of bytes removed from the original string. If this
343 # value is 0, then the string was not shortened.
344 },
345 &quot;fileName&quot;: { # Represents a string that might be shortened to a specified length. # The name of the source file where the function call appears (up to 256
346 # bytes).
347 &quot;value&quot;: &quot;A String&quot;, # The shortened string. For example, if the original string is 500
348 # bytes long and the limit of the string is 128 bytes, then
349 # `value` contains the first 128 bytes of the 500-byte string.
350 #
351 # Truncation always happens on a UTF8 character boundary. If there
352 # are multi-byte characters in the string, then the length of the
353 # shortened string might be less than the size limit.
354 &quot;truncatedByteCount&quot;: 42, # The number of bytes removed from the original string. If this
355 # value is 0, then the string was not shortened.
Bu Sun Kim65020912020-05-20 12:08:20 -0700356 },
357 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700358 ],
359 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700360 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700361 &quot;attributes&quot;: { # A set of attributes, each in the format `[KEY]:[VALUE]`. # A set of attributes on the span. You can have up to 32 attributes per
362 # span.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700363 &quot;attributeMap&quot;: { # The set of attributes. Each attribute&#x27;s key can be up to 128 bytes
364 # long. The value can be a string up to 256 bytes, a signed 64-bit integer,
365 # or the Boolean values `true` and `false`. For example:
366 #
367 # &quot;/instance_id&quot;: { &quot;string_value&quot;: { &quot;value&quot;: &quot;my-instance&quot; } }
368 # &quot;/http/request_bytes&quot;: { &quot;int_value&quot;: 300 }
369 # &quot;abc.com/myattribute&quot;: { &quot;bool_value&quot;: false }
370 &quot;a_key&quot;: { # The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700371 &quot;stringValue&quot;: { # Represents a string that might be shortened to a specified length. # A string up to 256 bytes long.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700372 &quot;value&quot;: &quot;A String&quot;, # The shortened string. For example, if the original string is 500
373 # bytes long and the limit of the string is 128 bytes, then
374 # `value` contains the first 128 bytes of the 500-byte string.
375 #
376 # Truncation always happens on a UTF8 character boundary. If there
377 # are multi-byte characters in the string, then the length of the
378 # shortened string might be less than the size limit.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700379 &quot;truncatedByteCount&quot;: 42, # The number of bytes removed from the original string. If this
380 # value is 0, then the string was not shortened.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700381 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700382 &quot;intValue&quot;: &quot;A String&quot;, # A 64-bit signed integer.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700383 &quot;boolValue&quot;: True or False, # A Boolean value represented by `true` or `false`.
384 },
385 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700386 &quot;droppedAttributesCount&quot;: 42, # The number of attributes that were discarded. Attributes can be discarded
387 # because their keys are too long or because there are too many attributes.
388 # If this value is 0 then all attributes are valid.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700389 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700390 &quot;spanKind&quot;: &quot;A String&quot;, # Optional. Distinguishes between spans generated in a particular context. For example,
391 # two spans with the same name may be distinguished using `CLIENT` (caller)
392 # and `SERVER` (callee) to identify an RPC call.
393 &quot;endTime&quot;: &quot;A String&quot;, # Required. The end time of the span. On the client side, this is the time kept by
394 # the local machine where the span execution ends. On the server side, this
395 # is the time when the server application handler stops running.
396 &quot;startTime&quot;: &quot;A String&quot;, # Required. The start time of the span. On the client side, this is the time kept by
397 # the local machine where the span execution starts. On the server side, this
398 # is the time when the server&#x27;s application handler starts running.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700399 &quot;spanId&quot;: &quot;A String&quot;, # Required. The [SPAN_ID] portion of the span&#x27;s resource name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700400 &quot;sameProcessAsParentSpan&quot;: True or False, # Optional. Set this parameter to indicate whether this span is in
401 # the same process as its parent. If you do not set this parameter,
402 # Trace is unable to take advantage of this helpful information.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700403 },
404 ],
405 }
406
407 x__xgafv: string, V1 error format.
408 Allowed values
409 1 - v1 error format
410 2 - v2 error format
411
412Returns:
413 An object of the form:
414
415 { # A generic empty message that you can re-use to avoid defining duplicated
416 # empty messages in your APIs. A typical example is to use it as the request
417 # or the response type of an API method. For instance:
418 #
419 # service Foo {
420 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
421 # }
422 #
423 # The JSON representation for `Empty` is empty JSON object `{}`.
424 }</pre>
425</div>
426
427</body></html>