Class: TencentCloud::Tdmq::V20200217::EnvironmentRoleSet

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

批量绑定名字空间和角色权限关系

Instance Attribute Summary collapse

Instance Method Summary collapse

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, permissions=nil)
  @EnvironmentId = environmentid
  @Permissions = permissions
end

Instance Attribute Details

#EnvironmentIdObject

注意:此字段可能返回 null,表示取不到有效值。



8021
8022
8023
# File 'lib/v20200217/models.rb', line 8021

def EnvironmentId
  @EnvironmentId
end

#PermissionsObject

注意:此字段可能返回 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