Class: TencentCloud::Tem::V20201221::IngressRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20201221::IngressRule
- Defined in:
- lib/v20201221/models.rb
Overview
ingress rule 配置
Instance Attribute Summary collapse
-
#Host ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Http ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Protocol ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(http = nil, host = nil, protocol = nil) ⇒ IngressRule
constructor
A new instance of IngressRule.
Constructor Details
#initialize(http = nil, host = nil, protocol = nil) ⇒ IngressRule
Returns a new instance of IngressRule.
1276 1277 1278 1279 1280 |
# File 'lib/v20201221/models.rb', line 1276 def initialize(http=nil, host=nil, protocol=nil) @Http = http @Host = host @Protocol = protocol end |
Instance Attribute Details
#Host ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1274 1275 1276 |
# File 'lib/v20201221/models.rb', line 1274 def Host @Host end |
#Http ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1274 1275 1276 |
# File 'lib/v20201221/models.rb', line 1274 def Http @Http end |
#Protocol ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1274 1275 1276 |
# File 'lib/v20201221/models.rb', line 1274 def Protocol @Protocol end |
Instance Method Details
#deserialize(params) ⇒ Object
1282 1283 1284 1285 1286 1287 1288 1289 |
# File 'lib/v20201221/models.rb', line 1282 def deserialize(params) unless params['Http'].nil? @Http = IngressRuleValue.new @Http.deserialize(params['Http']) end @Host = params['Host'] @Protocol = params['Protocol'] end |