{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-pubsub/json-schema/google-cloud-pubsub-compute-message-stats-response-schema.json",
  "title": "ComputeMessageStatsResponse",
  "description": "Response containing stats for messages in the requested topic and partition.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-pubsub-pubsublite-topic-stats-api-openapi.yml#/components/schemas/ComputeMessageStatsResponse",
  "properties": {
    "minimumPublishTime": {
      "type": "string",
      "description": "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.",
      "format": "google-datetime"
    },
    "messageCount": {
      "format": "int64",
      "description": "The count of messages.",
      "type": "string"
    },
    "minimumEventTime": {
      "description": "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.",
      "format": "google-datetime",
      "type": "string"
    },
    "messageBytes": {
      "type": "string",
      "description": "The number of quota bytes accounted to these messages.",
      "format": "int64"
    }
  },
  "type": "object"
}