Class: Google::Apis::BigtableadminV2::ChangeStreamConfig
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::ChangeStreamConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigtableadmin_v2/classes.rb,
lib/google/apis/bigtableadmin_v2/representations.rb,
lib/google/apis/bigtableadmin_v2/representations.rb
Overview
Change stream configuration.
Instance Attribute Summary collapse
-
#retention_period ⇒ String
How long the change stream should be retained.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChangeStreamConfig
constructor
A new instance of ChangeStreamConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChangeStreamConfig
Returns a new instance of ChangeStreamConfig.
561 562 563 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 561 def initialize(**args) update!(**args) end |
Instance Attribute Details
#retention_period ⇒ String
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.
Corresponds to the JSON property retentionPeriod
559 560 561 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 559 def retention_period @retention_period end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
566 567 568 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 566 def update!(**args) @retention_period = args[:retention_period] if args.key?(:retention_period) end |