Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::PubsubClientTelemetry::PublishOperation.
Telemetry about a Publish operation which may or may not be common across
individual RPCs.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#hedged_attempt_count
def hedged_attempt_count() -> ::Integer
Returns
- (::Integer) — 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.
#hedged_attempt_count=
def hedged_attempt_count=(value) -> ::Integer
Parameter
- value (::Integer) — 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.
Returns
- (::Integer) — 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.
#publish_start_time
def publish_start_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — 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.
#publish_start_time=
def publish_start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
-
value (::Google::Protobuf::Timestamp) — 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.
Returns
-
(::Google::Protobuf::Timestamp) — 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.