Class: TencentCloud::Tse::V20201207::DescribeGovernanceServicesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::DescribeGovernanceServicesRequest
- Defined in:
- lib/v20201207/models.rb
Overview
DescribeGovernanceServices请求参数结构体
Instance Attribute Summary collapse
- #Business ⇒ Object
- #Department ⇒ Object
- #Host ⇒ Object
- #InstanceId ⇒ Object
- #Limit ⇒ Object
- #Metadatas ⇒ Object
- #Name ⇒ Object
- #Namespace ⇒ Object
- #Offset ⇒ Object
- #OnlyExistHealthyInstance ⇒ Object
- #StatusFilter ⇒ Object
- #SyncToGlobalRegistry ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, namespace = nil, metadatas = nil, offset = nil, limit = nil, instanceid = nil, department = nil, business = nil, host = nil, onlyexisthealthyinstance = nil, synctoglobalregistry = nil, statusfilter = nil) ⇒ DescribeGovernanceServicesRequest
constructor
A new instance of DescribeGovernanceServicesRequest.
Constructor Details
#initialize(name = nil, namespace = nil, metadatas = nil, offset = nil, limit = nil, instanceid = nil, department = nil, business = nil, host = nil, onlyexisthealthyinstance = nil, synctoglobalregistry = nil, statusfilter = nil) ⇒ DescribeGovernanceServicesRequest
Returns a new instance of DescribeGovernanceServicesRequest.
6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 |
# File 'lib/v20201207/models.rb', line 6306 def initialize(name=nil, namespace=nil, =nil, offset=nil, limit=nil, instanceid=nil, department=nil, business=nil, host=nil, =nil, synctoglobalregistry=nil, statusfilter=nil) @Name = name @Namespace = namespace @Metadatas = @Offset = offset @Limit = limit @InstanceId = instanceid @Department = department @Business = business @Host = host @OnlyExistHealthyInstance = @SyncToGlobalRegistry = synctoglobalregistry @StatusFilter = statusfilter end |
Instance Attribute Details
#Business ⇒ Object
6304 6305 6306 |
# File 'lib/v20201207/models.rb', line 6304 def Business @Business end |
#Department ⇒ Object
6304 6305 6306 |
# File 'lib/v20201207/models.rb', line 6304 def Department @Department end |
#Host ⇒ Object
6304 6305 6306 |
# File 'lib/v20201207/models.rb', line 6304 def Host @Host end |
#InstanceId ⇒ Object
6304 6305 6306 |
# File 'lib/v20201207/models.rb', line 6304 def InstanceId @InstanceId end |
#Limit ⇒ Object
6304 6305 6306 |
# File 'lib/v20201207/models.rb', line 6304 def Limit @Limit end |
#Metadatas ⇒ Object
6304 6305 6306 |
# File 'lib/v20201207/models.rb', line 6304 def Metadatas @Metadatas end |
#Name ⇒ Object
6304 6305 6306 |
# File 'lib/v20201207/models.rb', line 6304 def Name @Name end |
#Namespace ⇒ Object
6304 6305 6306 |
# File 'lib/v20201207/models.rb', line 6304 def Namespace @Namespace end |
#Offset ⇒ Object
6304 6305 6306 |
# File 'lib/v20201207/models.rb', line 6304 def Offset @Offset end |
#OnlyExistHealthyInstance ⇒ Object
6304 6305 6306 |
# File 'lib/v20201207/models.rb', line 6304 def OnlyExistHealthyInstance @OnlyExistHealthyInstance end |
#StatusFilter ⇒ Object
6304 6305 6306 |
# File 'lib/v20201207/models.rb', line 6304 def StatusFilter @StatusFilter end |
#SyncToGlobalRegistry ⇒ Object
6304 6305 6306 |
# File 'lib/v20201207/models.rb', line 6304 def SyncToGlobalRegistry @SyncToGlobalRegistry end |
Instance Method Details
#deserialize(params) ⇒ Object
6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 |
# File 'lib/v20201207/models.rb', line 6321 def deserialize(params) @Name = params['Name'] @Namespace = params['Namespace'] unless params['Metadatas'].nil? @Metadatas = [] params['Metadatas'].each do |i| = Metadata.new .deserialize(i) @Metadatas << end end @Offset = params['Offset'] @Limit = params['Limit'] @InstanceId = params['InstanceId'] @Department = params['Department'] @Business = params['Business'] @Host = params['Host'] @OnlyExistHealthyInstance = params['OnlyExistHealthyInstance'] @SyncToGlobalRegistry = params['SyncToGlobalRegistry'] unless params['StatusFilter'].nil? @StatusFilter = [] params['StatusFilter'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @StatusFilter << filter_tmp end end end |