Google Cloud Trace v2 API - Class BatchWriteSpansRequest (3.5.0)

public sealed class BatchWriteSpansRequest : IMessage<BatchWriteSpansRequest>, IEquatable<BatchWriteSpansRequest>, IDeepCloneable<BatchWriteSpansRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Trace v2 API class BatchWriteSpansRequest.

The request message for the BatchWriteSpans method.

Inheritance

object > BatchWriteSpansRequest

Namespace

Google.Cloud.Trace.V2

Assembly

Google.Cloud.Trace.V2.dll

Constructors

BatchWriteSpansRequest()

public BatchWriteSpansRequest()

BatchWriteSpansRequest(BatchWriteSpansRequest)

public BatchWriteSpansRequest(BatchWriteSpansRequest other)
Parameter
Name Description
other BatchWriteSpansRequest

Properties

Name

public string Name { get; set; }

Required. The name of the project where the spans belong. The format is projects/[PROJECT_ID].

Property Value
Type Description
string

ProjectName

public ProjectName ProjectName { get; set; }

ProjectName-typed view over the Name resource name property.

Property Value
Type Description
ProjectName

Spans

public RepeatedField<Span> Spans { get; }

Required. A list of new spans. The span names must not match existing spans, otherwise the results are undefined.

Property Value
Type Description
RepeatedFieldSpan