Class: TencentCloud::Tse::V20201207::CreateGovernanceInstancesRequest

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

Overview

CreateGovernanceInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CreateGovernanceInstancesRequest.



2800
2801
2802
2803
# File 'lib/v20201207/models.rb', line 2800

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

Instance Attribute Details

#GovernanceInstancesObject

Parameters:

  • InstanceId:

    tse实例id。

  • GovernanceInstances:

    服务实例信息。



2798
2799
2800
# File 'lib/v20201207/models.rb', line 2798

def GovernanceInstances
  @GovernanceInstances
end

#InstanceIdObject

Parameters:

  • InstanceId:

    tse实例id。

  • GovernanceInstances:

    服务实例信息。



2798
2799
2800
# File 'lib/v20201207/models.rb', line 2798

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
# File 'lib/v20201207/models.rb', line 2805

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