Class: TencentCloud::Tse::V20201207::GovernanceNamespace
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::GovernanceNamespace
- Defined in:
- lib/v20201207/models.rb
Overview
治理中心命名空间
Instance Attribute Summary collapse
- #Comment ⇒ Object
- #CreateTime ⇒ Object
- #Editable ⇒ Object
- #GroupIds ⇒ Object
- #Id ⇒ Object
- #Metadatas ⇒ Object
- #ModifyTime ⇒ Object
- #Name ⇒ Object
- #RemoveGroupIds ⇒ Object
- #RemoveUserIds ⇒ Object
- #ServiceExportTo ⇒ Object
- #SyncToGlobalRegistry ⇒ Object
- #TotalHealthInstanceCount ⇒ Object
- #TotalInstanceCount ⇒ Object
- #TotalServiceCount ⇒ Object
- #UserIds ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, comment = nil, createtime = nil, modifytime = nil, totalservicecount = nil, totalhealthinstancecount = nil, totalinstancecount = nil, id = nil, editable = nil, userids = nil, groupids = nil, removeuserids = nil, removegroupids = nil, serviceexportto = nil, synctoglobalregistry = nil, metadatas = nil) ⇒ GovernanceNamespace
constructor
A new instance of GovernanceNamespace.
Constructor Details
#initialize(name = nil, comment = nil, createtime = nil, modifytime = nil, totalservicecount = nil, totalhealthinstancecount = nil, totalinstancecount = nil, id = nil, editable = nil, userids = nil, groupids = nil, removeuserids = nil, removegroupids = nil, serviceexportto = nil, synctoglobalregistry = nil, metadatas = nil) ⇒ GovernanceNamespace
Returns a new instance of GovernanceNamespace.
8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 |
# File 'lib/v20201207/models.rb', line 8130 def initialize(name=nil, comment=nil, createtime=nil, modifytime=nil, totalservicecount=nil, totalhealthinstancecount=nil, totalinstancecount=nil, id=nil, editable=nil, userids=nil, groupids=nil, removeuserids=nil, removegroupids=nil, serviceexportto=nil, synctoglobalregistry=nil, =nil) @Name = name @Comment = comment @CreateTime = createtime @ModifyTime = modifytime @TotalServiceCount = totalservicecount @TotalHealthInstanceCount = totalhealthinstancecount @TotalInstanceCount = totalinstancecount @Id = id @Editable = editable @UserIds = userids @GroupIds = groupids @RemoveUserIds = removeuserids @RemoveGroupIds = removegroupids @ServiceExportTo = serviceexportto @SyncToGlobalRegistry = synctoglobalregistry @Metadatas = end |
Instance Attribute Details
#Comment ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def Comment @Comment end |
#CreateTime ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def CreateTime @CreateTime end |
#Editable ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def Editable @Editable end |
#GroupIds ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def GroupIds @GroupIds end |
#Id ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def Id @Id end |
#Metadatas ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def Metadatas @Metadatas end |
#ModifyTime ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def ModifyTime @ModifyTime end |
#Name ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def Name @Name end |
#RemoveGroupIds ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def RemoveGroupIds @RemoveGroupIds end |
#RemoveUserIds ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def RemoveUserIds @RemoveUserIds end |
#ServiceExportTo ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def ServiceExportTo @ServiceExportTo end |
#SyncToGlobalRegistry ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def SyncToGlobalRegistry @SyncToGlobalRegistry end |
#TotalHealthInstanceCount ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def TotalHealthInstanceCount @TotalHealthInstanceCount end |
#TotalInstanceCount ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def TotalInstanceCount @TotalInstanceCount end |
#TotalServiceCount ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def TotalServiceCount @TotalServiceCount end |
#UserIds ⇒ Object
8128 8129 8130 |
# File 'lib/v20201207/models.rb', line 8128 def UserIds @UserIds end |
Instance Method Details
#deserialize(params) ⇒ Object
8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 |
# File 'lib/v20201207/models.rb', line 8149 def deserialize(params) @Name = params['Name'] @Comment = params['Comment'] @CreateTime = params['CreateTime'] @ModifyTime = params['ModifyTime'] @TotalServiceCount = params['TotalServiceCount'] @TotalHealthInstanceCount = params['TotalHealthInstanceCount'] @TotalInstanceCount = params['TotalInstanceCount'] @Id = params['Id'] @Editable = params['Editable'] @UserIds = params['UserIds'] @GroupIds = params['GroupIds'] @RemoveUserIds = params['RemoveUserIds'] @RemoveGroupIds = params['RemoveGroupIds'] @ServiceExportTo = params['ServiceExportTo'] @SyncToGlobalRegistry = params['SyncToGlobalRegistry'] unless params['Metadatas'].nil? @Metadatas = [] params['Metadatas'].each do |i| = Metadata.new .deserialize(i) @Metadatas << end end end |