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.
Implements
IMessage<BatchWriteSpansRequest>, IEquatable<BatchWriteSpansRequest>, IDeepCloneable<BatchWriteSpansRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Trace.V2Assembly
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, or the results are undefined.
Property Value | |
---|---|
Type | Description |
RepeatedField<Span> |