Class: Aliyun::OSS::BucketLogging
- Inherits:
-
Common::Struct::Base
- Object
- Common::Struct::Base
- Aliyun::OSS::BucketLogging
- Defined in:
- lib/aliyun/oss/struct.rb
Overview
Bucket Logging setting. See: OSS Bucket logging Attributes:
-
enable [Boolean] whether to enable bucket logging
-
target_bucket [String] the target bucket to store access logs
-
target_prefix [String] the target object prefix to store access logs
Instance Method Summary collapse
Methods inherited from Common::Struct::Base
Methods included from Common::Struct::Base::AttrHelper
Constructor Details
This class inherits a constructor from Aliyun::Common::Struct::Base
Instance Method Details
#enabled? ⇒ Boolean
72 73 74 |
# File 'lib/aliyun/oss/struct.rb', line 72 def enabled? enable == true end |