Class: TencentCloud::Tse::V20201207::ModifyGovernanceServicesRequest

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

Overview

ModifyGovernanceServices请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, governanceservices = nil) ⇒ ModifyGovernanceServicesRequest

Returns a new instance of ModifyGovernanceServicesRequest.



10366
10367
10368
10369
# File 'lib/v20201207/models.rb', line 10366

def initialize(instanceid=nil, governanceservices=nil)
  @InstanceId = instanceid
  @GovernanceServices = governanceservices
end

Instance Attribute Details

#GovernanceServicesObject

Parameters:

  • tse 实例 id。

  • 服务信息。



10364
10365
10366
# File 'lib/v20201207/models.rb', line 10364

def GovernanceServices
  @GovernanceServices
end

#InstanceIdObject

Parameters:

  • tse 实例 id。

  • 服务信息。



10364
10365
10366
# File 'lib/v20201207/models.rb', line 10364

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
# File 'lib/v20201207/models.rb', line 10371

def deserialize(params)
  @InstanceId = params['InstanceId']
  unless params['GovernanceServices'].nil?
    @GovernanceServices = []
    params['GovernanceServices'].each do |i|
      governanceserviceinput_tmp = GovernanceServiceInput.new
      governanceserviceinput_tmp.deserialize(i)
      @GovernanceServices << governanceserviceinput_tmp
    end
  end
end