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.



27734
27735
27736
27737
27738
27739
# File 'lib/v20210820/models.rb', line 27734

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:

    目标检测范围表达式



27732
27733
27734
# File 'lib/v20210820/models.rb', line 27732

def Condition
  @Condition
end

#ConditionTypeObject

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

Parameters:

  • RuleId:

    规则ID

  • ConditionType:

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

  • Condition:

    检测范围表达式

  • TargetCondition:

    目标检测范围表达式



27732
27733
27734
# File 'lib/v20210820/models.rb', line 27732

def ConditionType
  @ConditionType
end

#RuleIdObject

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

Parameters:

  • RuleId:

    规则ID

  • ConditionType:

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

  • Condition:

    检测范围表达式

  • TargetCondition:

    目标检测范围表达式



27732
27733
27734
# File 'lib/v20210820/models.rb', line 27732

def RuleId
  @RuleId
end

#TargetConditionObject

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

Parameters:

  • RuleId:

    规则ID

  • ConditionType:

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

  • Condition:

    检测范围表达式

  • TargetCondition:

    目标检测范围表达式



27732
27733
27734
# File 'lib/v20210820/models.rb', line 27732

def TargetCondition
  @TargetCondition
end

Instance Method Details

#deserialize(params) ⇒ Object



27741
27742
27743
27744
27745
27746
# File 'lib/v20210820/models.rb', line 27741

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