google-cloud-go icon indicating copy to clipboard operation
google-cloud-go copied to clipboard

Deletion protection support for createTable and updateTable

Open kimihrr opened this issue 2 years ago • 0 comments

  • Add DeletionProtection field to TableConf and TableInfo
  • Change CreateTable, CreatePresplitTable to support DeletionProtection with the value equals to False.
  • To enable DeletionProtection, use CreateTableFromConf function.
  • Add UpdateTable function to change the value of DeletionProtection.
  • Add mockTableAdminClock and setupTableClient to support tests for Table admin APIs.
  • Add tests for createTable and updateTable

kimihrr avatar Sep 20 '22 15:09 kimihrr