Class: TencentCloud::Wedata::V20210820::RuleConfig

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210820/models.rb

Overview

规则配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ruleid = nil, conditiontype = nil, condition = nil, targetcondition = nil) ⇒ RuleConfig

Returns a new instance of RuleConfig.



20192
20193
20194
20195
20196
20197
# File 'lib/v20210820/models.rb', line 20192

def initialize(ruleid=nil, conditiontype=nil, condition=nil, targetcondition=nil)
  @RuleId = ruleid
  @ConditionType = conditiontype
  @Condition = condition
  @TargetCondition = targetcondition
end

Instance Attribute Details

#ConditionObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RuleId:

    规则ID

  • ConditionType:

    规则检测范围类型 1.全表 2.条件扫描

  • Condition:

    检测范围表达式

  • TargetCondition:

    目标检测范围表达式



20190
20191
20192
# File 'lib/v20210820/models.rb', line 20190

def Condition
  @Condition
end

#ConditionTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RuleId:

    规则ID

  • ConditionType:

    规则检测范围类型 1.全表 2.条件扫描

  • Condition:

    检测范围表达式

  • TargetCondition:

    目标检测范围表达式



20190
20191
20192
# File 'lib/v20210820/models.rb', line 20190

def ConditionType
  @ConditionType
end

#RuleIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RuleId:

    规则ID

  • ConditionType:

    规则检测范围类型 1.全表 2.条件扫描

  • Condition:

    检测范围表达式

  • TargetCondition:

    目标检测范围表达式



20190
20191
20192
# File 'lib/v20210820/models.rb', line 20190

def RuleId
  @RuleId
end

#TargetConditionObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • RuleId:

    规则ID

  • ConditionType:

    规则检测范围类型 1.全表 2.条件扫描

  • Condition:

    检测范围表达式

  • TargetCondition:

    目标检测范围表达式



20190
20191
20192
# File 'lib/v20210820/models.rb', line 20190

def TargetCondition
  @TargetCondition
end

Instance Method Details

#deserialize(params) ⇒ Object



20199
20200
20201
20202
20203
20204
# File 'lib/v20210820/models.rb', line 20199

def deserialize(params)
  @RuleId = params['RuleId']
  @ConditionType = params['ConditionType']
  @Condition = params['Condition']
  @TargetCondition = params['TargetCondition']
end