Class: TencentCloud::Trocket::V20230308::PublicAccessRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::PublicAccessRule
- Defined in:
- lib/v20230308/models.rb
Overview
公网访问安全规则
Instance Attribute Summary collapse
-
#Allow ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IpRule ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Remark ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 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.
5628 5629 5630 5631 5632 |
# File 'lib/v20230308/models.rb', line 5628 def initialize(iprule=nil, allow=nil, remark=nil) @IpRule = iprule @Allow = allow @Remark = remark end |
Instance Attribute Details
#Allow ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5626 5627 5628 |
# File 'lib/v20230308/models.rb', line 5626 def Allow @Allow end |
#IpRule ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5626 5627 5628 |
# File 'lib/v20230308/models.rb', line 5626 def IpRule @IpRule end |
#Remark ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5626 5627 5628 |
# File 'lib/v20230308/models.rb', line 5626 def Remark @Remark end |
Instance Method Details
#deserialize(params) ⇒ Object
5634 5635 5636 5637 5638 |
# File 'lib/v20230308/models.rb', line 5634 def deserialize(params) @IpRule = params['IpRule'] @Allow = params['Allow'] @Remark = params['Remark'] end |