Class: Aliyun::Oss::Struct::Logging
- Defined in:
- lib/aliyun/oss/struct/logging.rb
Instance Attribute Summary collapse
-
#logging_enabled ⇒ Object
Container for logging information.
-
#target_bucket ⇒ Object
This element specifies the bucket where server access logs will be delivered.
-
#target_prefix ⇒ Object
Specifies the prefix for the keys that the log files are being stored for.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Logging
constructor
A new instance of Logging.
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_enabled ⇒ Object
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_bucket ⇒ Object
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_prefix ⇒ Object
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 |