Class: TencentCloud::Gse::V20191112::InboundPermissionRevocations
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::InboundPermissionRevocations
- Defined in:
- lib/v20191112/models.rb
Overview
需要移除的安全组
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fromport = nil, iprange = nil, protocol = nil, toport = nil) ⇒ InboundPermissionRevocations
constructor
A new instance of InboundPermissionRevocations.
Constructor Details
#initialize(fromport = nil, iprange = nil, protocol = nil, toport = nil) ⇒ InboundPermissionRevocations
Returns a new instance of InboundPermissionRevocations.
3923 3924 3925 3926 3927 3928 |
# File 'lib/v20191112/models.rb', line 3923 def initialize(fromport=nil, iprange=nil, protocol=nil, toport=nil) @FromPort = fromport @IpRange = iprange @Protocol = protocol @ToPort = toport end |
Instance Attribute Details
#FromPort ⇒ Object
3921 3922 3923 |
# File 'lib/v20191112/models.rb', line 3921 def FromPort @FromPort end |
#IpRange ⇒ Object
3921 3922 3923 |
# File 'lib/v20191112/models.rb', line 3921 def IpRange @IpRange end |
#Protocol ⇒ Object
3921 3922 3923 |
# File 'lib/v20191112/models.rb', line 3921 def Protocol @Protocol end |
#ToPort ⇒ Object
3921 3922 3923 |
# File 'lib/v20191112/models.rb', line 3921 def ToPort @ToPort end |
Instance Method Details
#deserialize(params) ⇒ Object
3930 3931 3932 3933 3934 3935 |
# File 'lib/v20191112/models.rb', line 3930 def deserialize(params) @FromPort = params['FromPort'] @IpRange = params['IpRange'] @Protocol = params['Protocol'] @ToPort = params['ToPort'] end |