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.



10348
10349
10350
10351
# File 'lib/v20201207/models.rb', line 10348

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

Instance Attribute Details

#GovernanceServicesObject

Parameters:

  • InstanceId:

    tse 实例 id。

  • GovernanceServices:

    服务信息。



10346
10347
10348
# File 'lib/v20201207/models.rb', line 10346

def GovernanceServices
  @GovernanceServices
end

#InstanceIdObject

Parameters:

  • InstanceId:

    tse 实例 id。

  • GovernanceServices:

    服务信息。



10346
10347
10348
# File 'lib/v20201207/models.rb', line 10346

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
# File 'lib/v20201207/models.rb', line 10353

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