Class: TencentCloud::Tke::V20180525::PermissionItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::PermissionItem
- Defined in:
- lib/v20180525/models.rb
Overview
用户权限项,定义用户在集群中的 RBAC 权限绑定
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#IsCustom ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Namespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RoleName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RoleType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, rolename = nil, roletype = nil, iscustom = nil, namespace = nil) ⇒ PermissionItem
constructor
A new instance of PermissionItem.
Constructor Details
#initialize(clusterid = nil, rolename = nil, roletype = nil, iscustom = nil, namespace = nil) ⇒ PermissionItem
Returns a new instance of PermissionItem.
17174 17175 17176 17177 17178 17179 17180 |
# File 'lib/v20180525/models.rb', line 17174 def initialize(clusterid=nil, rolename=nil, roletype=nil, iscustom=nil, namespace=nil) @ClusterId = clusterid @RoleName = rolename @RoleType = roletype @IsCustom = iscustom @Namespace = namespace end |
Instance Attribute Details
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
17172 17173 17174 |
# File 'lib/v20180525/models.rb', line 17172 def ClusterId @ClusterId end |
#IsCustom ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
17172 17173 17174 |
# File 'lib/v20180525/models.rb', line 17172 def IsCustom @IsCustom end |
#Namespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
17172 17173 17174 |
# File 'lib/v20180525/models.rb', line 17172 def Namespace @Namespace end |
#RoleName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
17172 17173 17174 |
# File 'lib/v20180525/models.rb', line 17172 def RoleName @RoleName end |
#RoleType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
17172 17173 17174 |
# File 'lib/v20180525/models.rb', line 17172 def RoleType @RoleType end |
Instance Method Details
#deserialize(params) ⇒ Object
17182 17183 17184 17185 17186 17187 17188 |
# File 'lib/v20180525/models.rb', line 17182 def deserialize(params) @ClusterId = params['ClusterId'] @RoleName = params['RoleName'] @RoleType = params['RoleType'] @IsCustom = params['IsCustom'] @Namespace = params['Namespace'] end |