Class: TencentCloud::Tse::V20201207::CreateGovernanceServicesRequest

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

Overview

CreateGovernanceServices请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CreateGovernanceServicesRequest.



2894
2895
2896
2897
# File 'lib/v20201207/models.rb', line 2894

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

Instance Attribute Details

#GovernanceServicesObject

Parameters:

  • InstanceId:

    tse 实例 id。

  • GovernanceServices:

    服务信息。



2892
2893
2894
# File 'lib/v20201207/models.rb', line 2892

def GovernanceServices
  @GovernanceServices
end

#InstanceIdObject

Parameters:

  • InstanceId:

    tse 实例 id。

  • GovernanceServices:

    服务信息。



2892
2893
2894
# File 'lib/v20201207/models.rb', line 2892

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
# File 'lib/v20201207/models.rb', line 2899

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