Class: Aliyun::OSS::BucketEncryption

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

Overview

Bucket Encryption setting. See: OSS Bucket encryption Attributes:

  • sse_algorithm [string] Indicates the default server-side encryption method

  • kms_master_key_id [string] Indicates the ID of CMK that is currently used.

Instance Method Summary collapse

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

Instance Method Details

#enabled?Boolean

Returns:

  • (Boolean)


97
98
99
# File 'lib/aliyun/oss/struct.rb', line 97

def enabled?
  enable == true
end