Class UpdateTableRequest (2.51.0)

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
Returns
Type Description
UpdateTableRequest

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
Returns
Type Description
UpdateTableRequest

disableChangeStreamRetention()

public UpdateTableRequest disableChangeStreamRetention()

Disable change stream for table

Returns
Type Description
UpdateTableRequest

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

setDeletionProtection(boolean deletionProtection)

public UpdateTableRequest setDeletionProtection(boolean deletionProtection)

Changes the deletion protection of an existing table.

Parameter
Name Description
deletionProtection boolean
Returns
Type Description
UpdateTableRequest

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