Class: TencentCloud::Tem::V20210701::IngressRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::IngressRule
- Defined in:
- lib/v20210701/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.
3075 3076 3077 3078 3079 |
# File 'lib/v20210701/models.rb', line 3075 def initialize(http=nil, host=nil, protocol=nil) @Http = http @Host = host @Protocol = protocol end |
Instance Attribute Details
#Host ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3073 3074 3075 |
# File 'lib/v20210701/models.rb', line 3073 def Host @Host end |
#Http ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3073 3074 3075 |
# File 'lib/v20210701/models.rb', line 3073 def Http @Http end |
#Protocol ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3073 3074 3075 |
# File 'lib/v20210701/models.rb', line 3073 def Protocol @Protocol end |
Instance Method Details
#deserialize(params) ⇒ Object
3081 3082 3083 3084 3085 3086 3087 3088 |
# File 'lib/v20210701/models.rb', line 3081 def deserialize(params) unless params['Http'].nil? @Http = IngressRuleValue.new @Http.deserialize(params['Http']) end @Host = params['Host'] @Protocol = params['Protocol'] end |