Class: TencentCloud::Tse::V20201207::DeleteGovernanceServicesRequest

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

Overview

DeleteGovernanceServices请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DeleteGovernanceServicesRequest.



4008
4009
4010
4011
# File 'lib/v20201207/models.rb', line 4008

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

Instance Attribute Details

#GovernanceServicesObject

Parameters:

  • InstanceId:

    tse实例id。

  • GovernanceServices:

    服务信息。



4006
4007
4008
# File 'lib/v20201207/models.rb', line 4006

def GovernanceServices
  @GovernanceServices
end

#InstanceIdObject

Parameters:

  • InstanceId:

    tse实例id。

  • GovernanceServices:

    服务信息。



4006
4007
4008
# File 'lib/v20201207/models.rb', line 4006

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
# File 'lib/v20201207/models.rb', line 4013

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