获取回收站开通信息
更新时间:2022-07-13
若用户想获取Bucket回收站开通信息,获取当前回收站目录名,则如下代码所示:
response = bos_client.get_bucket_trash(bucket_name)
print("trash_dir:", response.trash_dir)
若用户想获取Bucket回收站开通信息,获取当前回收站目录名,则如下代码所示:
response = bos_client.get_bucket_trash(bucket_name)
print("trash_dir:", response.trash_dir)