|
|
|
@ -48,6 +48,16 @@ message RestoreInfo { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Change stream configuration. |
|
|
|
|
message 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. |
|
|
|
|
google.protobuf.Duration retention_period = 1; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// A collection of user data indexed by row, column, and timestamp. |
|
|
|
|
// Each table is served using the resources of its parent cluster. |
|
|
|
|
message Table { |
|
|
|
@ -157,6 +167,11 @@ message Table { |
|
|
|
|
// field will be populated with information about the restore. |
|
|
|
|
RestoreInfo restore_info = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; |
|
|
|
|
|
|
|
|
|
// If specified, enable the change stream on this table. |
|
|
|
|
// Otherwise, the change stream is disabled and the change stream is not |
|
|
|
|
// retained. |
|
|
|
|
ChangeStreamConfig change_stream_config = 8; |
|
|
|
|
|
|
|
|
|
// Set to true to make the table protected against data loss. i.e. deleting |
|
|
|
|
// the following resources through Admin APIs are prohibited: |
|
|
|
|
// - The table. |
|
|
|
|