tencentcloud-sdk-cmq 3.0.978 → 3.0.979
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/lib/VERSION +1 -1
 - data/lib/v20190304/client.rb +0 -380
 - data/lib/v20190304/models.rb +5 -840
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 8c3e3ed38d2898da16779ac41a3444ec70858a88
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 590ea96735c2a760a34f174bf2feb17bfac1b453
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 6f3437e1bcbc4658669a60729d2996f920f05ac0c45163daf7f5c9c36aca1db844d4143c3b765d0d9a3a72a3ce88676a0a78fd4dad28094e114fac1aa8caed21
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 23ecec864b40293e88fc59482d649bd64f7dbcd6f3b33df8f5c65da847f12b559a64b0e97d60ef5c5de0ac59e53badb38c7a435d369626cc02dc89b49893739c
         
     | 
    
        data/lib/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            3.0. 
     | 
| 
      
 1 
     | 
    
         
            +
            3.0.979
         
     | 
    
        data/lib/v20190304/client.rb
    CHANGED
    
    | 
         @@ -29,234 +29,6 @@ module TencentCloud 
     | 
|
| 
       29 
29 
     | 
    
         
             
                    end
         
     | 
| 
       30 
30 
     | 
    
         | 
| 
       31 
31 
     | 
    
         | 
| 
       32 
     | 
    
         
            -
                    # 下线老cmq云API 3.0 无调用量接口
         
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
                    # 清除queue中的所有消息
         
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
                    # @param request: Request instance for ClearQueue.
         
     | 
| 
       37 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::ClearQueueRequest`
         
     | 
| 
       38 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::ClearQueueResponse`
         
     | 
| 
       39 
     | 
    
         
            -
                    def ClearQueue(request)
         
     | 
| 
       40 
     | 
    
         
            -
                      body = send_request('ClearQueue', request.serialize)
         
     | 
| 
       41 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       42 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       43 
     | 
    
         
            -
                        model = ClearQueueResponse.new
         
     | 
| 
       44 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       45 
     | 
    
         
            -
                        model
         
     | 
| 
       46 
     | 
    
         
            -
                      else
         
     | 
| 
       47 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       48 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       49 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       50 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       51 
     | 
    
         
            -
                      end
         
     | 
| 
       52 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       53 
     | 
    
         
            -
                      raise e
         
     | 
| 
       54 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       55 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       56 
     | 
    
         
            -
                    end
         
     | 
| 
       57 
     | 
    
         
            -
             
     | 
| 
       58 
     | 
    
         
            -
                    # 下线老cmq云API 3.0 无调用量接口
         
     | 
| 
       59 
     | 
    
         
            -
             
     | 
| 
       60 
     | 
    
         
            -
                    # 清空订阅者消息标签
         
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
                    # @param request: Request instance for ClearSubscriptionFilterTags.
         
     | 
| 
       63 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::ClearSubscriptionFilterTagsRequest`
         
     | 
| 
       64 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::ClearSubscriptionFilterTagsResponse`
         
     | 
| 
       65 
     | 
    
         
            -
                    def ClearSubscriptionFilterTags(request)
         
     | 
| 
       66 
     | 
    
         
            -
                      body = send_request('ClearSubscriptionFilterTags', request.serialize)
         
     | 
| 
       67 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       68 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       69 
     | 
    
         
            -
                        model = ClearSubscriptionFilterTagsResponse.new
         
     | 
| 
       70 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       71 
     | 
    
         
            -
                        model
         
     | 
| 
       72 
     | 
    
         
            -
                      else
         
     | 
| 
       73 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       74 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       75 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       76 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       77 
     | 
    
         
            -
                      end
         
     | 
| 
       78 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       79 
     | 
    
         
            -
                      raise e
         
     | 
| 
       80 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       81 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       82 
     | 
    
         
            -
                    end
         
     | 
| 
       83 
     | 
    
         
            -
             
     | 
| 
       84 
     | 
    
         
            -
                    # 创建队列接口
         
     | 
| 
       85 
     | 
    
         
            -
             
     | 
| 
       86 
     | 
    
         
            -
                    # @param request: Request instance for CreateQueue.
         
     | 
| 
       87 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::CreateQueueRequest`
         
     | 
| 
       88 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::CreateQueueResponse`
         
     | 
| 
       89 
     | 
    
         
            -
                    def CreateQueue(request)
         
     | 
| 
       90 
     | 
    
         
            -
                      body = send_request('CreateQueue', request.serialize)
         
     | 
| 
       91 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       92 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       93 
     | 
    
         
            -
                        model = CreateQueueResponse.new
         
     | 
| 
       94 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       95 
     | 
    
         
            -
                        model
         
     | 
| 
       96 
     | 
    
         
            -
                      else
         
     | 
| 
       97 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       98 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       99 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       100 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       101 
     | 
    
         
            -
                      end
         
     | 
| 
       102 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       103 
     | 
    
         
            -
                      raise e
         
     | 
| 
       104 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       105 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       106 
     | 
    
         
            -
                    end
         
     | 
| 
       107 
     | 
    
         
            -
             
     | 
| 
       108 
     | 
    
         
            -
                    # 下线老cmq云API 3.0 无调用量接口
         
     | 
| 
       109 
     | 
    
         
            -
             
     | 
| 
       110 
     | 
    
         
            -
                    # 创建订阅接口
         
     | 
| 
       111 
     | 
    
         
            -
             
     | 
| 
       112 
     | 
    
         
            -
                    # @param request: Request instance for CreateSubscribe.
         
     | 
| 
       113 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::CreateSubscribeRequest`
         
     | 
| 
       114 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::CreateSubscribeResponse`
         
     | 
| 
       115 
     | 
    
         
            -
                    def CreateSubscribe(request)
         
     | 
| 
       116 
     | 
    
         
            -
                      body = send_request('CreateSubscribe', request.serialize)
         
     | 
| 
       117 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       118 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       119 
     | 
    
         
            -
                        model = CreateSubscribeResponse.new
         
     | 
| 
       120 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       121 
     | 
    
         
            -
                        model
         
     | 
| 
       122 
     | 
    
         
            -
                      else
         
     | 
| 
       123 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       124 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       125 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       126 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       127 
     | 
    
         
            -
                      end
         
     | 
| 
       128 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       129 
     | 
    
         
            -
                      raise e
         
     | 
| 
       130 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       131 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       132 
     | 
    
         
            -
                    end
         
     | 
| 
       133 
     | 
    
         
            -
             
     | 
| 
       134 
     | 
    
         
            -
                    # 创建主题
         
     | 
| 
       135 
     | 
    
         
            -
             
     | 
| 
       136 
     | 
    
         
            -
                    # @param request: Request instance for CreateTopic.
         
     | 
| 
       137 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::CreateTopicRequest`
         
     | 
| 
       138 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::CreateTopicResponse`
         
     | 
| 
       139 
     | 
    
         
            -
                    def CreateTopic(request)
         
     | 
| 
       140 
     | 
    
         
            -
                      body = send_request('CreateTopic', request.serialize)
         
     | 
| 
       141 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       142 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       143 
     | 
    
         
            -
                        model = CreateTopicResponse.new
         
     | 
| 
       144 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       145 
     | 
    
         
            -
                        model
         
     | 
| 
       146 
     | 
    
         
            -
                      else
         
     | 
| 
       147 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       148 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       149 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       150 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       151 
     | 
    
         
            -
                      end
         
     | 
| 
       152 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       153 
     | 
    
         
            -
                      raise e
         
     | 
| 
       154 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       155 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       156 
     | 
    
         
            -
                    end
         
     | 
| 
       157 
     | 
    
         
            -
             
     | 
| 
       158 
     | 
    
         
            -
                    # DeleteQueue
         
     | 
| 
       159 
     | 
    
         
            -
             
     | 
| 
       160 
     | 
    
         
            -
                    # @param request: Request instance for DeleteQueue.
         
     | 
| 
       161 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::DeleteQueueRequest`
         
     | 
| 
       162 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::DeleteQueueResponse`
         
     | 
| 
       163 
     | 
    
         
            -
                    def DeleteQueue(request)
         
     | 
| 
       164 
     | 
    
         
            -
                      body = send_request('DeleteQueue', request.serialize)
         
     | 
| 
       165 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       166 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       167 
     | 
    
         
            -
                        model = DeleteQueueResponse.new
         
     | 
| 
       168 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       169 
     | 
    
         
            -
                        model
         
     | 
| 
       170 
     | 
    
         
            -
                      else
         
     | 
| 
       171 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       172 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       173 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       174 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       175 
     | 
    
         
            -
                      end
         
     | 
| 
       176 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       177 
     | 
    
         
            -
                      raise e
         
     | 
| 
       178 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       179 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       180 
     | 
    
         
            -
                    end
         
     | 
| 
       181 
     | 
    
         
            -
             
     | 
| 
       182 
     | 
    
         
            -
                    # 下线老cmq云API 3.0 无调用量接口
         
     | 
| 
       183 
     | 
    
         
            -
             
     | 
| 
       184 
     | 
    
         
            -
                    # 删除订阅
         
     | 
| 
       185 
     | 
    
         
            -
             
     | 
| 
       186 
     | 
    
         
            -
                    # @param request: Request instance for DeleteSubscribe.
         
     | 
| 
       187 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::DeleteSubscribeRequest`
         
     | 
| 
       188 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::DeleteSubscribeResponse`
         
     | 
| 
       189 
     | 
    
         
            -
                    def DeleteSubscribe(request)
         
     | 
| 
       190 
     | 
    
         
            -
                      body = send_request('DeleteSubscribe', request.serialize)
         
     | 
| 
       191 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       192 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       193 
     | 
    
         
            -
                        model = DeleteSubscribeResponse.new
         
     | 
| 
       194 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       195 
     | 
    
         
            -
                        model
         
     | 
| 
       196 
     | 
    
         
            -
                      else
         
     | 
| 
       197 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       198 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       199 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       200 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       201 
     | 
    
         
            -
                      end
         
     | 
| 
       202 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       203 
     | 
    
         
            -
                      raise e
         
     | 
| 
       204 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       205 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       206 
     | 
    
         
            -
                    end
         
     | 
| 
       207 
     | 
    
         
            -
             
     | 
| 
       208 
     | 
    
         
            -
                    # 下线老cmq云API 3.0 无调用量接口
         
     | 
| 
       209 
     | 
    
         
            -
             
     | 
| 
       210 
     | 
    
         
            -
                    # 删除主题
         
     | 
| 
       211 
     | 
    
         
            -
             
     | 
| 
       212 
     | 
    
         
            -
                    # @param request: Request instance for DeleteTopic.
         
     | 
| 
       213 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::DeleteTopicRequest`
         
     | 
| 
       214 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::DeleteTopicResponse`
         
     | 
| 
       215 
     | 
    
         
            -
                    def DeleteTopic(request)
         
     | 
| 
       216 
     | 
    
         
            -
                      body = send_request('DeleteTopic', request.serialize)
         
     | 
| 
       217 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       218 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       219 
     | 
    
         
            -
                        model = DeleteTopicResponse.new
         
     | 
| 
       220 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       221 
     | 
    
         
            -
                        model
         
     | 
| 
       222 
     | 
    
         
            -
                      else
         
     | 
| 
       223 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       224 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       225 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       226 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       227 
     | 
    
         
            -
                      end
         
     | 
| 
       228 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       229 
     | 
    
         
            -
                      raise e
         
     | 
| 
       230 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       231 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       232 
     | 
    
         
            -
                    end
         
     | 
| 
       233 
     | 
    
         
            -
             
     | 
| 
       234 
     | 
    
         
            -
                    # 下线老cmq云API 3.0 无调用量接口
         
     | 
| 
       235 
     | 
    
         
            -
             
     | 
| 
       236 
     | 
    
         
            -
                    # 枚举死信队列源队列
         
     | 
| 
       237 
     | 
    
         
            -
             
     | 
| 
       238 
     | 
    
         
            -
                    # @param request: Request instance for DescribeDeadLetterSourceQueues.
         
     | 
| 
       239 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::DescribeDeadLetterSourceQueuesRequest`
         
     | 
| 
       240 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::DescribeDeadLetterSourceQueuesResponse`
         
     | 
| 
       241 
     | 
    
         
            -
                    def DescribeDeadLetterSourceQueues(request)
         
     | 
| 
       242 
     | 
    
         
            -
                      body = send_request('DescribeDeadLetterSourceQueues', request.serialize)
         
     | 
| 
       243 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       244 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       245 
     | 
    
         
            -
                        model = DescribeDeadLetterSourceQueuesResponse.new
         
     | 
| 
       246 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       247 
     | 
    
         
            -
                        model
         
     | 
| 
       248 
     | 
    
         
            -
                      else
         
     | 
| 
       249 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       250 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       251 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       252 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       253 
     | 
    
         
            -
                      end
         
     | 
| 
       254 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       255 
     | 
    
         
            -
                      raise e
         
     | 
