Class: Aliyun::OSS::BucketVersioning

Inherits:
Common::Struct::Base show all
Defined in:
lib/aliyun/oss/struct.rb

Overview

Bucket Versioning setting. See: OSS Bucket versioning Attributes:

  • status [String] the bucket versioning status, can be ‘Enabled’ and ‘Suspended’

Examples:

Enable bucket versioning

bucket.versioning = BucketVersioning.new(:status => 'Enabled')

Suspend bucket versioning

bucket.versioning = BucketVersioning.new(:status => 'Suspended')

Method Summary

Methods inherited from Common::Struct::Base

#initialize, #to_s

Methods included from Common::Struct::Base::AttrHelper

#attrs

Constructor Details

This class inherits a constructor from Aliyun::Common::Struct::Base