Class BatchWriteSpansRequest (1.15.0)

BatchWriteSpansRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request message for the BatchWriteSpans method.

Attributes

Name Description
name str
Required. The name of the project where the spans belong. The format is projects/[PROJECT_ID].
spans MutableSequence[google.cloud.trace_v2.types.Span]
Required. A list of new spans. The span names must not match existing spans, otherwise the results are undefined.