Class: TencentCloud::Cdb::V20170320::ModifyAuditServiceRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::ModifyAuditServiceRequest
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20170320/models.rb
Overview
ModifyAuditService请求参数结构体
Instance Attribute Summary collapse
-
#AuditAll ⇒ Object
7 - 一周; 30 - 一个月; 90 - 三个月; 180 - 六个月; 365 - 一年; 1095 - 三年; 1825 - 五年。 3 - 3天; 7 - 一周; 30 - 一个月; 90 - 三个月; 180 - 六个月; 365 - 一年; 1095 - 三年; 1825 - 五年。.
-
#AuditRuleFilters ⇒ Object
7 - 一周; 30 - 一个月; 90 - 三个月; 180 - 六个月; 365 - 一年; 1095 - 三年; 1825 - 五年。 3 - 3天; 7 - 一周; 30 - 一个月; 90 - 三个月; 180 - 六个月; 365 - 一年; 1095 - 三年; 1825 - 五年。.
-
#HighLogExpireDay ⇒ Object
7 - 一周; 30 - 一个月; 90 - 三个月; 180 - 六个月; 365 - 一年; 1095 - 三年; 1825 - 五年。 3 - 3天; 7 - 一周; 30 - 一个月; 90 - 三个月; 180 - 六个月; 365 - 一年; 1095 - 三年; 1825 - 五年。.
-
#InstanceId ⇒ Object
7 - 一周; 30 - 一个月; 90 - 三个月; 180 - 六个月; 365 - 一年; 1095 - 三年; 1825 - 五年。 3 - 3天; 7 - 一周; 30 - 一个月; 90 - 三个月; 180 - 六个月; 365 - 一年; 1095 - 三年; 1825 - 五年。.
-
#LogExpireDay ⇒ Object
7 - 一周; 30 - 一个月; 90 - 三个月; 180 - 六个月; 365 - 一年; 1095 - 三年; 1825 - 五年。 3 - 3天; 7 - 一周; 30 - 一个月; 90 - 三个月; 180 - 六个月; 365 - 一年; 1095 - 三年; 1825 - 五年。.
-
#RuleTemplateIds ⇒ Object
7 - 一周; 30 - 一个月; 90 - 三个月; 180 - 六个月; 365 - 一年; 1095 - 三年; 1825 - 五年。 3 - 3天; 7 - 一周; 30 - 一个月; 90 - 三个月; 180 - 六个月; 365 - 一年; 1095 - 三年; 1825 - 五年。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, logexpireday = nil, highlogexpireday = nil, auditall = nil, auditrulefilters = nil, ruletemplateids = nil) ⇒ ModifyAuditServiceRequest
constructor
A new instance of ModifyAuditServiceRequest.
Constructor Details
#initialize(instanceid = nil, logexpireday = nil, highlogexpireday = nil, auditall = nil, auditrulefilters = nil, ruletemplateids = nil) ⇒ ModifyAuditServiceRequest
Returns a new instance of ModifyAuditServiceRequest.
10548 10549 10550 10551 10552 10553 10554 10555 |
# File 'lib/v20170320/models.rb', line 10548 def initialize(instanceid=nil, logexpireday=nil, highlogexpireday=nil, auditall=nil, auditrulefilters=nil, ruletemplateids=nil) @InstanceId = instanceid @LogExpireDay = logexpireday @HighLogExpireDay = highlogexpireday @AuditAll = auditall @AuditRuleFilters = auditrulefilters @RuleTemplateIds = ruletemplateids end |
Instance Attribute Details
#AuditAll ⇒ Object
7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。3 - 3天;7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。
10543 10544 10545 |
# File 'lib/v20170320/models.rb', line 10543 def AuditAll @AuditAll end |
#AuditRuleFilters ⇒ Object
7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。3 - 3天;7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。
10543 10544 10545 |
# File 'lib/v20170320/models.rb', line 10543 def AuditRuleFilters @AuditRuleFilters end |
#HighLogExpireDay ⇒ Object
7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。3 - 3天;7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。
10543 10544 10545 |
# File 'lib/v20170320/models.rb', line 10543 def HighLogExpireDay @HighLogExpireDay end |
#InstanceId ⇒ Object
7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。3 - 3天;7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。
10543 10544 10545 |
# File 'lib/v20170320/models.rb', line 10543 def InstanceId @InstanceId end |
#LogExpireDay ⇒ Object
7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。3 - 3天;7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。
10543 10544 10545 |
# File 'lib/v20170320/models.rb', line 10543 def LogExpireDay @LogExpireDay end |
#RuleTemplateIds ⇒ Object
7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。3 - 3天;7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。
10543 10544 10545 |
# File 'lib/v20170320/models.rb', line 10543 def RuleTemplateIds @RuleTemplateIds end |
Instance Method Details
#deserialize(params) ⇒ Object
10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 |
# File 'lib/v20170320/models.rb', line 10557 def deserialize(params) @InstanceId = params['InstanceId'] @LogExpireDay = params['LogExpireDay'] @HighLogExpireDay = params['HighLogExpireDay'] @AuditAll = params['AuditAll'] unless params['AuditRuleFilters'].nil? @AuditRuleFilters = [] params['AuditRuleFilters'].each do |i| auditrulefilters_tmp = AuditRuleFilters.new auditrulefilters_tmp.deserialize(i) @AuditRuleFilters << auditrulefilters_tmp end end @RuleTemplateIds = params['RuleTemplateIds'] end |