public sealed class PubsubClientTelemetry.Types.PublishOperation : IMessage<PubsubClientTelemetry.Types.PublishOperation>, IEquatable<PubsubClientTelemetry.Types.PublishOperation>, IDeepCloneable<PubsubClientTelemetry.Types.PublishOperation>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Pub/Sub v1 API class PubsubClientTelemetry.Types.PublishOperation.
Telemetry about a Publish operation which may or may not be common across
individual RPCs.
Implements
IMessagePubsubClientTelemetryTypesPublishOperation, IEquatablePubsubClientTelemetryTypesPublishOperation, IDeepCloneablePubsubClientTelemetryTypesPublishOperation, IBufferMessage, IMessageNamespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
PublishOperation()
public PublishOperation()PublishOperation(PublishOperation)
public PublishOperation(PubsubClientTelemetry.Types.PublishOperation other)| Parameter | |
|---|---|
| Name | Description |
other |
PubsubClientTelemetryTypesPublishOperation |
Properties
HedgedAttemptCount
public int HedgedAttemptCount { get; set; }Optional. If the publisher client is using publish hedging, provides the attempt count for the hedge (starting at 1). A value of 0 indicates that the request was not hedged.
| Property Value | |
|---|---|
| Type | Description |
int |
|
PublishStartTime
public Timestamp PublishStartTime { get; set; }Optional. Time at which the publish() call was initiated in the client
library, meaning across all RPC retry attempts, see grpc
retries. Provides a sense of the
end-to-end publish duration from the client perspective, across retries.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|