Class: Aliyun::OSS::BucketLogging
- Inherits:
-
Struct::Base
- Object
- 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 Struct::Base
Methods included from Struct::Base::AttrHelper
Constructor Details
This class inherits a constructor from Aliyun::OSS::Struct::Base
Instance Method Details
#enabled? ⇒ Boolean
117 118 119 |
# File 'lib/aliyun/oss/struct.rb', line 117 def enabled? enable == true end |