Class: TencentCloud::Tse::V20201207::DeleteGovernanceInstancesRequest

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

Overview

DeleteGovernanceInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, governanceinstances = nil) ⇒ DeleteGovernanceInstancesRequest

Returns a new instance of DeleteGovernanceInstancesRequest.



3914
3915
3916
3917
# File 'lib/v20201207/models.rb', line 3914

def initialize(instanceid=nil, governanceinstances=nil)
  @InstanceId = instanceid
  @GovernanceInstances = governanceinstances
end

Instance Attribute Details

#GovernanceInstancesObject

Parameters:

  • InstanceId:

    tse实例id。

  • GovernanceInstances:

    要删除的服务实例信息。



3912
3913
3914
# File 'lib/v20201207/models.rb', line 3912

def GovernanceInstances
  @GovernanceInstances
end

#InstanceIdObject

Parameters:

  • InstanceId:

    tse实例id。

  • GovernanceInstances:

    要删除的服务实例信息。



3912
3913
3914
# File 'lib/v20201207/models.rb', line 3912

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
# File 'lib/v20201207/models.rb', line 3919

def deserialize(params)
  @InstanceId = params['InstanceId']
  unless params['GovernanceInstances'].nil?
    @GovernanceInstances = []
    params['GovernanceInstances'].each do |i|
      governanceinstanceupdate_tmp = GovernanceInstanceUpdate.new
      governanceinstanceupdate_tmp.deserialize(i)
      @GovernanceInstances << governanceinstanceupdate_tmp
    end
  end
end