Class: TencentCloud::Tdmq::V20200217::EnvironmentRoleSet
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::EnvironmentRoleSet
- Defined in:
- lib/v20200217/models.rb
Overview
批量绑定名字空间和角色权限关系
Instance Attribute Summary collapse
-
#EnvironmentId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Permissions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, permissions = nil) ⇒ EnvironmentRoleSet
constructor
A new instance of EnvironmentRoleSet.
Constructor Details
#initialize(environmentid = nil, permissions = nil) ⇒ EnvironmentRoleSet
Returns a new instance of EnvironmentRoleSet.
8023 8024 8025 8026 |
# File 'lib/v20200217/models.rb', line 8023 def initialize(environmentid=nil, =nil) @EnvironmentId = environmentid @Permissions = end |
Instance Attribute Details
#EnvironmentId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8021 8022 8023 |
# File 'lib/v20200217/models.rb', line 8021 def EnvironmentId @EnvironmentId end |
#Permissions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8021 8022 8023 |
# File 'lib/v20200217/models.rb', line 8021 def Permissions @Permissions end |
Instance Method Details
#deserialize(params) ⇒ Object
8028 8029 8030 8031 |
# File 'lib/v20200217/models.rb', line 8028 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @Permissions = params['Permissions'] end |