public void EnableDefaultKMSKey()
    {
        EnableDefaultKMSKeySample enableDefaultKMSKeySample = new EnableDefaultKMSKeySample();
        var bucket = enableDefaultKMSKeySample.EnableDefaultKMSKey(_fixture.ProjectId, _fixture.BucketNameRegional,
                                                                   _fixture.KmsKeyLocation, _fixture.KmsKeyRing, _fixture.KmsKeyName);

        _fixture.SleepAfterBucketCreateUpdateDelete();
        Assert.NotNull(bucket.Encryption.DefaultKmsKeyName);
    }
    public void BucketDeleteDefaultKmsKey()
    {
        EnableDefaultKMSKeySample       enableDefaultKMSKeySample       = new EnableDefaultKMSKeySample();
        GetBucketMetadataSample         getBucketMetadataSample         = new GetBucketMetadataSample();
        BucketDeleteDefaultKmsKeySample bucketDeleteDefaultKmsKeySample = new BucketDeleteDefaultKmsKeySample();

        // Set default key
        enableDefaultKMSKeySample.EnableDefaultKMSKey(_fixture.ProjectId, _fixture.BucketNameRegional,
                                                      _fixture.KmsKeyLocation, _fixture.KmsKeyRing, _fixture.KmsKeyName);
        _fixture.SleepAfterBucketCreateUpdateDelete();

        // Remove default key
        bucketDeleteDefaultKmsKeySample.BucketDeleteDefaultKmsKey(_fixture.BucketNameRegional);
        _fixture.SleepAfterBucketCreateUpdateDelete();

        // Verify removal
        var bucketMetadata = getBucketMetadataSample.GetBucketMetadata(_fixture.BucketNameRegional);

        Assert.Null(bucketMetadata.Encryption?.DefaultKmsKeyName);
    }