public sealed class ChangeStreamConfig : IMessage<ChangeStreamConfig>, IEquatable<ChangeStreamConfig>, IDeepCloneable<ChangeStreamConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Bigtable Administration v2 API class ChangeStreamConfig.
How long the change stream should be retained. Change stream data older
than the retention period will not be returned when reading the change
stream from the table.
Values must be at least 1 day and at most 7 days, and will be truncated to
microsecond granularity.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eChangeStreamConfig\u003c/code\u003e class for the Google Cloud Bigtable Admin v2 API is 3.24.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides a comprehensive configuration for change streams, with multiple prior versions available ranging from 3.23.0 down to 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eChangeStreamConfig\u003c/code\u003e class, within the \u003ccode\u003eGoogle.Cloud.Bigtable.Admin.V2\u003c/code\u003e namespace, handles change stream settings and is found in the \u003ccode\u003eGoogle.Cloud.Bigtable.Admin.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eChangeStreamConfig has a property called RetentionPeriod, which determines how long the change stream data is kept, and must be at least 1 day and at most 7 days.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<ChangeStreamConfig>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<ChangeStreamConfig>\u003c/code\u003e and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Bigtable Administration v2 API - Class ChangeStreamConfig (3.29.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.29.0 (latest)](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/latest/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.28.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.28.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.27.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.27.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.26.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.26.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.25.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.25.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.24.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.24.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.23.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.23.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.22.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.21.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.20.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.19.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.18.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.17.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.16.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.15.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.14.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.13.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.12.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.11.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.10.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.9.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.8.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.7.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.6.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.5.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.4.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.3.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.2.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.1.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/3.0.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/2.9.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/2.8.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/2.7.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/2.6.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/2.5.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/2.4.0/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig) \n\n public sealed class ChangeStreamConfig : IMessage\u003cChangeStreamConfig\u003e, IEquatable\u003cChangeStreamConfig\u003e, IDeepCloneable\u003cChangeStreamConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Bigtable Administration v2 API class ChangeStreamConfig.\n\nChange stream configuration. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ChangeStreamConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ChangeStreamConfig](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/latest/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ChangeStreamConfig](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/latest/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ChangeStreamConfig](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/latest/Google.Cloud.Bigtable.Admin.V2.ChangeStreamConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Bigtable.Admin.V2](/dotnet/docs/reference/Google.Cloud.Bigtable.Admin.V2/latest/Google.Cloud.Bigtable.Admin.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Bigtable.Admin.V2.dll\n\nConstructors\n------------\n\n### ChangeStreamConfig()\n\n public ChangeStreamConfig()\n\n### ChangeStreamConfig(ChangeStreamConfig)\n\n public ChangeStreamConfig(ChangeStreamConfig other)\n\nProperties\n----------\n\n### RetentionPeriod\n\n public Duration RetentionPeriod { get; set; }\n\nHow long the change stream should be retained. Change stream data older\nthan the retention period will not be returned when reading the change\nstream from the table.\nValues must be at least 1 day and at most 7 days, and will be truncated to\nmicrosecond granularity."]]