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.
10386 10387 10388 10389 10390 10391 10392 10393 |
# File 'lib/v20170320/models.rb', line 10386 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 - 五年。
10381 10382 10383 |
# File 'lib/v20170320/models.rb', line 10381 def AuditAll @AuditAll end |
#AuditRuleFilters ⇒ Object
7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。3 - 3天;7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。
10381 10382 10383 |
# File 'lib/v20170320/models.rb', line 10381 def AuditRuleFilters @AuditRuleFilters end |
#HighLogExpireDay ⇒ Object
7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。3 - 3天;7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。
10381 10382 10383 |
# File 'lib/v20170320/models.rb', line 10381 def HighLogExpireDay @HighLogExpireDay end |
#InstanceId ⇒ Object
7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。3 - 3天;7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。
10381 10382 10383 |
# File 'lib/v20170320/models.rb', line 10381 def InstanceId @InstanceId end |
#LogExpireDay ⇒ Object
7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。3 - 3天;7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。
10381 10382 10383 |
# File 'lib/v20170320/models.rb', line 10381 def LogExpireDay @LogExpireDay end |
#RuleTemplateIds ⇒ Object
7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。3 - 3天;7 - 一周;30 - 一个月;90 - 三个月;180 - 六个月;365 - 一年;1095 - 三年;1825 - 五年。
10381 10382 10383 |
# File 'lib/v20170320/models.rb', line 10381 def RuleTemplateIds @RuleTemplateIds end |
Instance Method Details
#deserialize(params) ⇒ Object
10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 |
# File 'lib/v20170320/models.rb', line 10395 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 |