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.
8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 |
# File 'lib/v20201207/models.rb', line 8435 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
8433 8434 8435 |
# File 'lib/v20201207/models.rb', line 8433 def Business @Business end |
#Comment ⇒ Object
8433 8434 8435 |
# File 'lib/v20201207/models.rb', line 8433 def Comment @Comment end |
#Department ⇒ Object
8433 8434 8435 |
# File 'lib/v20201207/models.rb', line 8433 def Department @Department end |
#ExportTo ⇒ Object
8433 8434 8435 |
# File 'lib/v20201207/models.rb', line 8433 def ExportTo @ExportTo end |
#GroupIds ⇒ Object
8433 8434 8435 |
# File 'lib/v20201207/models.rb', line 8433 def GroupIds @GroupIds end |
#Metadatas ⇒ Object
8433 8434 8435 |
# File 'lib/v20201207/models.rb', line 8433 def Metadatas @Metadatas end |
#Name ⇒ Object
8433 8434 8435 |
# File 'lib/v20201207/models.rb', line 8433 def Name @Name end |
#Namespace ⇒ Object
8433 8434 8435 |
# File 'lib/v20201207/models.rb', line 8433 def Namespace @Namespace end |
#RemoveGroupIds ⇒ Object
8433 8434 8435 |
# File 'lib/v20201207/models.rb', line 8433 def RemoveGroupIds @RemoveGroupIds end |
#RemoveUserIds ⇒ Object
8433 8434 8435 |
# File 'lib/v20201207/models.rb', line 8433 def RemoveUserIds @RemoveUserIds end |
#SyncToGlobalRegistry ⇒ Object
8433 8434 8435 |
# File 'lib/v20201207/models.rb', line 8433 def SyncToGlobalRegistry @SyncToGlobalRegistry end |
#UserIds ⇒ Object
8433 8434 8435 |
# File 'lib/v20201207/models.rb', line 8433 def UserIds @UserIds end |
Instance Method Details
#deserialize(params) ⇒ Object
8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 |
# File 'lib/v20201207/models.rb', line 8450 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 |