Class: TencentCloud::Ckafka::V20190819::AclRuleInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::AclRuleInfo
- Defined in:
- lib/v20190819/models.rb
Overview
表示ACL 规则的四元组信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(operation = nil, permissiontype = nil, host = nil, principal = nil) ⇒ AclRuleInfo
constructor
A new instance of AclRuleInfo.
Constructor Details
#initialize(operation = nil, permissiontype = nil, host = nil, principal = nil) ⇒ AclRuleInfo
Returns a new instance of AclRuleInfo.
160 161 162 163 164 165 |
# File 'lib/v20190819/models.rb', line 160 def initialize(operation=nil, =nil, host=nil, principal=nil) @Operation = operation @PermissionType = @Host = host @Principal = principal end |
Instance Attribute Details
#Host ⇒ Object
158 159 160 |
# File 'lib/v20190819/models.rb', line 158 def Host @Host end |
#Operation ⇒ Object
158 159 160 |
# File 'lib/v20190819/models.rb', line 158 def Operation @Operation end |
#PermissionType ⇒ Object
158 159 160 |
# File 'lib/v20190819/models.rb', line 158 def PermissionType @PermissionType end |
#Principal ⇒ Object
158 159 160 |
# File 'lib/v20190819/models.rb', line 158 def Principal @Principal end |
Instance Method Details
#deserialize(params) ⇒ Object
167 168 169 170 171 172 |
# File 'lib/v20190819/models.rb', line 167 def deserialize(params) @Operation = params['Operation'] @PermissionType = params['PermissionType'] @Host = params['Host'] @Principal = params['Principal'] end |