Class: TencentCloud::Tse::V20201207::GovernanceServiceInput
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::GovernanceServiceInput
- Defined in:
- lib/v20201207/models.rb
Overview
治理中心服务入参
Instance Attribute Summary collapse
- #Business ⇒ Object
- #Comment ⇒ Object
- #Department ⇒ Object
- #ExportTo ⇒ Object
- #GroupIds ⇒ Object
- #Metadatas ⇒ Object
- #Name ⇒ Object
- #Namespace ⇒ Object
- #RemoveGroupIds ⇒ Object
- #RemoveUserIds ⇒ Object
- #SyncToGlobalRegistry ⇒ Object
- #UserIds ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, namespace = nil, comment = nil, metadatas = nil, department = nil, business = nil, userids = nil, groupids = nil, removeuserids = nil, removegroupids = nil, exportto = nil, synctoglobalregistry = nil) ⇒ GovernanceServiceInput
constructor
A new instance of GovernanceServiceInput.
Constructor Details
#initialize(name = nil, namespace = nil, comment = nil, metadatas = nil, department = nil, business = nil, userids = nil, groupids = nil, removeuserids = nil, removegroupids = nil, exportto = nil, synctoglobalregistry = nil) ⇒ GovernanceServiceInput
Returns a new instance of GovernanceServiceInput.
8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 |
# File 'lib/v20201207/models.rb', line 8453 def initialize(name=nil, namespace=nil, comment=nil, =nil, department=nil, business=nil, userids=nil, groupids=nil, removeuserids=nil, removegroupids=nil, exportto=nil, synctoglobalregistry=nil) @Name = name @Namespace = namespace @Comment = comment @Metadatas = @Department = department @Business = business @UserIds = userids @GroupIds = groupids @RemoveUserIds = removeuserids @RemoveGroupIds = removegroupids @ExportTo = exportto @SyncToGlobalRegistry = synctoglobalregistry end |
Instance Attribute Details
#Business ⇒ Object
8451 8452 8453 |
# File 'lib/v20201207/models.rb', line 8451 def Business @Business end |
#Comment ⇒ Object
8451 8452 8453 |
# File 'lib/v20201207/models.rb', line 8451 def Comment @Comment end |
#Department ⇒ Object
8451 8452 8453 |
# File 'lib/v20201207/models.rb', line 8451 def Department @Department end |
#ExportTo ⇒ Object
8451 8452 8453 |
# File 'lib/v20201207/models.rb', line 8451 def ExportTo @ExportTo end |
#GroupIds ⇒ Object
8451 8452 8453 |
# File 'lib/v20201207/models.rb', line 8451 def GroupIds @GroupIds end |
#Metadatas ⇒ Object
8451 8452 8453 |
# File 'lib/v20201207/models.rb', line 8451 def Metadatas @Metadatas end |
#Name ⇒ Object
8451 8452 8453 |
# File 'lib/v20201207/models.rb', line 8451 def Name @Name end |
#Namespace ⇒ Object
8451 8452 8453 |
# File 'lib/v20201207/models.rb', line 8451 def Namespace @Namespace end |
#RemoveGroupIds ⇒ Object
8451 8452 8453 |
# File 'lib/v20201207/models.rb', line 8451 def RemoveGroupIds @RemoveGroupIds end |
#RemoveUserIds ⇒ Object
8451 8452 8453 |
# File 'lib/v20201207/models.rb', line 8451 def RemoveUserIds @RemoveUserIds end |
#SyncToGlobalRegistry ⇒ Object
8451 8452 8453 |
# File 'lib/v20201207/models.rb', line 8451 def SyncToGlobalRegistry @SyncToGlobalRegistry end |
#UserIds ⇒ Object
8451 8452 8453 |
# File 'lib/v20201207/models.rb', line 8451 def UserIds @UserIds end |
Instance Method Details
#deserialize(params) ⇒ Object
8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 |
# File 'lib/v20201207/models.rb', line 8468 def deserialize(params) @Name = params['Name'] @Namespace = params['Namespace'] @Comment = params['Comment'] unless params['Metadatas'].nil? @Metadatas = [] params['Metadatas'].each do |i| = Metadata.new .deserialize(i) @Metadatas << end end @Department = params['Department'] @Business = params['Business'] @UserIds = params['UserIds'] @GroupIds = params['GroupIds'] @RemoveUserIds = params['RemoveUserIds'] @RemoveGroupIds = params['RemoveGroupIds'] @ExportTo = params['ExportTo'] @SyncToGlobalRegistry = params['SyncToGlobalRegistry'] end |