class AliyunSDK::OSS::BucketLogging

Bucket Logging setting. See: {help.aliyun.com/document_detail/oss/product-documentation/function/logging.html OSS Bucket logging} Attributes:

@example Enable bucket logging

bucket.logging = BucketLogging.new(
  :enable => true, :target_bucket => 'log_bucket', :target_prefix => 'my-log')

@example Disable bucket logging

bucket.logging = BucketLogging.new(:enable => false)

Public Instance Methods

enabled?() click to toggle source
# File lib/aliyun_sdk/oss/struct.rb, line 71
def enabled?
  enable == true
end