Class UpdateTableRequest (2.66.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.66.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
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  
      
        tableIdString  
     
  
  
  Methods
   
  addChangeStreamRetention(Duration retention) 
  
    
public   UpdateTableRequest   addChangeStreamRetention ( Duration   retention )  
  Update change stream retention period between 1 day and 7 days.
    
      
        Parameter  
      
        Name Description  
      
        retentionorg.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  
      
        oObject  
     
  
  
  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  
      
        retentionPeriodorg.threeten.bp.Duration  
      
        frequencyorg.threeten.bp.Duration  
     
  
  
  setAutomatedBackupFrequency(Duration frequency) 
  
    
public   UpdateTableRequest   setAutomatedBackupFrequency ( Duration   frequency )  
  Updates table automated backup policy frequency.
    
      
        Parameter  
      
        Name Description  
      
        frequencyorg.threeten.bp.Duration  
     
  
  
  setAutomatedBackupRetentionPeriod(Duration retention) 
  
    
public   UpdateTableRequest   setAutomatedBackupRetentionPeriod ( Duration   retention )  
  Updates table automated backup policy retention period.
    
      
        Parameter  
      
        Name Description  
      
        retentionorg.threeten.bp.Duration  
     
  
  
  setDeletionProtection(boolean deletionProtection) 
  
    
public   UpdateTableRequest   setDeletionProtection ( boolean   deletionProtection )  
  Changes the deletion protection of an existing table.
    
      
        Parameter  
      
        Name Description  
      
        deletionProtectionboolean  
     
  
  
  toProto(String projectId, String instanceId) 
  
    
public   UpdateTableRequest   toProto ( String   projectId ,   String   instanceId )  
  
  
    
      
        Parameters  
      
        Name Description  
      
        projectIdString  
      
        instanceIdString  
     
  
  
    
      
        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 2025-10-11 UTC.
 
 
  
  
  
    
      [[["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-10-11 UTC."],[],[]]