| 
       256 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       257 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       258 
     | 
    
         
            -
                    end
         
     | 
| 
       259 
     | 
    
         
            -
             
     | 
| 
       260 
32 
     | 
    
         
             
                    # 枚举队列列表
         
     | 
| 
       261 
33 
     | 
    
         | 
| 
       262 
34 
     | 
    
         
             
                    # @param request: Request instance for DescribeQueueDetail.
         
     | 
| 
         @@ -281,30 +53,6 @@ module TencentCloud 
     | 
|
| 
       281 
53 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       282 
54 
     | 
    
         
             
                    end
         
     | 
| 
       283 
55 
     | 
    
         | 
| 
       284 
     | 
    
         
            -
                    # 查询订阅详情
         
     | 
| 
       285 
     | 
    
         
            -
             
     | 
| 
       286 
     | 
    
         
            -
                    # @param request: Request instance for DescribeSubscriptionDetail.
         
     | 
| 
       287 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::DescribeSubscriptionDetailRequest`
         
     | 
| 
       288 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::DescribeSubscriptionDetailResponse`
         
     | 
| 
       289 
     | 
    
         
            -
                    def DescribeSubscriptionDetail(request)
         
     | 
| 
       290 
     | 
    
         
            -
                      body = send_request('DescribeSubscriptionDetail', request.serialize)
         
     | 
| 
       291 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       292 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       293 
     | 
    
         
            -
                        model = DescribeSubscriptionDetailResponse.new
         
     | 
| 
       294 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       295 
     | 
    
         
            -
                        model
         
     | 
| 
       296 
     | 
    
         
            -
                      else
         
     | 
| 
       297 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       298 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       299 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       300 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       301 
     | 
    
         
            -
                      end
         
     | 
| 
       302 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       303 
     | 
    
         
            -
                      raise e
         
     | 
| 
       304 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       305 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       306 
     | 
    
         
            -
                    end
         
     | 
| 
       307 
     | 
    
         
            -
             
     | 
| 
       308 
56 
     | 
    
         
             
                    # 查询主题详情
         
     | 
| 
       309 
57 
     | 
    
         | 
| 
       310 
58 
     | 
    
         
             
                    # @param request: Request instance for DescribeTopicDetail.
         
     | 
| 
         @@ -329,134 +77,6 @@ module TencentCloud 
     | 
|
| 
       329 
77 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       330 
78 
     | 
    
         
             
                    end
         
     | 
| 
       331 
79 
     | 
    
         | 
| 
       332 
     | 
    
         
            -
                    # 修改队列属性
         
     | 
| 
       333 
     | 
    
         
            -
             
     | 
| 
       334 
     | 
    
         
            -
                    # @param request: Request instance for ModifyQueueAttribute.
         
     | 
| 
       335 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::ModifyQueueAttributeRequest`
         
     | 
| 
       336 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::ModifyQueueAttributeResponse`
         
     | 
| 
       337 
     | 
    
         
            -
                    def ModifyQueueAttribute(request)
         
     | 
| 
       338 
     | 
    
         
            -
                      body = send_request('ModifyQueueAttribute', request.serialize)
         
     | 
| 
       339 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       340 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       341 
     | 
    
         
            -
                        model = ModifyQueueAttributeResponse.new
         
     | 
| 
       342 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       343 
     | 
    
         
            -
                        model
         
     | 
| 
       344 
     | 
    
         
            -
                      else
         
     | 
| 
       345 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       346 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       347 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       348 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       349 
     | 
    
         
            -
                      end
         
     | 
| 
       350 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       351 
     | 
    
         
            -
                      raise e
         
     | 
| 
       352 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       353 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       354 
     | 
    
         
            -
                    end
         
     | 
| 
       355 
     | 
    
         
            -
             
     | 
| 
       356 
     | 
    
         
            -
                    # 下线老cmq云API 3.0 无调用量接口
         
     | 
| 
       357 
     | 
    
         
            -
             
     | 
| 
       358 
     | 
    
         
            -
                    # 修改订阅属性
         
     | 
| 
       359 
     | 
    
         
            -
             
     | 
| 
       360 
     | 
    
         
            -
                    # @param request: Request instance for ModifySubscriptionAttribute.
         
     | 
| 
       361 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::ModifySubscriptionAttributeRequest`
         
     | 
| 
       362 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::ModifySubscriptionAttributeResponse`
         
     | 
| 
       363 
     | 
    
         
            -
                    def ModifySubscriptionAttribute(request)
         
     | 
| 
       364 
     | 
    
         
            -
                      body = send_request('ModifySubscriptionAttribute', request.serialize)
         
     | 
| 
       365 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       366 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       367 
     | 
    
         
            -
                        model = ModifySubscriptionAttributeResponse.new
         
     | 
| 
       368 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       369 
     | 
    
         
            -
                        model
         
     | 
| 
       370 
     | 
    
         
            -
                      else
         
     | 
| 
       371 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       372 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       373 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       374 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       375 
     | 
    
         
            -
                      end
         
     | 
| 
       376 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       377 
     | 
    
         
            -
                      raise e
         
     | 
| 
       378 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       379 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       380 
     | 
    
         
            -
                    end
         
     | 
| 
       381 
     | 
    
         
            -
             
     | 
| 
       382 
     | 
    
         
            -
                    # 下线老cmq云API 3.0 无调用量接口
         
     | 
| 
       383 
     | 
    
         
            -
             
     | 
| 
       384 
     | 
    
         
            -
                    # 修改主题属性
         
     | 
| 
       385 
     | 
    
         
            -
             
     | 
| 
       386 
     | 
    
         
            -
                    # @param request: Request instance for ModifyTopicAttribute.
         
     | 
| 
       387 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::ModifyTopicAttributeRequest`
         
     | 
| 
       388 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::ModifyTopicAttributeResponse`
         
     | 
| 
       389 
     | 
    
         
            -
                    def ModifyTopicAttribute(request)
         
     | 
| 
       390 
     | 
    
         
            -
                      body = send_request('ModifyTopicAttribute', request.serialize)
         
     | 
| 
       391 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       392 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       393 
     | 
    
         
            -
                        model = ModifyTopicAttributeResponse.new
         
     | 
| 
       394 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       395 
     | 
    
         
            -
                        model
         
     | 
| 
       396 
     | 
    
         
            -
                      else
         
     | 
| 
       397 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       398 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       399 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       400 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       401 
     | 
    
         
            -
                      end
         
     | 
| 
       402 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       403 
     | 
    
         
            -
                      raise e
         
     | 
| 
       404 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       405 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       406 
     | 
    
         
            -
                    end
         
     | 
| 
       407 
     | 
    
         
            -
             
     | 
| 
       408 
     | 
    
         
            -
                    # 下线老cmq云API 3.0 无调用量接口
         
     | 
| 
       409 
     | 
    
         
            -
             
     | 
| 
       410 
     | 
    
         
            -
                    # 回溯队列
         
     | 
| 
       411 
     | 
    
         
            -
             
     | 
| 
       412 
     | 
    
         
            -
                    # @param request: Request instance for RewindQueue.
         
     | 
| 
       413 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::RewindQueueRequest`
         
     | 
| 
       414 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::RewindQueueResponse`
         
     | 
| 
       415 
     | 
    
         
            -
                    def RewindQueue(request)
         
     | 
| 
       416 
     | 
    
         
            -
                      body = send_request('RewindQueue', request.serialize)
         
     | 
| 
       417 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       418 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       419 
     | 
    
         
            -
                        model = RewindQueueResponse.new
         
     | 
| 
       420 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       421 
     | 
    
         
            -
                        model
         
     | 
| 
       422 
     | 
    
         
            -
                      else
         
     | 
| 
       423 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       424 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       425 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       426 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       427 
     | 
    
         
            -
                      end
         
     | 
| 
       428 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       429 
     | 
    
         
            -
                      raise e
         
     | 
| 
       430 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       431 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       432 
     | 
    
         
            -
                    end
         
     | 
| 
       433 
     | 
    
         
            -
             
     | 
| 
       434 
     | 
    
         
            -
                    # 下线老cmq云API 3.0 无调用量接口
         
     | 
| 
       435 
     | 
    
         
            -
             
     | 
| 
       436 
     | 
    
         
            -
                    # 解绑死信队列
         
     | 
| 
       437 
     | 
    
         
            -
             
     | 
| 
       438 
     | 
    
         
            -
                    # @param request: Request instance for UnbindDeadLetter.
         
     | 
| 
       439 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::cmq::V20190304::UnbindDeadLetterRequest`
         
     | 
| 
       440 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::cmq::V20190304::UnbindDeadLetterResponse`
         
     | 
| 
       441 
     | 
    
         
            -
                    def UnbindDeadLetter(request)
         
     | 
| 
       442 
     | 
    
         
            -
                      body = send_request('UnbindDeadLetter', request.serialize)
         
     | 
| 
       443 
     | 
    
         
            -
                      response = JSON.parse(body)
         
     | 
| 
       444 
     | 
    
         
            -
                      if response['Response'].key?('Error') == false
         
     | 
| 
       445 
     | 
    
         
            -
                        model = UnbindDeadLetterResponse.new
         
     | 
| 
       446 
     | 
    
         
            -
                        model.deserialize(response['Response'])
         
     | 
| 
       447 
     | 
    
         
            -
                        model
         
     | 
| 
       448 
     | 
    
         
            -
                      else
         
     | 
| 
       449 
     | 
    
         
            -
                        code = response['Response']['Error']['Code']
         
     | 
| 
       450 
     | 
    
         
            -
                        message = response['Response']['Error']['Message']
         
     | 
| 
       451 
     | 
    
         
            -
                        reqid = response['Response']['RequestId']
         
     | 
| 
       452 
     | 
    
         
            -
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
       453 
     | 
    
         
            -
                      end
         
     | 
| 
       454 
     | 
    
         
            -
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
       455 
     | 
    
         
            -
                      raise e
         
     | 
| 
       456 
     | 
    
         
            -
                    rescue StandardError => e
         
     | 
| 
       457 
     | 
    
         
            -
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       458 
     | 
    
         
            -
                    end
         
     | 
| 
       459 
     | 
    
         
            -
             
     | 
| 
       460 
80 
     | 
    
         | 
| 
       461 
81 
     | 
    
         
             
                  end
         
     | 
| 
       462 
82 
     | 
    
         
             
                end
         
     | 
    
        data/lib/v20190304/models.rb
    CHANGED
    
    | 
         @@ -17,282 +17,6 @@ 
     | 
|
| 
       17 
17 
     | 
    
         
             
            module TencentCloud
         
     | 
| 
       18 
18 
     | 
    
         
             
              module Cmq
         
     | 
| 
       19 
19 
     | 
    
         
             
                module V20190304
         
     | 
| 
       20 
     | 
    
         
            -
                  # ClearQueue请求参数结构体
         
     | 
| 
       21 
     | 
    
         
            -
                  class ClearQueueRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       22 
     | 
    
         
            -
                    # @param QueueName: 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       23 
     | 
    
         
            -
                    # @type QueueName: String
         
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
                    attr_accessor :QueueName
         
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
                    def initialize(queuename=nil)
         
     | 
| 
       28 
     | 
    
         
            -
                      @QueueName = queuename
         
     | 
| 
       29 
     | 
    
         
            -
                    end
         
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       32 
     | 
    
         
            -
                      @QueueName = params['QueueName']
         
     | 
| 
       33 
     | 
    
         
            -
                    end
         
     | 
| 
       34 
     | 
    
         
            -
                  end
         
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
                  # ClearQueue返回参数结构体
         
     | 
| 
       37 
     | 
    
         
            -
                  class ClearQueueResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       38 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       39 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
                    attr_accessor :RequestId
         
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
                    def initialize(requestid=nil)
         
     | 
| 
       44 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
       45 
     | 
    
         
            -
                    end
         
     | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       48 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
       49 
     | 
    
         
            -
                    end
         
     | 
| 
       50 
     | 
    
         
            -
                  end
         
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
                  # ClearSubscriptionFilterTags请求参数结构体
         
     | 
| 
       53 
     | 
    
         
            -
                  class ClearSubscriptionFilterTagsRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       54 
     | 
    
         
            -
                    # @param TopicName: 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       55 
     | 
    
         
            -
                    # @type TopicName: String
         
     | 
| 
       56 
     | 
    
         
            -
                    # @param SubscriptionName: 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       57 
     | 
    
         
            -
                    # @type SubscriptionName: String
         
     | 
| 
       58 
     | 
    
         
            -
             
     | 
| 
       59 
     | 
    
         
            -
                    attr_accessor :TopicName, :SubscriptionName
         
     | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
       61 
     | 
    
         
            -
                    def initialize(topicname=nil, subscriptionname=nil)
         
     | 
| 
       62 
     | 
    
         
            -
                      @TopicName = topicname
         
     | 
| 
       63 
     | 
    
         
            -
                      @SubscriptionName = subscriptionname
         
     | 
| 
       64 
     | 
    
         
            -
                    end
         
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       67 
     | 
    
         
            -
                      @TopicName = params['TopicName']
         
     | 
| 
       68 
     | 
    
         
            -
                      @SubscriptionName = params['SubscriptionName']
         
     | 
| 
       69 
     | 
    
         
            -
                    end
         
     | 
| 
       70 
     | 
    
         
            -
                  end
         
     | 
| 
       71 
     | 
    
         
            -
             
     | 
| 
       72 
     | 
    
         
            -
                  # ClearSubscriptionFilterTags返回参数结构体
         
     | 
| 
       73 
     | 
    
         
            -
                  class ClearSubscriptionFilterTagsResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       74 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       75 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       76 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
                    attr_accessor :RequestId
         
     | 
| 
       78 
     | 
    
         
            -
             
     | 
| 
       79 
     | 
    
         
            -
                    def initialize(requestid=nil)
         
     | 
| 
       80 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
       81 
     | 
    
         
            -
                    end
         
     | 
| 
       82 
     | 
    
         
            -
             
     | 
| 
       83 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       84 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
       85 
     | 
    
         
            -
                    end
         
     | 
| 
       86 
     | 
    
         
            -
                  end
         
     | 
| 
       87 
     | 
    
         
            -
             
     | 
| 
       88 
     | 
    
         
            -
                  # CreateQueue请求参数结构体
         
     | 
| 
       89 
     | 
    
         
            -
                  class CreateQueueRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       90 
     | 
    
         
            -
                    # @param QueueName: 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       91 
     | 
    
         
            -
                    # @type QueueName: String
         
     | 
| 
       92 
     | 
    
         
            -
                    # @param MaxMsgHeapNum: 最大堆积消息数。取值范围在公测期间为 1,000,000 - 10,000,000,正式上线后范围可达到 1000,000-1000,000,000。默认取值在公测期间为 10,000,000,正式上线后为 100,000,000。
         
     | 
| 
       93 
     | 
    
         
            -
                    # @type MaxMsgHeapNum: Integer
         
     | 
| 
       94 
     | 
    
         
            -
                    # @param PollingWaitSeconds: 消息接收长轮询等待时间。取值范围 0-30 秒,默认值 0。
         
     | 
| 
       95 
     | 
    
         
            -
                    # @type PollingWaitSeconds: Integer
         
     | 
| 
       96 
     | 
    
         
            -
                    # @param VisibilityTimeout: 消息可见性超时。取值范围 1-43200 秒(即12小时内),默认值 30。
         
     | 
| 
       97 
     | 
    
         
            -
                    # @type VisibilityTimeout: Integer
         
     | 
| 
       98 
     | 
    
         
            -
                    # @param MaxMsgSize: 消息最大长度。取值范围 1024-65536 Byte(即1-64K),默认值 65536。
         
     | 
| 
       99 
     | 
    
         
            -
                    # @type MaxMsgSize: Integer
         
     | 
| 
       100 
     | 
    
         
            -
                    # @param MsgRetentionSeconds: 消息保留周期。取值范围 60-1296000 秒(1min-15天),默认值 345600 (4 天)。
         
     | 
| 
       101 
     | 
    
         
            -
                    # @type MsgRetentionSeconds: Integer
         
     | 
| 
       102 
     | 
    
         
            -
                    # @param RewindSeconds: 队列是否开启回溯消息能力,该参数取值范围0-msgRetentionSeconds,即最大的回溯时间为消息在队列中的保留周期,0表示不开启。
         
     | 
| 
       103 
     | 
    
         
            -
                    # @type RewindSeconds: Integer
         
     | 
| 
       104 
     | 
    
         
            -
                    # @param Transaction: 1 表示事务队列,0 表示普通队列
         
     | 
| 
       105 
     | 
    
         
            -
                    # @type Transaction: Integer
         
     | 
| 
       106 
     | 
    
         
            -
                    # @param FirstQueryInterval: 第一次回查间隔
         
     | 
| 
       107 
     | 
    
         
            -
                    # @type FirstQueryInterval: Integer
         
     | 
| 
       108 
     | 
    
         
            -
                    # @param MaxQueryCount: 最大回查次数
         
     | 
| 
       109 
     | 
    
         
            -
                    # @type MaxQueryCount: Integer
         
     | 
| 
       110 
     | 
    
         
            -
                    # @param DeadLetterQueueName: 死信队列名称
         
     | 
| 
       111 
     | 
    
         
            -
                    # @type DeadLetterQueueName: String
         
     | 
| 
       112 
     | 
    
         
            -
                    # @param Policy: 死信策略。0为消息被多次消费未删除,1为Time-To-Live过期
         
     | 
| 
       113 
     | 
    
         
            -
                    # @type Policy: Integer
         
     | 
| 
       114 
     | 
    
         
            -
                    # @param MaxReceiveCount: 最大接收次数 1-1000
         
     | 
| 
       115 
     | 
    
         
            -
                    # @type MaxReceiveCount: Integer
         
     | 
| 
       116 
     | 
    
         
            -
                    # @param MaxTimeToLive: policy为1时必选。最大未消费过期时间。范围300-43200,单位秒,需要小于消息最大保留时间msgRetentionSeconds
         
     | 
| 
       117 
     | 
    
         
            -
                    # @type MaxTimeToLive: Integer
         
     | 
| 
       118 
     | 
    
         
            -
                    # @param Trace: 是否开启消息轨迹追踪,当不设置字段时,默认为不开启,该字段为true表示开启,为false表示不开启
         
     | 
| 
       119 
     | 
    
         
            -
                    # @type Trace: Boolean
         
     | 
| 
       120 
     | 
    
         
            -
             
     | 
| 
       121 
     | 
    
         
            -
                    attr_accessor :QueueName, :MaxMsgHeapNum, :PollingWaitSeconds, :VisibilityTimeout, :MaxMsgSize, :MsgRetentionSeconds, :RewindSeconds, :Transaction, :FirstQueryInterval, :MaxQueryCount, :DeadLetterQueueName, :Policy, :MaxReceiveCount, :MaxTimeToLive, :Trace
         
     | 
| 
       122 
     | 
    
         
            -
             
     | 
| 
       123 
     | 
    
         
            -
                    def initialize(queuename=nil, maxmsgheapnum=nil, pollingwaitseconds=nil, visibilitytimeout=nil, maxmsgsize=nil, msgretentionseconds=nil, rewindseconds=nil, transaction=nil, firstqueryinterval=nil, maxquerycount=nil, deadletterqueuename=nil, policy=nil, maxreceivecount=nil, maxtimetolive=nil, trace=nil)
         
     | 
| 
       124 
     | 
    
         
            -
                      @QueueName = queuename
         
     | 
| 
       125 
     | 
    
         
            -
                      @MaxMsgHeapNum = maxmsgheapnum
         
     | 
| 
       126 
     | 
    
         
            -
                      @PollingWaitSeconds = pollingwaitseconds
         
     | 
| 
       127 
     | 
    
         
            -
                      @VisibilityTimeout = visibilitytimeout
         
     | 
| 
       128 
     | 
    
         
            -
                      @MaxMsgSize = maxmsgsize
         
     | 
| 
       129 
     | 
    
         
            -
                      @MsgRetentionSeconds = msgretentionseconds
         
     | 
| 
       130 
     | 
    
         
            -
                      @RewindSeconds = rewindseconds
         
     | 
| 
       131 
     | 
    
         
            -
                      @Transaction = transaction
         
     | 
| 
       132 
     | 
    
         
            -
                      @FirstQueryInterval = firstqueryinterval
         
     | 
| 
       133 
     | 
    
         
            -
                      @MaxQueryCount = maxquerycount
         
     | 
| 
       134 
     | 
    
         
            -
                      @DeadLetterQueueName = deadletterqueuename
         
     | 
| 
       135 
     | 
    
         
            -
                      @Policy = policy
         
     | 
| 
       136 
     | 
    
         
            -
                      @MaxReceiveCount = maxreceivecount
         
     | 
| 
       137 
     | 
    
         
            -
                      @MaxTimeToLive = maxtimetolive
         
     | 
| 
       138 
     | 
    
         
            -
                      @Trace = trace
         
     | 
| 
       139 
     | 
    
         
            -
                    end
         
     | 
| 
       140 
     | 
    
         
            -
             
     | 
| 
       141 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       142 
     | 
    
         
            -
                      @QueueName = params['QueueName']
         
     | 
| 
       143 
     | 
    
         
            -
                      @MaxMsgHeapNum = params['MaxMsgHeapNum']
         
     | 
| 
       144 
     | 
    
         
            -
                      @PollingWaitSeconds = params['PollingWaitSeconds']
         
     | 
| 
       145 
     | 
    
         
            -
                      @VisibilityTimeout = params['VisibilityTimeout']
         
     | 
| 
       146 
     | 
    
         
            -
                      @MaxMsgSize = params['MaxMsgSize']
         
     | 
| 
       147 
     | 
    
         
            -
                      @MsgRetentionSeconds = params['MsgRetentionSeconds']
         
     | 
| 
       148 
     | 
    
         
            -
                      @RewindSeconds = params['RewindSeconds']
         
     | 
| 
       149 
     | 
    
         
            -
                      @Transaction = params['Transaction']
         
     | 
| 
       150 
     | 
    
         
            -
                      @FirstQueryInterval = params['FirstQueryInterval']
         
     | 
| 
       151 
     | 
    
         
            -
                      @MaxQueryCount = params['MaxQueryCount']
         
     | 
| 
       152 
     | 
    
         
            -
                      @DeadLetterQueueName = params['DeadLetterQueueName']
         
     | 
| 
       153 
     | 
    
         
            -
                      @Policy = params['Policy']
         
     | 
| 
       154 
     | 
    
         
            -
                      @MaxReceiveCount = params['MaxReceiveCount']
         
     | 
| 
       155 
     | 
    
         
            -
                      @MaxTimeToLive = params['MaxTimeToLive']
         
     | 
| 
       156 
     | 
    
         
            -
                      @Trace = params['Trace']
         
     | 
| 
       157 
     | 
    
         
            -
                    end
         
     | 
| 
       158 
     | 
    
         
            -
                  end
         
     | 
| 
       159 
     | 
    
         
            -
             
     | 
| 
       160 
     | 
    
         
            -
                  # CreateQueue返回参数结构体
         
     | 
| 
       161 
     | 
    
         
            -
                  class CreateQueueResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       162 
     | 
    
         
            -
                    # @param QueueId: 创建成功的queueId
         
     | 
| 
       163 
     | 
    
         
            -
                    # @type QueueId: String
         
     | 
| 
       164 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       165 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       166 
     | 
    
         
            -
             
     | 
| 
       167 
     | 
    
         
            -
                    attr_accessor :QueueId, :RequestId
         
     | 
| 
       168 
     | 
    
         
            -
             
     | 
| 
       169 
     | 
    
         
            -
                    def initialize(queueid=nil, requestid=nil)
         
     | 
| 
       170 
     | 
    
         
            -
                      @QueueId = queueid
         
     | 
| 
       171 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
       172 
     | 
    
         
            -
                    end
         
     | 
| 
       173 
     | 
    
         
            -
             
     | 
| 
       174 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       175 
     | 
    
         
            -
                      @QueueId = params['QueueId']
         
     | 
| 
       176 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
       177 
     | 
    
         
            -
                    end
         
     | 
| 
       178 
     | 
    
         
            -
                  end
         
     | 
| 
       179 
     | 
    
         
            -
             
     | 
| 
       180 
     | 
    
         
            -
                  # CreateSubscribe请求参数结构体
         
     | 
| 
       181 
     | 
    
         
            -
                  class CreateSubscribeRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       182 
     | 
    
         
            -
                    # @param TopicName: 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       183 
     | 
    
         
            -
                    # @type TopicName: String
         
     | 
| 
       184 
     | 
    
         
            -
                    # @param SubscriptionName: 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       185 
     | 
    
         
            -
                    # @type SubscriptionName: String
         
     | 
| 
       186 
     | 
    
         
            -
                    # @param Protocol: 订阅的协议,目前支持两种协议:http、queue。使用http协议,用户需自己搭建接受消息的web server。使用queue,消息会自动推送到CMQ queue,用户可以并发地拉取消息。
         
     | 
| 
       187 
     | 
    
         
            -
                    # @type Protocol: String
         
     | 
| 
       188 
     | 
    
         
            -
                    # @param Endpoint: 接收通知的Endpoint,根据协议Protocol区分:对于http,Endpoint必须以“`http://`”开头,host可以是域名或IP;对于Queue,则填QueueName。 请注意,目前推送服务不能推送到私有网络中,因此Endpoint填写为私有网络域名或地址将接收不到推送的消息,目前支持推送到公网和基础网络。
         
     | 
| 
       189 
     | 
    
         
            -
                    # @type Endpoint: String
         
     | 
| 
       190 
     | 
    
         
            -
                    # @param NotifyStrategy: 向Endpoint推送消息出现错误时,CMQ推送服务器的重试策略。取值有:1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息;2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始1s,后面是2s,4s,8s...由于Topic消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是EXPONENTIAL_DECAY_RETRY。
         
     | 
| 
       191 
     | 
    
         
            -
                    # @type NotifyStrategy: String
         
     | 
| 
       192 
     | 
    
         
            -
                    # @param FilterTag: 消息正文。消息标签(用于消息过滤)。标签数量不能超过5个,每个标签不超过16个字符。与(Batch)PublishMessage的MsgTag参数配合使用,规则:1)如果FilterTag没有设置,则无论MsgTag是否有设置,订阅接收所有发布到Topic的消息;2)如果FilterTag数组有值,则只有数组中至少有一个值在MsgTag数组中也存在时(即FilterTag和MsgTag有交集),订阅才接收该发布到Topic的消息;3)如果FilterTag数组有值,但MsgTag没设置,则不接收任何发布到Topic的消息,可以认为是2)的一种特例,此时FilterTag和MsgTag没有交集。规则整体的设计思想是以订阅者的意愿为主。
         
     | 
| 
       193 
     | 
    
         
            -
                    # @type FilterTag: Array
         
     | 
| 
       194 
     | 
    
         
            -
                    # @param BindingKey: BindingKey数量不超过5个, 每个BindingKey长度不超过64字节,该字段表示订阅接收消息的过滤策略,每个BindingKey最多含有15个“.”, 即最多16个词组。
         
     | 
| 
       195 
     | 
    
         
            -
                    # @type BindingKey: Array
         
     | 
| 
       196 
     | 
    
         
            -
                    # @param NotifyContentFormat: 推送内容的格式。取值:1)JSON;2)SIMPLIFIED,即raw格式。如果Protocol是queue,则取值必须为SIMPLIFIED。如果Protocol是http,两个值均可以,默认值是JSON。
         
     | 
| 
       197 
     | 
    
         
            -
                    # @type NotifyContentFormat: String
         
     | 
| 
       198 
     | 
    
         
            -
             
     | 
| 
       199 
     | 
    
         
            -
                    attr_accessor :TopicName, :SubscriptionName, :Protocol, :Endpoint, :NotifyStrategy, :FilterTag, :BindingKey, :NotifyContentFormat
         
     | 
| 
       200 
     | 
    
         
            -
             
     | 
| 
       201 
     | 
    
         
            -
                    def initialize(topicname=nil, subscriptionname=nil, protocol=nil, endpoint=nil, notifystrategy=nil, filtertag=nil, bindingkey=nil, notifycontentformat=nil)
         
     | 
| 
       202 
     | 
    
         
            -
                      @TopicName = topicname
         
     | 
| 
       203 
     | 
    
         
            -
                      @SubscriptionName = subscriptionname
         
     | 
| 
       204 
     | 
    
         
            -
                      @Protocol = protocol
         
     | 
| 
       205 
     | 
    
         
            -
                      @Endpoint = endpoint
         
     | 
| 
       206 
     | 
    
         
            -
                      @NotifyStrategy = notifystrategy
         
     | 
| 
       207 
     | 
    
         
            -
                      @FilterTag = filtertag
         
     | 
| 
       208 
     | 
    
         
            -
                      @BindingKey = bindingkey
         
     | 
| 
       209 
     | 
    
         
            -
                      @NotifyContentFormat = notifycontentformat
         
     | 
| 
       210 
     | 
    
         
            -
                    end
         
     | 
| 
       211 
     | 
    
         
            -
             
     | 
| 
       212 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       213 
     | 
    
         
            -
                      @TopicName = params['TopicName']
         
     | 
| 
       214 
     | 
    
         
            -
                      @SubscriptionName = params['SubscriptionName']
         
     | 
| 
       215 
     | 
    
         
            -
                      @Protocol = params['Protocol']
         
     | 
| 
       216 
     | 
    
         
            -
                      @Endpoint = params['Endpoint']
         
     | 
| 
       217 
     | 
    
         
            -
                      @NotifyStrategy = params['NotifyStrategy']
         
     | 
| 
       218 
     | 
    
         
            -
                      @FilterTag = params['FilterTag']
         
     | 
| 
       219 
     | 
    
         
            -
                      @BindingKey = params['BindingKey']
         
     | 
| 
       220 
     | 
    
         
            -
                      @NotifyContentFormat = params['NotifyContentFormat']
         
     | 
| 
       221 
     | 
    
         
            -
                    end
         
     | 
| 
       222 
     | 
    
         
            -
                  end
         
     | 
| 
       223 
     | 
    
         
            -
             
     | 
| 
       224 
     | 
    
         
            -
                  # CreateSubscribe返回参数结构体
         
     | 
| 
       225 
     | 
    
         
            -
                  class CreateSubscribeResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       226 
     | 
    
         
            -
                    # @param SubscriptionId: SubscriptionId
         
     | 
| 
       227 
     | 
    
         
            -
                    # @type SubscriptionId: String
         
     | 
| 
       228 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       229 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       230 
     | 
    
         
            -
             
     | 
| 
       231 
     | 
    
         
            -
                    attr_accessor :SubscriptionId, :RequestId
         
     | 
| 
       232 
     | 
    
         
            -
             
     | 
| 
       233 
     | 
    
         
            -
                    def initialize(subscriptionid=nil, requestid=nil)
         
     | 
| 
       234 
     | 
    
         
            -
                      @SubscriptionId = subscriptionid
         
     | 
| 
       235 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
       236 
     | 
    
         
            -
                    end
         
     | 
| 
       237 
     | 
    
         
            -
             
     | 
| 
       238 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       239 
     | 
    
         
            -
                      @SubscriptionId = params['SubscriptionId']
         
     | 
| 
       240 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
       241 
     | 
    
         
            -
                    end
         
     | 
| 
       242 
     | 
    
         
            -
                  end
         
     | 
| 
       243 
     | 
    
         
            -
             
     | 
| 
       244 
     | 
    
         
            -
                  # CreateTopic请求参数结构体
         
     | 
| 
       245 
     | 
    
         
            -
                  class CreateTopicRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       246 
     | 
    
         
            -
                    # @param TopicName: 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       247 
     | 
    
         
            -
                    # @type TopicName: String
         
     | 
| 
       248 
     | 
    
         
            -
                    # @param MaxMsgSize: 消息最大长度。取值范围 1024-65536 Byte(即1-64K),默认值 65536。
         
     | 
| 
       249 
     | 
    
         
            -
                    # @type MaxMsgSize: Integer
         
     | 
| 
       250 
     | 
    
         
            -
                    # @param FilterType: 用于指定主题的消息匹配策略。1:表示标签匹配策略;2:表示路由匹配策略,默认值为标签匹配策略。
         
     | 
| 
       251 
     | 
    
         
            -
                    # @type FilterType: Integer
         
     | 
| 
       252 
     | 
    
         
            -
                    # @param MsgRetentionSeconds: 消息保存时间。取值范围60 - 86400 s(即1分钟 - 1天),默认值86400。
         
     | 
| 
       253 
     | 
    
         
            -
                    # @type MsgRetentionSeconds: Integer
         
     | 
| 
       254 
     | 
    
         
            -
                    # @param Trace: 是否开启消息轨迹标识,true表示开启,false表示不开启,不填表示不开启。
         
     | 
| 
       255 
     | 
    
         
            -
                    # @type Trace: Boolean
         
     | 
| 
       256 
     | 
    
         
            -
             
     | 
| 
       257 
     | 
    
         
            -
                    attr_accessor :TopicName, :MaxMsgSize, :FilterType, :MsgRetentionSeconds, :Trace
         
     | 
| 
       258 
     | 
    
         
            -
             
     | 
| 
       259 
     | 
    
         
            -
                    def initialize(topicname=nil, maxmsgsize=nil, filtertype=nil, msgretentionseconds=nil, trace=nil)
         
     | 
| 
       260 
     | 
    
         
            -
                      @TopicName = topicname
         
     | 
| 
       261 
     | 
    
         
            -
                      @MaxMsgSize = maxmsgsize
         
     | 
| 
       262 
     | 
    
         
            -
                      @FilterType = filtertype
         
     | 
| 
       263 
     | 
    
         
            -
                      @MsgRetentionSeconds = msgretentionseconds
         
     | 
| 
       264 
     | 
    
         
            -
                      @Trace = trace
         
     | 
| 
       265 
     | 
    
         
            -
                    end
         
     | 
| 
       266 
     | 
    
         
            -
             
     | 
| 
       267 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       268 
     | 
    
         
            -
                      @TopicName = params['TopicName']
         
     | 
| 
       269 
     | 
    
         
            -
                      @MaxMsgSize = params['MaxMsgSize']
         
     | 
| 
       270 
     | 
    
         
            -
                      @FilterType = params['FilterType']
         
     | 
| 
       271 
     | 
    
         
            -
                      @MsgRetentionSeconds = params['MsgRetentionSeconds']
         
     | 
| 
       272 
     | 
    
         
            -
                      @Trace = params['Trace']
         
     | 
| 
       273 
     | 
    
         
            -
                    end
         
     | 
| 
       274 
     | 
    
         
            -
                  end
         
     | 
| 
       275 
     | 
    
         
            -
             
     | 
| 
       276 
     | 
    
         
            -
                  # CreateTopic返回参数结构体
         
     | 
| 
       277 
     | 
    
         
            -
                  class CreateTopicResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       278 
     | 
    
         
            -
                    # @param TopicId: TopicName
         
     | 
| 
       279 
     | 
    
         
            -
                    # @type TopicId: String
         
     | 
| 
       280 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       281 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       282 
     | 
    
         
            -
             
     | 
| 
       283 
     | 
    
         
            -
                    attr_accessor :TopicId, :RequestId
         
     | 
| 
       284 
     | 
    
         
            -
             
     | 
| 
       285 
     | 
    
         
            -
                    def initialize(topicid=nil, requestid=nil)
         
     | 
| 
       286 
     | 
    
         
            -
                      @TopicId = topicid
         
     | 
| 
       287 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
       288 
     | 
    
         
            -
                    end
         
     | 
| 
       289 
     | 
    
         
            -
             
     | 
| 
       290 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       291 
     | 
    
         
            -
                      @TopicId = params['TopicId']
         
     | 
| 
       292 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
       293 
     | 
    
         
            -
                    end
         
     | 
| 
       294 
     | 
    
         
            -
                  end
         
     | 
| 
       295 
     | 
    
         
            -
             
     | 
| 
       296 
20 
     | 
    
         
             
                  # 死信队列策略
         
     | 
| 
       297 
21 
     | 
    
         
             
                  class DeadLetterPolicy < TencentCloud::Common::AbstractModel
         
     | 
| 
       298 
22 
     | 
    
         
             
                    # @param DeadLetterQueue: 死信队列。
         
     | 
| 
         @@ -341,180 +65,14 @@ module TencentCloud 
     | 
|
| 
       341 
65 
     | 
    
         | 
| 
       342 
66 
     | 
    
         
             
                    attr_accessor :QueueId, :QueueName
         
     | 
| 
       343 
67 
     | 
    
         | 
| 
       344 
     | 
    
         
            -
                    def initialize(queueid=nil, queuename=nil)
         
     | 
| 
       345 
     | 
    
         
            -
                      @QueueId = queueid
         
     | 
| 
       346 
     | 
    
         
            -
                      @QueueName = queuename
         
     | 
| 
       347 
     | 
    
         
            -
                    end
         
     | 
| 
       348 
     | 
    
         
            -
             
     | 
| 
       349 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       350 
     | 
    
         
            -
                      @QueueId = params['QueueId']
         
     | 
| 
       351 
     | 
    
         
            -
                      @QueueName = params['QueueName']
         
     | 
| 
       352 
     | 
    
         
            -
                    end
         
     | 
| 
       353 
     | 
    
         
            -
                  end
         
     | 
| 
       354 
     | 
    
         
            -
             
     | 
| 
       355 
     | 
    
         
            -
                  # DeleteQueue请求参数结构体
         
     | 
| 
       356 
     | 
    
         
            -
                  class DeleteQueueRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       357 
     | 
    
         
            -
                    # @param QueueName: 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       358 
     | 
    
         
            -
                    # @type QueueName: String
         
     | 
| 
       359 
     | 
    
         
            -
             
     | 
| 
       360 
     | 
    
         
            -
                    attr_accessor :QueueName
         
     | 
| 
       361 
     | 
    
         
            -
             
     | 
| 
       362 
     | 
    
         
            -
                    def initialize(queuename=nil)
         
     | 
| 
       363 
     | 
    
         
            -
                      @QueueName = queuename
         
     | 
| 
       364 
     | 
    
         
            -
                    end
         
     | 
| 
       365 
     | 
    
         
            -
             
     | 
| 
       366 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       367 
     | 
    
         
            -
                      @QueueName = params['QueueName']
         
     | 
| 
       368 
     | 
    
         
            -
                    end
         
     | 
| 
       369 
     | 
    
         
            -
                  end
         
     | 
| 
       370 
     | 
    
         
            -
             
     | 
| 
       371 
     | 
    
         
            -
                  # DeleteQueue返回参数结构体
         
     | 
| 
       372 
     | 
    
         
            -
                  class DeleteQueueResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       373 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       374 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       375 
     | 
    
         
            -
             
     | 
| 
       376 
     | 
    
         
            -
                    attr_accessor :RequestId
         
     | 
| 
       377 
     | 
    
         
            -
             
     | 
| 
       378 
     | 
    
         
            -
                    def initialize(requestid=nil)
         
     | 
| 
       379 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
       380 
     | 
    
         
            -
                    end
         
     | 
| 
       381 
     | 
    
         
            -
             
     | 
| 
       382 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       383 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
       384 
     | 
    
         
            -
                    end
         
     | 
| 
       385 
     | 
    
         
            -
                  end
         
     | 
| 
       386 
     | 
    
         
            -
             
     | 
| 
       387 
     | 
    
         
            -
                  # DeleteSubscribe请求参数结构体
         
     | 
| 
       388 
     | 
    
         
            -
                  class DeleteSubscribeRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       389 
     | 
    
         
            -
                    # @param TopicName: 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       390 
     | 
    
         
            -
                    # @type TopicName: String
         
     | 
| 
       391 
     | 
    
         
            -
                    # @param SubscriptionName: 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       392 
     | 
    
         
            -
                    # @type SubscriptionName: String
         
     | 
| 
       393 
     | 
    
         
            -
             
     | 
| 
       394 
     | 
    
         
            -
                    attr_accessor :TopicName, :SubscriptionName
         
     | 
| 
       395 
     | 
    
         
            -
             
     | 
| 
       396 
     | 
    
         
            -
                    def initialize(topicname=nil, subscriptionname=nil)
         
     | 
| 
       397 
     | 
    
         
            -
                      @TopicName = topicname
         
     | 
| 
       398 
     | 
    
         
            -
                      @SubscriptionName = subscriptionname
         
     | 
| 
       399 
     | 
    
         
            -
                    end
         
     | 
| 
       400 
     | 
    
         
            -
             
     | 
| 
       401 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       402 
     | 
    
         
            -
                      @TopicName = params['TopicName']
         
     | 
| 
       403 
     | 
    
         
            -
                      @SubscriptionName = params['SubscriptionName']
         
     | 
| 
       404 
     | 
    
         
            -
                    end
         
     | 
| 
       405 
     | 
    
         
            -
                  end
         
     | 
| 
       406 
     | 
    
         
            -
             
     | 
| 
       407 
     | 
    
         
            -
                  # DeleteSubscribe返回参数结构体
         
     | 
| 
       408 
     | 
    
         
            -
                  class DeleteSubscribeResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       409 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       410 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       411 
     | 
    
         
            -
             
     | 
| 
       412 
     | 
    
         
            -
                    attr_accessor :RequestId
         
     | 
| 
       413 
     | 
    
         
            -
             
     | 
| 
       414 
     | 
    
         
            -
                    def initialize(requestid=nil)
         
     | 
| 
       415 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
       416 
     | 
    
         
            -
                    end
         
     | 
| 
       417 
     | 
    
         
            -
             
     | 
| 
       418 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       419 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
       420 
     | 
    
         
            -
                    end
         
     | 
| 
       421 
     | 
    
         
            -
                  end
         
     | 
| 
       422 
     | 
    
         
            -
             
     | 
| 
       423 
     | 
    
         
            -
                  # DeleteTopic请求参数结构体
         
     | 
| 
       424 
     | 
    
         
            -
                  class DeleteTopicRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       425 
     | 
    
         
            -
                    # @param TopicName: 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       426 
     | 
    
         
            -
                    # @type TopicName: String
         
     | 
| 
       427 
     | 
    
         
            -
             
     | 
| 
       428 
     | 
    
         
            -
                    attr_accessor :TopicName
         
     | 
| 
       429 
     | 
    
         
            -
             
     | 
| 
       430 
     | 
    
         
            -
                    def initialize(topicname=nil)
         
     | 
| 
       431 
     | 
    
         
            -
                      @TopicName = topicname
         
     | 
| 
       432 
     | 
    
         
            -
                    end
         
     | 
| 
       433 
     | 
    
         
            -
             
     | 
| 
       434 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       435 
     | 
    
         
            -
                      @TopicName = params['TopicName']
         
     | 
| 
       436 
     | 
    
         
            -
                    end
         
     | 
| 
       437 
     | 
    
         
            -
                  end
         
     | 
| 
       438 
     | 
    
         
            -
             
     | 
| 
       439 
     | 
    
         
            -
                  # DeleteTopic返回参数结构体
         
     | 
| 
       440 
     | 
    
         
            -
                  class DeleteTopicResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       441 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       442 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       443 
     | 
    
         
            -
             
     | 
| 
       444 
     | 
    
         
            -
                    attr_accessor :RequestId
         
     | 
| 
       445 
     | 
    
         
            -
             
     | 
| 
       446 
     | 
    
         
            -
                    def initialize(requestid=nil)
         
     | 
| 
       447 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
       448 
     | 
    
         
            -
                    end
         
     | 
| 
       449 
     | 
    
         
            -
             
     | 
| 
       450 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       451 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
       452 
     | 
    
         
            -
                    end
         
     | 
| 
       453 
     | 
    
         
            -
                  end
         
     | 
| 
       454 
     | 
    
         
            -
             
     | 
| 
       455 
     | 
    
         
            -
                  # DescribeDeadLetterSourceQueues请求参数结构体
         
     | 
| 
       456 
     | 
    
         
            -
                  class DescribeDeadLetterSourceQueuesRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       457 
     | 
    
         
            -
                    # @param DeadLetterQueueName: 死信队列名称
         
     | 
| 
       458 
     | 
    
         
            -
                    # @type DeadLetterQueueName: String
         
     | 
| 
       459 
     | 
    
         
            -
                    # @param Limit: 分页时本页获取主题列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0。
         
     | 
| 
       460 
     | 
    
         
            -
                    # @type Limit: Integer
         
     | 
| 
       461 
     | 
    
         
            -
                    # @param Offset: 分页时本页获取主题的个数,如果不传递该参数,则该参数默认为20,最大值为50。
         
     | 
| 
       462 
     | 
    
         
            -
                    # @type Offset: Integer
         
     | 
| 
       463 
     | 
    
         
            -
                    # @param Filters: 过滤死信队列源队列名称,目前仅支持SourceQueueName过滤
         
     | 
| 
       464 
     | 
    
         
            -
                    # @type Filters: Array
         
     | 
| 
       465 
     | 
    
         
            -
             
     | 
| 
       466 
     | 
    
         
            -
                    attr_accessor :DeadLetterQueueName, :Limit, :Offset, :Filters
         
     | 
| 
       467 
     | 
    
         
            -
             
     | 
| 
       468 
     | 
    
         
            -
                    def initialize(deadletterqueuename=nil, limit=nil, offset=nil, filters=nil)
         
     | 
| 
       469 
     | 
    
         
            -
                      @DeadLetterQueueName = deadletterqueuename
         
     | 
| 
       470 
     | 
    
         
            -
                      @Limit = limit
         
     | 
| 
       471 
     | 
    
         
            -
                      @Offset = offset
         
     | 
| 
       472 
     | 
    
         
            -
                      @Filters = filters
         
     | 
| 
       473 
     | 
    
         
            -
                    end
         
     | 
| 
       474 
     | 
    
         
            -
             
     | 
| 
       475 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       476 
     | 
    
         
            -
                      @DeadLetterQueueName = params['DeadLetterQueueName']
         
     | 
| 
       477 
     | 
    
         
            -
                      @Limit = params['Limit']
         
     | 
| 
       478 
     | 
    
         
            -
                      @Offset = params['Offset']
         
     | 
| 
       479 
     | 
    
         
            -
                      unless params['Filters'].nil?
         
     | 
| 
       480 
     | 
    
         
            -
                        @Filters = []
         
     | 
| 
       481 
     | 
    
         
            -
                        params['Filters'].each do |i|
         
     | 
| 
       482 
     | 
    
         
            -
                          filter_tmp = Filter.new
         
     | 
| 
       483 
     | 
    
         
            -
                          filter_tmp.deserialize(i)
         
     | 
| 
       484 
     | 
    
         
            -
                          @Filters << filter_tmp
         
     | 
| 
       485 
     | 
    
         
            -
                        end
         
     | 
| 
       486 
     | 
    
         
            -
                      end
         
     | 
| 
       487 
     | 
    
         
            -
                    end
         
     | 
| 
       488 
     | 
    
         
            -
                  end
         
     | 
| 
       489 
     | 
    
         
            -
             
     | 
| 
       490 
     | 
    
         
            -
                  # DescribeDeadLetterSourceQueues返回参数结构体
         
     | 
| 
       491 
     | 
    
         
            -
                  class DescribeDeadLetterSourceQueuesResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       492 
     | 
    
         
            -
                    # @param TotalCount: 满足本次条件的队列个数
         
     | 
| 
       493 
     | 
    
         
            -
                    # @type TotalCount: Integer
         
     | 
| 
       494 
     | 
    
         
            -
                    # @param QueueSet: 死信队列源队列
         
     | 
| 
       495 
     | 
    
         
            -
                    # @type QueueSet: Array
         
     | 
| 
       496 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       497 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       498 
     | 
    
         
            -
             
     | 
| 
       499 
     | 
    
         
            -
                    attr_accessor :TotalCount, :QueueSet, :RequestId
         
     | 
| 
       500 
     | 
    
         
            -
             
     | 
| 
       501 
     | 
    
         
            -
                    def initialize(totalcount=nil, queueset=nil, requestid=nil)
         
     | 
| 
       502 
     | 
    
         
            -
                      @TotalCount = totalcount
         
     | 
| 
       503 
     | 
    
         
            -
                      @QueueSet = queueset
         
     | 
| 
       504 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
      
 68 
     | 
    
         
            +
                    def initialize(queueid=nil, queuename=nil)
         
     | 
| 
      
 69 
     | 
    
         
            +
                      @QueueId = queueid
         
     | 
| 
      
 70 
     | 
    
         
            +
                      @QueueName = queuename
         
     | 
| 
       505 
71 
     | 
    
         
             
                    end
         
     | 
| 
       506 
72 
     | 
    
         | 
| 
       507 
73 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
       508 
     | 
    
         
            -
                      @ 
     | 
| 
       509 
     | 
    
         
            -
                       
     | 
| 
       510 
     | 
    
         
            -
                        @QueueSet = []
         
     | 
| 
       511 
     | 
    
         
            -
                        params['QueueSet'].each do |i|
         
     | 
| 
       512 
     | 
    
         
            -
                          deadlettersource_tmp = DeadLetterSource.new
         
     | 
| 
       513 
     | 
    
         
            -
                          deadlettersource_tmp.deserialize(i)
         
     | 
| 
       514 
     | 
    
         
            -
                          @QueueSet << deadlettersource_tmp
         
     | 
| 
       515 
     | 
    
         
            -
                        end
         
     | 
| 
       516 
     | 
    
         
            -
                      end
         
     | 
| 
       517 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
      
 74 
     | 
    
         
            +
                      @QueueId = params['QueueId']
         
     | 
| 
      
 75 
     | 
    
         
            +
                      @QueueName = params['QueueName']
         
     | 
| 
       518 
76 
     | 
    
         
             
                    end
         
     | 
| 
       519 
77 
     | 
    
         
             
                  end
         
     | 
| 
       520 
78 
     | 
    
         | 
| 
         @@ -588,73 +146,6 @@ module TencentCloud 
     | 
|
| 
       588 
146 
     | 
    
         
             
                    end
         
     | 
| 
       589 
147 
     | 
    
         
             
                  end
         
     | 
| 
       590 
148 
     | 
    
         | 
| 
       591 
     | 
    
         
            -
                  # DescribeSubscriptionDetail请求参数结构体
         
     | 
| 
       592 
     | 
    
         
            -
                  class DescribeSubscriptionDetailRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       593 
     | 
    
         
            -
                    # @param TopicName: 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       594 
     | 
    
         
            -
                    # @type TopicName: String
         
     | 
| 
       595 
     | 
    
         
            -
                    # @param Offset: 分页时本页获取主题列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0
         
     | 
| 
       596 
     | 
    
         
            -
                    # @type Offset: Integer
         
     | 
| 
       597 
     | 
    
         
            -
                    # @param Limit: 分页时本页获取主题的个数,如果不传递该参数,则该参数默认为20,最大值为50。
         
     | 
| 
       598 
     | 
    
         
            -
                    # @type Limit: Integer
         
     | 
| 
       599 
     | 
    
         
            -
                    # @param Filters: 筛选参数,目前只支持SubscriptionName,且仅支持一个关键字。
         
     | 
| 
       600 
     | 
    
         
            -
                    # @type Filters: Array
         
     | 
