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.



3935
3936
3937
3938
# File 'lib/v20201207/models.rb', line 3935

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

Instance Attribute Details

#GovernanceInstancesObject

Parameters:

  • InstanceId:

    tse实例id。

  • GovernanceInstances:

    要删除的服务实例信息。



3933
3934
3935
# File 'lib/v20201207/models.rb', line 3933

def GovernanceInstances
  @GovernanceInstances
end

#InstanceIdObject

Parameters:

  • InstanceId:

    tse实例id。

  • GovernanceInstances:

    要删除的服务实例信息。



3933
3934
3935
# File 'lib/v20201207/models.rb', line 3933

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
# File 'lib/v20201207/models.rb', line 3940

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