class Google::Apis::PubsubliteV1::ComputeMessageStatsResponse

Response containing stats for messages in the requested topic and partition.

Attributes

message_bytes[RW]

The number of quota bytes accounted to these messages. Corresponds to the JSON property `messageBytes` @return [Fixnum]

message_count[RW]

The count of messages. Corresponds to the JSON property `messageCount` @return [Fixnum]

minimum_event_time[RW]

The minimum event timestamp across these messages. For the purposes of this computation, if a message does not have an event time, we use the publish time. The timestamp will be unset if there are no messages. Corresponds to the JSON property `minimumEventTime` @return [String]

minimum_publish_time[RW]

The minimum publish timestamp across these messages. Note that publish timestamps within a partition are not guaranteed to be non-decreasing. The timestamp will be unset if there are no messages. Corresponds to the JSON property `minimumPublishTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/pubsublite_v1/classes.rb, line 199
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/pubsublite_v1/classes.rb, line 204
def update!(**args)
  @message_bytes = args[:message_bytes] if args.key?(:message_bytes)
  @message_count = args[:message_count] if args.key?(:message_count)
  @minimum_event_time = args[:minimum_event_time] if args.key?(:minimum_event_time)
  @minimum_publish_time = args[:minimum_publish_time] if args.key?(:minimum_publish_time)
end