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.



4029
4030
4031
4032
# File 'lib/v20201207/models.rb', line 4029

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

Instance Attribute Details

#GovernanceServicesObject

Parameters:

  • InstanceId:

    tse实例id。

  • GovernanceServices:

    服务信息。



4027
4028
4029
# File 'lib/v20201207/models.rb', line 4027

def GovernanceServices
  @GovernanceServices
end

#InstanceIdObject

Parameters:

  • InstanceId:

    tse实例id。

  • GovernanceServices:

    服务信息。



4027
4028
4029
# File 'lib/v20201207/models.rb', line 4027

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
# File 'lib/v20201207/models.rb', line 4034

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