SDK reference / Models / Messaging

Queue

Kind: class

Namespace: Egulu.Sdk.Models.Messaging

A PostgreSQL-backed transactional customer queue with visibility leases and dead-letter routing (W54; ADR-0805 §3).

Properties

NameTypeJSON nameDescription
AnnotationsModels.Messaging.Queue_annotations?annotationsAt most 256 KiB in all; never policy input.
ConsumerCountint?consumerCountHow many distinct callers received from this queue in the last 15 minutes.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeadLetterPolicyModels.Messaging.DeadLetterPolicy?deadLetterPolicyOptional dead-letter queue policy (moves message after maxDeliveryAttempts).
DeadLetterSourcesList<string>?deadLetterSourcesQueues in the same project and location that name this queue as their dead-letter queue (empty when it is nobody's).
DelayedMessageCountlong?delayedMessageCountApproximate count of messages sent with a delay that are not yet visible.
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
Descriptionstring?descriptionHuman-readable description.
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
InFlightMessageCountlong?inFlightMessageCountApproximate count of messages currently leased in flight.
LabelsModels.Messaging.Queue_labels?labelsAt most 64.
Locationstring?locationLocation ID where the queue is homed.
MaxMessageSizeBytesint?maxMessageSizeBytesMaximum payload size per message in bytes (1024..65536 = 64 KiB, default 65536).
MessageRetentionSecondsint?messageRetentionSecondsMessage retention window in seconds (60..1209600 = 14 days on paid tier; max 259200 = 3 days on free tier; default 345600 = 4 days).
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
OldestMessageTimeDateTimeOffset?oldestMessageTimeWhen the oldest message that is waiting or in flight was enqueued; unset when the queue holds none.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
StateModels.Messaging.QueueState?stateCustomer queue lifecycle states (ADR-0805, ADR-1103).
StorageByteslong?storageBytesTotal stored message payload bytes in this queue.
SuspendReasonstring?suspendReasonWhy the queue is paused (for example spend-cap), if paused.
Tierstring?tierService tier: standard (default) | free (requires trust tier T1; trust tier T0 is refused per ADR-0805 §6).
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
VisibilityTimeoutSecondsint?visibilityTimeoutSecondsDefault visibility lease timeout in seconds for `:receive` (1..43200 = 12 hours, default 30).
VisibleMessageCountlong?visibleMessageCountApproximate count of messages currently visible for `:receive`.