コード例 #1
0
ファイル: BackupUploader.cs プロジェクト: ikvm/ravendb
        private void DeleteFromGoogleCloud(GoogleCloudSettings settings)
        {
            using (var client = new RavenGoogleCloudClient(settings, _settings.Configuration, progress: null, TaskCancelToken.Token))
            {
                var key = CombinePathAndKey(settings.RemoteFolderName);
                client.DeleteObject(key);

                if (_logger.IsInfoEnabled)
                {
                    _logger.Info($"{ReportDeletion(GoogleCloudName)} storage bucket: {settings.BucketName}");
                }
            }
        }