Show / Hide Table of Contents

Class RetentionConfig

The settings for a topic's message retention.

Inheritance
object
RetentionConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.PubsubLite.v1.Data
Assembly: Google.Apis.PubsubLite.v1.dll
Syntax
public class RetentionConfig : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

PerPartitionBytes

The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.

Declaration
[JsonProperty("perPartitionBytes")]
public virtual long? PerPartitionBytes { get; set; }
Property Value
Type Description
long?

Period

How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below per_partition_bytes.

Declaration
[JsonProperty("period")]
public virtual object Period { get; set; }
Property Value
Type Description
object

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX