Class: TencentCloud::Cloudaudit::V20190319::ListCmqEnableRegionResponse

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

Overview

ListCmqEnableRegion返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enableregions = nil, requestid = nil) ⇒ ListCmqEnableRegionResponse

Returns a new instance of ListCmqEnableRegionResponse.



839
840
841
842
# File 'lib/v20190319/models.rb', line 839

def initialize(enableregions=nil, requestid=nil)
  @EnableRegions = enableregions
  @RequestId = requestid
end

Instance Attribute Details

#EnableRegionsObject

Parameters:

  • EnableRegions:

    操作审计支持的cmq的可用区

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



837
838
839
# File 'lib/v20190319/models.rb', line 837

def EnableRegions
  @EnableRegions
end

#RequestIdObject

Parameters:

  • EnableRegions:

    操作审计支持的cmq的可用区

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



837
838
839
# File 'lib/v20190319/models.rb', line 837

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



844
845
846
847
848
849
850
851
852
853
854
# File 'lib/v20190319/models.rb', line 844

def deserialize(params)
  unless params['EnableRegions'].nil?
    @EnableRegions = []
    params['EnableRegions'].each do |i|
      cmqregioninfo_tmp = CmqRegionInfo.new
      cmqregioninfo_tmp.deserialize(i)
      @EnableRegions << cmqregioninfo_tmp
    end
  end
  @RequestId = params['RequestId']
end