google-cloud-go
google-cloud-go copied to clipboard
Deletion protection support for createTable and updateTable
- Add
DeletionProtection
field toTableConf
andTableInfo
- Change
CreateTable
,CreatePresplitTable
to supportDeletionProtection
with the value equals to False. - To enable
DeletionProtection
, useCreateTableFromConf
function. - Add
UpdateTable
function to change the value ofDeletionProtection
. - Add
mockTableAdminClock
andsetupTableClient
to support tests for Table admin APIs. - Add tests for
createTable
andupdateTable