Class: TencentCloud::Tdmq::V20200217::PublicAccessRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::PublicAccessRule
- Defined in:
- lib/v20200217/models.rb
Overview
公网访问安全规则
Instance Attribute Summary collapse
-
#Allow ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#IpRule ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Remark ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(iprule = nil, allow = nil, remark = nil) ⇒ PublicAccessRule
constructor
A new instance of PublicAccessRule.
Constructor Details
#initialize(iprule = nil, allow = nil, remark = nil) ⇒ PublicAccessRule
Returns a new instance of PublicAccessRule.
9778 9779 9780 9781 9782 |
# File 'lib/v20200217/models.rb', line 9778 def initialize(iprule=nil, allow=nil, remark=nil) @IpRule = iprule @Allow = allow @Remark = remark end |
Instance Attribute Details
#Allow ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9776 9777 9778 |
# File 'lib/v20200217/models.rb', line 9776 def Allow @Allow end |
#IpRule ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9776 9777 9778 |
# File 'lib/v20200217/models.rb', line 9776 def IpRule @IpRule end |
#Remark ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9776 9777 9778 |
# File 'lib/v20200217/models.rb', line 9776 def Remark @Remark end |
Instance Method Details
#deserialize(params) ⇒ Object
9784 9785 9786 9787 9788 |
# File 'lib/v20200217/models.rb', line 9784 def deserialize(params) @IpRule = params['IpRule'] @Allow = params['Allow'] @Remark = params['Remark'] end |