| 
       601 
     | 
    
         
            -
             
     | 
| 
       602 
     | 
    
         
            -
                    attr_accessor :TopicName, :Offset, :Limit, :Filters
         
     | 
| 
       603 
     | 
    
         
            -
             
     | 
| 
       604 
     | 
    
         
            -
                    def initialize(topicname=nil, offset=nil, limit=nil, filters=nil)
         
     | 
| 
       605 
     | 
    
         
            -
                      @TopicName = topicname
         
     | 
| 
       606 
     | 
    
         
            -
                      @Offset = offset
         
     | 
| 
       607 
     | 
    
         
            -
                      @Limit = limit
         
     | 
| 
       608 
     | 
    
         
            -
                      @Filters = filters
         
     | 
| 
       609 
     | 
    
         
            -
                    end
         
     | 
| 
       610 
     | 
    
         
            -
             
     | 
| 
       611 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       612 
     | 
    
         
            -
                      @TopicName = params['TopicName']
         
     | 
| 
       613 
     | 
    
         
            -
                      @Offset = params['Offset']
         
     | 
| 
       614 
     | 
    
         
            -
                      @Limit = params['Limit']
         
     | 
| 
       615 
     | 
    
         
            -
                      unless params['Filters'].nil?
         
     | 
| 
       616 
     | 
    
         
            -
                        @Filters = []
         
     | 
| 
       617 
     | 
    
         
            -
                        params['Filters'].each do |i|
         
     | 
| 
       618 
     | 
    
         
            -
                          filter_tmp = Filter.new
         
     | 
| 
       619 
     | 
    
         
            -
                          filter_tmp.deserialize(i)
         
     | 
| 
       620 
     | 
    
         
            -
                          @Filters << filter_tmp
         
     | 
| 
       621 
     | 
    
         
            -
                        end
         
     | 
| 
       622 
     | 
    
         
            -
                      end
         
     | 
| 
       623 
     | 
    
         
            -
                    end
         
     | 
| 
       624 
     | 
    
         
            -
                  end
         
     | 
| 
       625 
     | 
    
         
            -
             
     | 
| 
       626 
     | 
    
         
            -
                  # DescribeSubscriptionDetail返回参数结构体
         
     | 
| 
       627 
     | 
    
         
            -
                  class DescribeSubscriptionDetailResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       628 
     | 
    
         
            -
                    # @param TotalCount: 总数
         
     | 
| 
       629 
     | 
    
         
            -
                    # @type TotalCount: Integer
         
     | 
| 
       630 
     | 
    
         
            -
                    # @param SubscriptionSet: Subscription属性集合
         
     | 
| 
       631 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       632 
     | 
    
         
            -
                    # @type SubscriptionSet: Array
         
     | 
| 
       633 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       634 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       635 
     | 
    
         
            -
             
     | 
| 
       636 
     | 
    
         
            -
                    attr_accessor :TotalCount, :SubscriptionSet, :RequestId
         
     | 
| 
       637 
     | 
    
         
            -
             
     | 
| 
       638 
     | 
    
         
            -
                    def initialize(totalcount=nil, subscriptionset=nil, requestid=nil)
         
     | 
| 
       639 
     | 
    
         
            -
                      @TotalCount = totalcount
         
     | 
| 
       640 
     | 
    
         
            -
                      @SubscriptionSet = subscriptionset
         
     | 
| 
       641 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
       642 
     | 
    
         
            -
                    end
         
     | 
| 
       643 
     | 
    
         
            -
             
     | 
| 
       644 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       645 
     | 
    
         
            -
                      @TotalCount = params['TotalCount']
         
     | 
| 
       646 
     | 
    
         
            -
                      unless params['SubscriptionSet'].nil?
         
     | 
| 
       647 
     | 
    
         
            -
                        @SubscriptionSet = []
         
     | 
| 
       648 
     | 
    
         
            -
                        params['SubscriptionSet'].each do |i|
         
     | 
| 
       649 
     | 
    
         
            -
                          subscription_tmp = Subscription.new
         
     | 
| 
       650 
     | 
    
         
            -
                          subscription_tmp.deserialize(i)
         
     | 
| 
       651 
     | 
    
         
            -
                          @SubscriptionSet << subscription_tmp
         
     | 
| 
       652 
     | 
    
         
            -
                        end
         
     | 
| 
       653 
     | 
    
         
            -
                      end
         
     | 
| 
       654 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
       655 
     | 
    
         
            -
                    end
         
     | 
| 
       656 
     | 
    
         
            -
                  end
         
     | 
| 
       657 
     | 
    
         
            -
             
     | 
| 
       658 
149 
     | 
    
         
             
                  # DescribeTopicDetail请求参数结构体
         
     | 
| 
       659 
150 
     | 
    
         
             
                  class DescribeTopicDetailRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       660 
151 
     | 
    
         
             
                    # @param TagKey: 标签匹配。
         
     | 
| 
         @@ -745,188 +236,6 @@ module TencentCloud 
     | 
|
| 
       745 
236 
     | 
    
         
             
                    end
         
     | 
| 
       746 
237 
     | 
    
         
             
                  end
         
     | 
| 
       747 
238 
     | 
    
         | 
| 
       748 
     | 
    
         
            -
                  # ModifyQueueAttribute请求参数结构体
         
     | 
| 
       749 
     | 
    
         
            -
                  class ModifyQueueAttributeRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       750 
     | 
    
         
            -
                    # @param QueueName: 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       751 
     | 
    
         
            -
                    # @type QueueName: String
         
     | 
| 
       752 
     | 
    
         
            -
                    # @param MaxMsgHeapNum: 最大堆积消息数。取值范围在公测期间为 1,000,000 - 10,000,000,正式上线后范围可达到 1000,000-1000,000,000。默认取值在公测期间为 10,000,000,正式上线后为 100,000,000。
         
     | 
| 
       753 
     | 
    
         
            -
                    # @type MaxMsgHeapNum: Integer
         
     | 
| 
       754 
     | 
    
         
            -
                    # @param PollingWaitSeconds: 消息接收长轮询等待时间。取值范围 0-30 秒,默认值 0。
         
     | 
| 
       755 
     | 
    
         
            -
                    # @type PollingWaitSeconds: Integer
         
     | 
| 
       756 
     | 
    
         
            -
                    # @param VisibilityTimeout: 消息可见性超时。取值范围 1-43200 秒(即12小时内),默认值 30。
         
     | 
| 
       757 
     | 
    
         
            -
                    # @type VisibilityTimeout: Integer
         
     | 
| 
       758 
     | 
    
         
            -
                    # @param MaxMsgSize: 消息最大长度。取值范围 1024-65536 Byte(即1-64K),默认值 65536。
         
     | 
| 
       759 
     | 
    
         
            -
                    # @type MaxMsgSize: Integer
         
     | 
| 
       760 
     | 
    
         
            -
                    # @param MsgRetentionSeconds: 消息保留周期。取值范围 60-1296000 秒(1min-15天),默认值 345600 (4 天)。
         
     | 
| 
       761 
     | 
    
         
            -
                    # @type MsgRetentionSeconds: Integer
         
     | 
| 
       762 
     | 
    
         
            -
                    # @param RewindSeconds: 消息最长回溯时间,取值范围0-msgRetentionSeconds,消息的最大回溯之间为消息在队列中的保存周期,0表示不开启消息回溯。
         
     | 
| 
       763 
     | 
    
         
            -
                    # @type RewindSeconds: Integer
         
     | 
| 
       764 
     | 
    
         
            -
                    # @param FirstQueryInterval: 第一次查询时间
         
     | 
| 
       765 
     | 
    
         
            -
                    # @type FirstQueryInterval: Integer
         
     | 
| 
       766 
     | 
    
         
            -
                    # @param MaxQueryCount: 最大查询次数
         
     | 
| 
       767 
     | 
    
         
            -
                    # @type MaxQueryCount: Integer
         
     | 
| 
       768 
     | 
    
         
            -
                    # @param DeadLetterQueueName: 死信队列名称
         
     | 
| 
       769 
     | 
    
         
            -
                    # @type DeadLetterQueueName: String
         
     | 
| 
       770 
     | 
    
         
            -
                    # @param MaxTimeToLive: MaxTimeToLivepolicy为1时必选。最大未消费过期时间。范围300-43200,单位秒,需要小于消息最大保留时间MsgRetentionSeconds
         
     | 
| 
       771 
     | 
    
         
            -
                    # @type MaxTimeToLive: Integer
         
     | 
| 
       772 
     | 
    
         
            -
                    # @param MaxReceiveCount: 最大接收次数
         
     | 
| 
       773 
     | 
    
         
            -
                    # @type MaxReceiveCount: Integer
         
     | 
| 
       774 
     | 
    
         
            -
                    # @param Policy: 死信队列策略
         
     | 
| 
       775 
     | 
    
         
            -
                    # @type Policy: Integer
         
     | 
| 
       776 
     | 
    
         
            -
                    # @param Trace: 是否开启消息轨迹标识,true表示开启,false表示不开启,不填表示不开启。
         
     | 
| 
       777 
     | 
    
         
            -
                    # @type Trace: Boolean
         
     | 
| 
       778 
     | 
    
         
            -
             
     | 
| 
       779 
     | 
    
         
            -
                    attr_accessor :QueueName, :MaxMsgHeapNum, :PollingWaitSeconds, :VisibilityTimeout, :MaxMsgSize, :MsgRetentionSeconds, :RewindSeconds, :FirstQueryInterval, :MaxQueryCount, :DeadLetterQueueName, :MaxTimeToLive, :MaxReceiveCount, :Policy, :Trace
         
     | 
| 
       780 
     | 
    
         
            -
             
     | 
| 
       781 
     | 
    
         
            -
                    def initialize(queuename=nil, maxmsgheapnum=nil, pollingwaitseconds=nil, visibilitytimeout=nil, maxmsgsize=nil, msgretentionseconds=nil, rewindseconds=nil, firstqueryinterval=nil, maxquerycount=nil, deadletterqueuename=nil, maxtimetolive=nil, maxreceivecount=nil, policy=nil, trace=nil)
         
     | 
| 
       782 
     | 
    
         
            -
                      @QueueName = queuename
         
     | 
| 
       783 
     | 
    
         
            -
                      @MaxMsgHeapNum = maxmsgheapnum
         
     | 
| 
       784 
     | 
    
         
            -
                      @PollingWaitSeconds = pollingwaitseconds
         
     | 
| 
       785 
     | 
    
         
            -
                      @VisibilityTimeout = visibilitytimeout
         
     | 
| 
       786 
     | 
    
         
            -
                      @MaxMsgSize = maxmsgsize
         
     | 
| 
       787 
     | 
    
         
            -
                      @MsgRetentionSeconds = msgretentionseconds
         
     | 
| 
       788 
     | 
    
         
            -
                      @RewindSeconds = rewindseconds
         
     | 
| 
       789 
     | 
    
         
            -
                      @FirstQueryInterval = firstqueryinterval
         
     | 
| 
       790 
     | 
    
         
            -
                      @MaxQueryCount = maxquerycount
         
     | 
| 
       791 
     | 
    
         
            -
                      @DeadLetterQueueName = deadletterqueuename
         
     | 
| 
       792 
     | 
    
         
            -
                      @MaxTimeToLive = maxtimetolive
         
     | 
| 
       793 
     | 
    
         
            -
                      @MaxReceiveCount = maxreceivecount
         
     | 
| 
       794 
     | 
    
         
            -
                      @Policy = policy
         
     | 
| 
       795 
     | 
    
         
            -
                      @Trace = trace
         
     | 
| 
       796 
     | 
    
         
            -
                    end
         
     | 
| 
       797 
     | 
    
         
            -
             
     | 
| 
       798 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       799 
     | 
    
         
            -
                      @QueueName = params['QueueName']
         
     | 
| 
       800 
     | 
    
         
            -
                      @MaxMsgHeapNum = params['MaxMsgHeapNum']
         
     | 
| 
       801 
     | 
    
         
            -
                      @PollingWaitSeconds = params['PollingWaitSeconds']
         
     | 
| 
       802 
     | 
    
         
            -
                      @VisibilityTimeout = params['VisibilityTimeout']
         
     | 
| 
       803 
     | 
    
         
            -
                      @MaxMsgSize = params['MaxMsgSize']
         
     | 
| 
       804 
     | 
    
         
            -
                      @MsgRetentionSeconds = params['MsgRetentionSeconds']
         
     | 
| 
       805 
     | 
    
         
            -
                      @RewindSeconds = params['RewindSeconds']
         
     | 
| 
       806 
     | 
    
         
            -
                      @FirstQueryInterval = params['FirstQueryInterval']
         
     | 
| 
       807 
     | 
    
         
            -
                      @MaxQueryCount = params['MaxQueryCount']
         
     | 
| 
       808 
     | 
    
         
            -
                      @DeadLetterQueueName = params['DeadLetterQueueName']
         
     | 
