Class: Aliyun::Oss::Struct::Logging

Inherits:
Base
  • Object
show all
Defined in:
lib/aliyun/oss/struct/logging.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Logging

Returns a new instance of Logging.



14
15
16
17
# File 'lib/aliyun/oss/struct/logging.rb', line 14

def initialize(attributes = {})
  @logging_enabled = false
  super
end

Instance Attribute Details

#logging_enabledObject

Container for logging information. This element and its children are present when logging is enabled; otherwise, this element and its children are absent.



6
7
8
# File 'lib/aliyun/oss/struct/logging.rb', line 6

def logging_enabled
  @logging_enabled
end

#target_bucketObject

This element specifies the bucket where server access logs will be delivered.



9
10
11
# File 'lib/aliyun/oss/struct/logging.rb', line 9

def target_bucket
  @target_bucket
end

#target_prefixObject

Specifies the prefix for the keys that the log files are being stored for.



12
13
14
# File 'lib/aliyun/oss/struct/logging.rb', line 12

def target_prefix
  @target_prefix
end