Class BatchWriteSpansRequest (2.3.0)

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

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
NameDescription
otherBatchWriteSpansRequest

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
TypeDescription
String

ProjectName

public ProjectName ProjectName { get; set; }

ProjectName-typed view over the Name resource name property.

Property Value
TypeDescription
ProjectName

Spans

public RepeatedField<Span> Spans { get; }

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

Property Value
TypeDescription
RepeatedField<Span>