| 
       809 
     | 
    
         
            -
                      @MaxTimeToLive = params['MaxTimeToLive']
         
     | 
| 
       810 
     | 
    
         
            -
                      @MaxReceiveCount = params['MaxReceiveCount']
         
     | 
| 
       811 
     | 
    
         
            -
                      @Policy = params['Policy']
         
     | 
| 
       812 
     | 
    
         
            -
                      @Trace = params['Trace']
         
     | 
| 
       813 
     | 
    
         
            -
                    end
         
     | 
| 
       814 
     | 
    
         
            -
                  end
         
     | 
| 
       815 
     | 
    
         
            -
             
     | 
| 
       816 
     | 
    
         
            -
                  # ModifyQueueAttribute返回参数结构体
         
     | 
| 
       817 
     | 
    
         
            -
                  class ModifyQueueAttributeResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       818 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       819 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       820 
     | 
    
         
            -
             
     | 
| 
       821 
     | 
    
         
            -
                    attr_accessor :RequestId
         
     | 
| 
       822 
     | 
    
         
            -
             
     | 
| 
       823 
     | 
    
         
            -
                    def initialize(requestid=nil)
         
     | 
| 
       824 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
       825 
     | 
    
         
            -
                    end
         
     | 
| 
       826 
     | 
    
         
            -
             
     | 
| 
       827 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       828 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
       829 
     | 
    
         
            -
                    end
         
     | 
| 
       830 
     | 
    
         
            -
                  end
         
     | 
| 
       831 
     | 
    
         
            -
             
     | 
| 
       832 
     | 
    
         
            -
                  # ModifySubscriptionAttribute请求参数结构体
         
     | 
| 
       833 
     | 
    
         
            -
                  class ModifySubscriptionAttributeRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       834 
     | 
    
         
            -
                    # @param TopicName: 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       835 
     | 
    
         
            -
                    # @type TopicName: String
         
     | 
| 
       836 
     | 
    
         
            -
                    # @param SubscriptionName: 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       837 
     | 
    
         
            -
                    # @type SubscriptionName: String
         
     | 
| 
       838 
     | 
    
         
            -
                    # @param NotifyStrategy: 向 Endpoint 推送消息出现错误时,CMQ 推送服务器的重试策略。取值如下:
         
     | 
| 
       839 
     | 
    
         
            -
                    # (1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息。
         
     | 
| 
       840 
     | 
    
         
            -
                    # (2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始1s,后面是2s,4s,8s···由于 Topic 消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是 EXPONENTIAL_DECAY_RETRY。
         
     | 
| 
       841 
     | 
    
         
            -
                    # @type NotifyStrategy: String
         
     | 
| 
       842 
     | 
    
         
            -
                    # @param NotifyContentFormat: 推送内容的格式。取值:(1)JSON;(2)SIMPLIFIED,即 raw 格式。如果 Protocol 是 queue,则取值必须为 SIMPLIFIED。如果 Protocol 是 HTTP,两个值均可以,默认值是 JSON。
         
     | 
| 
       843 
     | 
    
         
            -
                    # @type NotifyContentFormat: String
         
     | 
| 
       844 
     | 
    
         
            -
                    # @param FilterTags: 消息正文。消息标签(用于消息过滤)。标签数量不能超过5个,每个标签不超过16个字符。与(Batch)PublishMessage的MsgTag参数配合使用,规则:1)如果FilterTag没有设置,则无论MsgTag是否有设置,订阅接收所有发布到Topic的消息;2)如果FilterTag数组有值,则只有数组中至少有一个值在MsgTag数组中也存在时(即FilterTag和MsgTag有交集),订阅才接收该发布到Topic的消息;3)如果FilterTag数组有值,但MsgTag没设置,则不接收任何发布到Topic的消息,可以认为是2)的一种特例,此时FilterTag和MsgTag没有交集。规则整体的设计思想是以订阅者的意愿为主。
         
     | 
| 
       845 
     | 
    
         
            -
                    # @type FilterTags: Array
         
     | 
| 
       846 
     | 
    
         
            -
                    # @param BindingKey: BindingKey数量不超过5个, 每个BindingKey长度不超过64字节,该字段表示订阅接收消息的过滤策略,每个BindingKey最多含有15个“.”, 即最多16个词组。
         
     | 
| 
       847 
     | 
    
         
            -
                    # @type BindingKey: Array
         
     | 
| 
       848 
     | 
    
         
            -
             
     | 
| 
       849 
     | 
    
         
            -
                    attr_accessor :TopicName, :SubscriptionName, :NotifyStrategy, :NotifyContentFormat, :FilterTags, :BindingKey
         
     | 
| 
       850 
     | 
    
         
            -
             
     | 
| 
       851 
     | 
    
         
            -
                    def initialize(topicname=nil, subscriptionname=nil, notifystrategy=nil, notifycontentformat=nil, filtertags=nil, bindingkey=nil)
         
     | 
| 
       852 
     | 
    
         
            -
                      @TopicName = topicname
         
     | 
| 
       853 
     | 
    
         
            -
                      @SubscriptionName = subscriptionname
         
     | 
| 
       854 
     | 
    
         
            -
                      @NotifyStrategy = notifystrategy
         
     | 
| 
       855 
     | 
    
         
            -
                      @NotifyContentFormat = notifycontentformat
         
     | 
| 
       856 
     | 
    
         
            -
                      @FilterTags = filtertags
         
     | 
| 
       857 
     | 
    
         
            -
                      @BindingKey = bindingkey
         
     | 
| 
       858 
     | 
    
         
            -
                    end
         
     | 
| 
       859 
     | 
    
         
            -
             
     | 
| 
       860 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       861 
     | 
    
         
            -
                      @TopicName = params['TopicName']
         
     | 
| 
       862 
     | 
    
         
            -
                      @SubscriptionName = params['SubscriptionName']
         
     | 
| 
       863 
     | 
    
         
            -
                      @NotifyStrategy = params['NotifyStrategy']
         
     | 
| 
       864 
     | 
    
         
            -
                      @NotifyContentFormat = params['NotifyContentFormat']
         
     | 
| 
       865 
     | 
    
         
            -
                      @FilterTags = params['FilterTags']
         
     | 
| 
       866 
     | 
    
         
            -
                      @BindingKey = params['BindingKey']
         
     | 
| 
       867 
     | 
    
         
            -
                    end
         
     | 
| 
       868 
     | 
    
         
            -
                  end
         
     | 
| 
       869 
     | 
    
         
            -
             
     | 
| 
       870 
     | 
    
         
            -
                  # ModifySubscriptionAttribute返回参数结构体
         
     | 
| 
       871 
     | 
    
         
            -
                  class ModifySubscriptionAttributeResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       872 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       873 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       874 
     | 
    
         
            -
             
     | 
| 
       875 
     | 
    
         
            -
                    attr_accessor :RequestId
         
     | 
| 
       876 
     | 
    
         
            -
             
     | 
| 
       877 
     | 
    
         
            -
                    def initialize(requestid=nil)
         
     | 
| 
       878 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
       879 
     | 
    
         
            -
                    end
         
     | 
| 
       880 
     | 
    
         
            -
             
     | 
| 
       881 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       882 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
       883 
     | 
    
         
            -
                    end
         
     | 
| 
       884 
     | 
    
         
            -
                  end
         
     | 
| 
       885 
     | 
    
         
            -
             
     | 
| 
       886 
     | 
    
         
            -
                  # ModifyTopicAttribute请求参数结构体
         
     | 
| 
       887 
     | 
    
         
            -
                  class ModifyTopicAttributeRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       888 
     | 
    
         
            -
                    # @param TopicName: 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       889 
     | 
    
         
            -
                    # @type TopicName: String
         
     | 
| 
       890 
     | 
    
         
            -
                    # @param MaxMsgSize: 消息最大长度。取值范围1024 - 65536 Byte(即1 - 64K),默认值65536。
         
     | 
| 
       891 
     | 
    
         
            -
                    # @type MaxMsgSize: Integer
         
     | 
| 
       892 
     | 
    
         
            -
                    # @param MsgRetentionSeconds: 消息保存时间。取值范围60 - 86400 s(即1分钟 - 1天),默认值86400。
         
     | 
| 
       893 
     | 
    
         
            -
                    # @type MsgRetentionSeconds: Integer
         
     | 
| 
       894 
     | 
    
         
            -
                    # @param Trace: 是否开启消息轨迹标识,true表示开启,false表示不开启,不填表示不开启。
         
     | 
| 
       895 
     | 
    
         
            -
                    # @type Trace: Boolean
         
     | 
| 
       896 
     | 
    
         
            -
             
     | 
| 
       897 
     | 
    
         
            -
                    attr_accessor :TopicName, :MaxMsgSize, :MsgRetentionSeconds, :Trace
         
     | 
| 
       898 
     | 
    
         
            -
             
     | 
| 
       899 
     | 
    
         
            -
                    def initialize(topicname=nil, maxmsgsize=nil, msgretentionseconds=nil, trace=nil)
         
     | 
| 
       900 
     | 
    
         
            -
                      @TopicName = topicname
         
     | 
| 
       901 
     | 
    
         
            -
                      @MaxMsgSize = maxmsgsize
         
     | 
| 
       902 
     | 
    
         
            -
                      @MsgRetentionSeconds = msgretentionseconds
         
     | 
| 
       903 
     | 
    
         
            -
                      @Trace = trace
         
     | 
| 
       904 
     | 
    
         
            -
                    end
         
     | 
| 
       905 
     | 
    
         
            -
             
     | 
| 
       906 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       907 
     | 
    
         
            -
                      @TopicName = params['TopicName']
         
     | 
| 
       908 
     | 
    
         
            -
                      @MaxMsgSize = params['MaxMsgSize']
         
     | 
| 
       909 
     | 
    
         
            -
                      @MsgRetentionSeconds = params['MsgRetentionSeconds']
         
     | 
| 
       910 
     | 
    
         
            -
                      @Trace = params['Trace']
         
     | 
| 
       911 
     | 
    
         
            -
                    end
         
     | 
| 
       912 
     | 
    
         
            -
                  end
         
     | 
| 
       913 
     | 
    
         
            -
             
     | 
| 
       914 
     | 
    
         
            -
                  # ModifyTopicAttribute返回参数结构体
         
     | 
| 
       915 
     | 
    
         
            -
                  class ModifyTopicAttributeResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       916 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       917 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       918 
     | 
    
         
            -
             
     | 
| 
       919 
     | 
    
         
            -
                    attr_accessor :RequestId
         
     | 
| 
       920 
     | 
    
         
            -
             
     | 
| 
       921 
     | 
    
         
            -
                    def initialize(requestid=nil)
         
     | 
| 
       922 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
       923 
     | 
    
         
            -
                    end
         
     | 
| 
       924 
     | 
    
         
            -
             
     | 
| 
       925 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       926 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
       927 
     | 
    
         
            -
                    end
         
     | 
| 
       928 
     | 
    
         
            -
                  end
         
     | 
| 
       929 
     | 
    
         
            -
             
     | 
| 
       930 
239 
     | 
    
         
             
                  # 批量queue属性信息
         
     | 
| 
       931 
240 
     | 
    
         
             
                  class QueueSet < TencentCloud::Common::AbstractModel
         
     | 
| 
       932 
241 
     | 
    
         
             
                    # @param QueueId: 消息队列ID。
         
     | 
| 
         @@ -1087,118 +396,6 @@ module TencentCloud 
     | 
|
| 
       1087 
396 
     | 
    
         
             
                    end
         
     | 
| 
       1088 
397 
     | 
    
         
             
                  end
         
     | 
| 
       1089 
398 
     | 
    
         | 
| 
       1090 
     | 
    
         
            -
                  # RewindQueue请求参数结构体
         
     | 
| 
       1091 
     | 
    
         
            -
                  class RewindQueueRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       1092 
     | 
    
         
            -
                    # @param QueueName: 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       1093 
     | 
    
         
            -
                    # @type QueueName: String
         
     | 
| 
       1094 
     | 
    
         
            -
                    # @param StartConsumeTime: 设定该时间,则(Batch)receiveMessage接口,会按照生产消息的先后顺序消费该时间戳以后的消息。
         
     | 
| 
       1095 
     | 
    
         
            -
                    # @type StartConsumeTime: Integer
         
     | 
| 
       1096 
     | 
    
         
            -
             
     | 
| 
       1097 
     | 
    
         
            -
                    attr_accessor :QueueName, :StartConsumeTime
         
     | 
| 
       1098 
     | 
    
         
            -
             
     | 
| 
       1099 
     | 
    
         
            -
                    def initialize(queuename=nil, startconsumetime=nil)
         
     | 
| 
       1100 
     | 
    
         
            -
                      @QueueName = queuename
         
     | 
| 
       1101 
     | 
    
         
            -
                      @StartConsumeTime = startconsumetime
         
     | 
| 
       1102 
     | 
    
         
            -
                    end
         
     | 
| 
       1103 
     | 
    
         
            -
             
     | 
