Class UpdateTableRequest (2.79.0)
Stay organized with collections
Save and categorize content based on your preferences.
public class UpdateTableRequest
Wrapper for com.google.bigtable.admin.v2.UpdateTableRequest
Allows for updating table:
- Change stream retention period.
Inheritance
Object >
UpdateTableRequest
Static Methods
of(String tableId)
public static UpdateTableRequest of(String tableId)
| Parameter |
| Name |
Description |
tableId |
String
|
Methods
addChangeStreamRetention(Duration retention)
public UpdateTableRequest addChangeStreamRetention(Duration retention)
Update change stream retention period between 1 day and 7 days.
| Parameter |
| Name |
Description |
retention |
org.threeten.bp.Duration
|
disableAutomatedBackup()
public UpdateTableRequest disableAutomatedBackup()
Disables table automated backup policy.
disableChangeStreamRetention()
public UpdateTableRequest disableChangeStreamRetention()
Disable change stream for table.
equals(Object o)
public boolean equals(Object o)
| Parameter |
| Name |
Description |
o |
Object
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
setAutomatedBackup(Duration retentionPeriod, Duration frequency)
public UpdateTableRequest setAutomatedBackup(Duration retentionPeriod, Duration frequency)
Set an automated backup policy for the table.
| Parameters |
| Name |
Description |
retentionPeriod |
org.threeten.bp.Duration
|
frequency |
org.threeten.bp.Duration
|
setAutomatedBackupFrequency(Duration frequency)
public UpdateTableRequest setAutomatedBackupFrequency(Duration frequency)
Updates table automated backup policy frequency.
| Parameter |
| Name |
Description |
frequency |
org.threeten.bp.Duration
|
setAutomatedBackupRetentionPeriod(Duration retention)
public UpdateTableRequest setAutomatedBackupRetentionPeriod(Duration retention)
Updates table automated backup policy retention period.
| Parameter |
| Name |
Description |
retention |
org.threeten.bp.Duration
|
setDeletionProtection(boolean deletionProtection)
public UpdateTableRequest setDeletionProtection(boolean deletionProtection)
Changes the deletion protection of an existing table.
| Parameter |
| Name |
Description |
deletionProtection |
boolean
|
toProto(String projectId, String instanceId)
public UpdateTableRequest toProto(String projectId, String instanceId)
| Parameters |
| Name |
Description |
projectId |
String
|
instanceId |
String
|
| Returns |
| Type |
Description |
com.google.bigtable.admin.v2.UpdateTableRequest |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-19 UTC.
[null,null,["Last updated 2026-06-19 UTC."],[],[]]