Google Cloud Trace v2 API - Class BatchWriteSpansRequest (3.1.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
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>