| 
       1104 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       1105 
     | 
    
         
            -
                      @QueueName = params['QueueName']
         
     | 
| 
       1106 
     | 
    
         
            -
                      @StartConsumeTime = params['StartConsumeTime']
         
     | 
| 
       1107 
     | 
    
         
            -
                    end
         
     | 
| 
       1108 
     | 
    
         
            -
                  end
         
     | 
| 
       1109 
     | 
    
         
            -
             
     | 
| 
       1110 
     | 
    
         
            -
                  # RewindQueue返回参数结构体
         
     | 
| 
       1111 
     | 
    
         
            -
                  class RewindQueueResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       1112 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       1113 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       1114 
     | 
    
         
            -
             
     | 
| 
       1115 
     | 
    
         
            -
                    attr_accessor :RequestId
         
     | 
| 
       1116 
     | 
    
         
            -
             
     | 
| 
       1117 
     | 
    
         
            -
                    def initialize(requestid=nil)
         
     | 
| 
       1118 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
       1119 
     | 
    
         
            -
                    end
         
     | 
| 
       1120 
     | 
    
         
            -
             
     | 
| 
       1121 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       1122 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
       1123 
     | 
    
         
            -
                    end
         
     | 
| 
       1124 
     | 
    
         
            -
                  end
         
     | 
| 
       1125 
     | 
    
         
            -
             
     | 
| 
       1126 
     | 
    
         
            -
                  # 订阅返回参数
         
     | 
| 
       1127 
     | 
    
         
            -
                  class Subscription < TencentCloud::Common::AbstractModel
         
     | 
| 
       1128 
     | 
    
         
            -
                    # @param MsgCount: 该订阅待投递的消息数。
         
     | 
| 
       1129 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       1130 
     | 
    
         
            -
                    # @type MsgCount: Integer
         
     | 
| 
       1131 
     | 
    
         
            -
                    # @param BindingKey: 表示订阅接收消息的过滤策略。
         
     | 
| 
       1132 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       1133 
     | 
    
         
            -
                    # @type BindingKey: Array
         
     | 
| 
       1134 
     | 
    
         
            -
                    # @param Endpoint: 接收通知的 endpoint,根据协议 protocol 区分:对于 HTTP,endpoint 必须以http://开头,host 可以是域名或 IP;对于 queue,则填 queueName。
         
     | 
| 
       1135 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       1136 
     | 
    
         
            -
                    # @type Endpoint: String
         
     | 
| 
       1137 
     | 
    
         
            -
                    # @param TopicOwner: 订阅拥有者的 APPID。
         
     | 
| 
       1138 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       1139 
     | 
    
         
            -
                    # @type TopicOwner: Integer
         
     | 
| 
       1140 
     | 
    
         
            -
                    # @param NotifyStrategy: 向 endpoint 推送消息出现错误时,CMQ 推送服务器的重试策略。取值有:
         
     | 
| 
       1141 
     | 
    
         
            -
                    # (1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息;
         
     | 
| 
       1142 
     | 
    
         
            -
                    # (2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始 1s,后面是 2s,4s,8s...由于 Topic 消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是 EXPONENTIAL_DECAY_RETRY。
         
     | 
| 
       1143 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       1144 
     | 
    
         
            -
                    # @type NotifyStrategy: String
         
     | 
| 
       1145 
     | 
    
         
            -
                    # @param NotifyContentFormat: 推送内容的格式。取值:(1)JSON;(2)SIMPLIFIED,即 raw 格式。如果 protocol 是 queue,则取值必须为 SIMPLIFIED。如果 protocol 是 HTTP,两个值均可以,默认值是 JSON。
         
     | 
| 
       1146 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       1147 
     | 
    
         
            -
                    # @type NotifyContentFormat: String
         
     | 
| 
       1148 
     | 
    
         
            -
                    # @param LastModifyTime: 最后一次修改订阅属性的时间。返回 Unix 时间戳,精确到秒。
         
     | 
| 
       1149 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       1150 
     | 
    
         
            -
                    # @type LastModifyTime: Integer
         
     | 
| 
       1151 
     | 
    
         
            -
                    # @param FilterTags: 描述用户创建订阅时选择的过滤策略:
         
     | 
| 
       1152 
     | 
    
         
            -
                    # filterType = 1表示用户使用 filterTag 标签过滤
         
     | 
| 
       1153 
     | 
    
         
            -
                    # filterType = 2表示用户使用 bindingKey 过滤。
         
     | 
| 
       1154 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       1155 
     | 
    
         
            -
                    # @type FilterTags: Array
         
     | 
| 
       1156 
     | 
    
         
            -
                    # @param SubscriptionName: 订阅名字,在单个地域同一账号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
         
     | 
| 
       1157 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       1158 
     | 
    
         
            -
                    # @type SubscriptionName: String
         
     | 
| 
       1159 
     | 
    
         
            -
                    # @param Protocol: 订阅的协议,目前支持两种协议:HTTP、queue。使用 HTTP 协议,用户需自己搭建接受消息的 Web Server。使用 queue,消息会自动推送到 CMQ queue,用户可以并发地拉取消息。
         
     | 
| 
       1160 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       1161 
     | 
    
         
            -
                    # @type Protocol: String
         
     | 
| 
       1162 
     | 
    
         
            -
                    # @param SubscriptionId: 订阅 ID。订阅 ID 在拉取监控数据时会用到。
         
     | 
| 
       1163 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       1164 
     | 
    
         
            -
                    # @type SubscriptionId: String
         
     | 
| 
       1165 
     | 
    
         
            -
                    # @param CreateTime: 订阅的创建时间。返回 Unix 时间戳,精确到秒。
         
     | 
| 
       1166 
     | 
    
         
            -
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
       1167 
     | 
    
         
            -
                    # @type CreateTime: Integer
         
     | 
| 
       1168 
     | 
    
         
            -
             
     | 
| 
       1169 
     | 
    
         
            -
                    attr_accessor :MsgCount, :BindingKey, :Endpoint, :TopicOwner, :NotifyStrategy, :NotifyContentFormat, :LastModifyTime, :FilterTags, :SubscriptionName, :Protocol, :SubscriptionId, :CreateTime
         
     | 
| 
       1170 
     | 
    
         
            -
             
     | 
| 
       1171 
     | 
    
         
            -
                    def initialize(msgcount=nil, bindingkey=nil, endpoint=nil, topicowner=nil, notifystrategy=nil, notifycontentformat=nil, lastmodifytime=nil, filtertags=nil, subscriptionname=nil, protocol=nil, subscriptionid=nil, createtime=nil)
         
     | 
| 
       1172 
     | 
    
         
            -
                      @MsgCount = msgcount
         
     | 
| 
       1173 
     | 
    
         
            -
                      @BindingKey = bindingkey
         
     | 
| 
       1174 
     | 
    
         
            -
                      @Endpoint = endpoint
         
     | 
| 
       1175 
     | 
    
         
            -
                      @TopicOwner = topicowner
         
     | 
| 
       1176 
     | 
    
         
            -
                      @NotifyStrategy = notifystrategy
         
     | 
| 
       1177 
     | 
    
         
            -
                      @NotifyContentFormat = notifycontentformat
         
     | 
| 
       1178 
     | 
    
         
            -
                      @LastModifyTime = lastmodifytime
         
     | 
| 
       1179 
     | 
    
         
            -
                      @FilterTags = filtertags
         
     | 
| 
       1180 
     | 
    
         
            -
                      @SubscriptionName = subscriptionname
         
     | 
| 
       1181 
     | 
    
         
            -
                      @Protocol = protocol
         
     | 
| 
       1182 
     | 
    
         
            -
                      @SubscriptionId = subscriptionid
         
     | 
| 
       1183 
     | 
    
         
            -
                      @CreateTime = createtime
         
     | 
| 
       1184 
     | 
    
         
            -
                    end
         
     | 
| 
       1185 
     | 
    
         
            -
             
     | 
| 
       1186 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       1187 
     | 
    
         
            -
                      @MsgCount = params['MsgCount']
         
     | 
| 
       1188 
     | 
    
         
            -
                      @BindingKey = params['BindingKey']
         
     | 
| 
       1189 
     | 
    
         
            -
                      @Endpoint = params['Endpoint']
         
     | 
| 
       1190 
     | 
    
         
            -
                      @TopicOwner = params['TopicOwner']
         
     | 
| 
       1191 
     | 
    
         
            -
                      @NotifyStrategy = params['NotifyStrategy']
         
     | 
| 
       1192 
     | 
    
         
            -
                      @NotifyContentFormat = params['NotifyContentFormat']
         
     | 
| 
       1193 
     | 
    
         
            -
                      @LastModifyTime = params['LastModifyTime']
         
     | 
| 
       1194 
     | 
    
         
            -
                      @FilterTags = params['FilterTags']
         
     | 
| 
       1195 
     | 
    
         
            -
                      @SubscriptionName = params['SubscriptionName']
         
     | 
| 
       1196 
     | 
    
         
            -
                      @Protocol = params['Protocol']
         
     | 
| 
       1197 
     | 
    
         
            -
                      @SubscriptionId = params['SubscriptionId']
         
     | 
| 
       1198 
     | 
    
         
            -
                      @CreateTime = params['CreateTime']
         
     | 
| 
       1199 
     | 
    
         
            -
                    end
         
     | 
| 
       1200 
     | 
    
         
            -
                  end
         
     | 
| 
       1201 
     | 
    
         
            -
             
     | 
| 
       1202 
399 
     | 
    
         
             
                  # 标签
         
     | 
| 
       1203 
400 
     | 
    
         
             
                  class Tag < TencentCloud::Common::AbstractModel
         
     | 
| 
       1204 
401 
     | 
    
         
             
                    # @param TagKey: 标签Key
         
     | 
| 
         @@ -1329,38 +526,6 @@ module TencentCloud 
     | 
|
| 
       1329 
526 
     | 
    
         
             
                    end
         
     | 
| 
       1330 
527 
     | 
    
         
             
                  end
         
     | 
| 
       1331 
528 
     | 
    
         | 
| 
       1332 
     | 
    
         
            -
                  # UnbindDeadLetter请求参数结构体
         
     | 
| 
       1333 
     | 
    
         
            -
                  class UnbindDeadLetterRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       1334 
     | 
    
         
            -
                    # @param QueueName: 死信策略源队列名称,调用本接口会清空该队列的死信队列策略。
         
     | 
| 
       1335 
     | 
    
         
            -
                    # @type QueueName: String
         
     | 
| 
       1336 
     | 
    
         
            -
             
     | 
| 
       1337 
     | 
    
         
            -
                    attr_accessor :QueueName
         
     | 
| 
       1338 
     | 
    
         
            -
             
     | 
| 
       1339 
     | 
    
         
            -
                    def initialize(queuename=nil)
         
     | 
| 
       1340 
     | 
    
         
            -
                      @QueueName = queuename
         
     | 
| 
       1341 
     | 
    
         
            -
                    end
         
     | 
| 
       1342 
     | 
    
         
            -
             
     | 
| 
       1343 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       1344 
     | 
    
         
            -
                      @QueueName = params['QueueName']
         
     | 
| 
       1345 
     | 
    
         
            -
                    end
         
     | 
| 
       1346 
     | 
    
         
            -
                  end
         
     | 
| 
       1347 
     | 
    
         
            -
             
     | 
| 
       1348 
     | 
    
         
            -
                  # UnbindDeadLetter返回参数结构体
         
     | 
| 
       1349 
     | 
    
         
            -
                  class UnbindDeadLetterResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
       1350 
     | 
    
         
            -
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       1351 
     | 
    
         
            -
                    # @type RequestId: String
         
     | 
| 
       1352 
     | 
    
         
            -
             
     | 
| 
       1353 
     | 
    
         
            -
                    attr_accessor :RequestId
         
     | 
| 
       1354 
     | 
    
         
            -
             
     | 
| 
       1355 
     | 
    
         
            -
                    def initialize(requestid=nil)
         
     | 
| 
       1356 
     | 
    
         
            -
                      @RequestId = requestid
         
     | 
| 
       1357 
     | 
    
         
            -
                    end
         
     | 
| 
       1358 
     | 
    
         
            -
             
     | 
| 
       1359 
     | 
    
         
            -
                    def deserialize(params)
         
     | 
| 
       1360 
     | 
    
         
            -
                      @RequestId = params['RequestId']
         
     | 
| 
       1361 
     | 
    
         
            -
                    end
         
     | 
| 
       1362 
     | 
    
         
            -
                  end
         
     | 
| 
       1363 
     | 
    
         
            -
             
     | 
| 
       1364 
529 
     | 
    
         
             
                end
         
     | 
| 
       1365 
530 
     | 
    
         
             
              end
         
     | 
| 
       1366 
531 
     | 
    
         
             
            end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: tencentcloud-sdk-cmq
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.0.979
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Tencent Cloud
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2025-01- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2025-01-09 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: tencentcloud-sdk-common
         
     |