tencentcloud-sdk-tdmq 3.0.1118 → 3.0.1125

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9347d0cd6a59f9007acae44017df96d8fdf271c8
4
- data.tar.gz: 86dd6b86f085a5707524ac8e3d63e4347479fd17
3
+ metadata.gz: 8cc5959a3236b1183a54d4c834252b78fd3ece32
4
+ data.tar.gz: 847f0924239fe9785c7eb2016cff4b1fae0753c9
5
5
  SHA512:
6
- metadata.gz: b8e5e0cbf6c22c6f1726d1ee9bb4cc982527fef0931b3147a1fcb5d23405e8c06f8afdd2519ccdcdb0facadf7e406c872b570af36e7f578eeb39f61c890da7bc
7
- data.tar.gz: 79320b5a1a664cbdea471b3c501bdd1d572612c59500c519a1edbb39306c4016e0fd86b15d6f665d4a733bfc1eda2807b0de4f1edb490c29a6b138de559233d7
6
+ metadata.gz: 98453247f62053cb9de8aa69282ca8a442aba30823d81e8ab523f738f7f85b51a440a017e670768cda3785557ad1cc443389e9cc92330564acf09534c7ee05aa
7
+ data.tar.gz: f743fd5503dff826cb8bbf0da20eb3a641add5ebe306133e29f98fbf2c4a442fe448c1c10197c94bf6e116fad296e8935d01f33d7703d3f86f7480263657d58e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1118
1
+ 3.0.1125
@@ -2653,6 +2653,30 @@ module TencentCloud
2653
2653
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2654
2654
  end
2655
2655
 
2656
+ # 执行域名异地访问切换,域名的访问指向将切换至备份集群。
2657
+
2658
+ # @param request: Request instance for ExecuteDisasterRecovery.
2659
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::ExecuteDisasterRecoveryRequest`
2660
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::ExecuteDisasterRecoveryResponse`
2661
+ def ExecuteDisasterRecovery(request)
2662
+ body = send_request('ExecuteDisasterRecovery', request.serialize)
2663
+ response = JSON.parse(body)
2664
+ if response['Response'].key?('Error') == false
2665
+ model = ExecuteDisasterRecoveryResponse.new
2666
+ model.deserialize(response['Response'])
2667
+ model
2668
+ else
2669
+ code = response['Response']['Error']['Code']
2670
+ message = response['Response']['Error']['Message']
2671
+ reqid = response['Response']['RequestId']
2672
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2673
+ end
2674
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2675
+ raise e
2676
+ rescue StandardError => e
2677
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2678
+ end
2679
+
2656
2680
  # 导出RocketMQ消息详情
2657
2681
 
2658
2682
  # @param request: Request instance for ExportRocketMQMessageDetail.
@@ -4174,14 +4174,14 @@ module TencentCloud
4174
4174
 
4175
4175
  # DescribeEnvironmentRoles请求参数结构体
4176
4176
  class DescribeEnvironmentRolesRequest < TencentCloud::Common::AbstractModel
4177
- # @param EnvironmentId: 必填字段,环境(命名空间)名称。
4177
+ # @param ClusterId: Pulsar 集群的ID
4178
+ # @type ClusterId: String
4179
+ # @param EnvironmentId: 环境(命名空间)名称。
4178
4180
  # @type EnvironmentId: String
4179
4181
  # @param Offset: 起始下标,不填默认为0。
4180
4182
  # @type Offset: Integer
4181
4183
  # @param Limit: 返回数量,不填则默认为10,最大值为20。
4182
4184
  # @type Limit: Integer
4183
- # @param ClusterId: 必填字段,Pulsar 集群的ID
4184
- # @type ClusterId: String
4185
4185
  # @param RoleName: 角色名称
4186
4186
  # @type RoleName: String
4187
4187
  # @param Filters: * RoleName
@@ -4190,22 +4190,22 @@ module TencentCloud
4190
4190
  # 必选:否
4191
4191
  # @type Filters: Array
4192
4192
 
4193
- attr_accessor :EnvironmentId, :Offset, :Limit, :ClusterId, :RoleName, :Filters
4193
+ attr_accessor :ClusterId, :EnvironmentId, :Offset, :Limit, :RoleName, :Filters
4194
4194
 
4195
- def initialize(environmentid=nil, offset=nil, limit=nil, clusterid=nil, rolename=nil, filters=nil)
4195
+ def initialize(clusterid=nil, environmentid=nil, offset=nil, limit=nil, rolename=nil, filters=nil)
4196
+ @ClusterId = clusterid
4196
4197
  @EnvironmentId = environmentid
4197
4198
  @Offset = offset
4198
4199
  @Limit = limit
4199
- @ClusterId = clusterid
4200
4200
  @RoleName = rolename
4201
4201
  @Filters = filters
4202
4202
  end
4203
4203
 
4204
4204
  def deserialize(params)
4205
+ @ClusterId = params['ClusterId']
4205
4206
  @EnvironmentId = params['EnvironmentId']
4206
4207
  @Offset = params['Offset']
4207
4208
  @Limit = params['Limit']
4208
- @ClusterId = params['ClusterId']
4209
4209
  @RoleName = params['RoleName']
4210
4210
  unless params['Filters'].nil?
4211
4211
  @Filters = []
@@ -6220,7 +6220,7 @@ module TencentCloud
6220
6220
  # @type FilterTopic: String
6221
6221
  # @param FilterGroup: 按消费组名称查询消费组,支持模糊查询
6222
6222
  # @type FilterGroup: String
6223
- # @param SortedBy: 按照指定字段排序,可选值为tps,accumulative
6223
+ # @param SortedBy: 按照指定字段排序,可选值为 subscribeNum: 订阅 Topic 个数
6224
6224
  # @type SortedBy: String
6225
6225
  # @param SortOrder: 按升序或降序排列,可选值为asc,desc
6226
6226
  # @type SortOrder: String
@@ -8222,6 +8222,33 @@ module TencentCloud
8222
8222
  end
8223
8223
  end
8224
8224
 
8225
+ # ExecuteDisasterRecovery请求参数结构体
8226
+ class ExecuteDisasterRecoveryRequest < TencentCloud::Common::AbstractModel
8227
+
8228
+
8229
+ def initialize()
8230
+ end
8231
+
8232
+ def deserialize(params)
8233
+ end
8234
+ end
8235
+
8236
+ # ExecuteDisasterRecovery返回参数结构体
8237
+ class ExecuteDisasterRecoveryResponse < TencentCloud::Common::AbstractModel
8238
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8239
+ # @type RequestId: String
8240
+
8241
+ attr_accessor :RequestId
8242
+
8243
+ def initialize(requestid=nil)
8244
+ @RequestId = requestid
8245
+ end
8246
+
8247
+ def deserialize(params)
8248
+ @RequestId = params['RequestId']
8249
+ end
8250
+ end
8251
+
8225
8252
  # ExportRocketMQMessageDetail请求参数结构体
8226
8253
  class ExportRocketMQMessageDetailRequest < TencentCloud::Common::AbstractModel
8227
8254
  # @param ClusterId: 集群id
@@ -11635,16 +11662,19 @@ module TencentCloud
11635
11662
  # @type Topic: String
11636
11663
  # @param ResetTimestamp: 重置指定的时间戳,仅在 Type 为1是生效,以毫秒为单位
11637
11664
  # @type ResetTimestamp: Integer
11665
+ # @param RetryFlag: 重置的是否是retry topic
11666
+ # @type RetryFlag: Boolean
11638
11667
 
11639
- attr_accessor :ClusterId, :NamespaceId, :GroupId, :Type, :Topic, :ResetTimestamp
11668
+ attr_accessor :ClusterId, :NamespaceId, :GroupId, :Type, :Topic, :ResetTimestamp, :RetryFlag
11640
11669
 
11641
- def initialize(clusterid=nil, namespaceid=nil, groupid=nil, type=nil, topic=nil, resettimestamp=nil)
11670
+ def initialize(clusterid=nil, namespaceid=nil, groupid=nil, type=nil, topic=nil, resettimestamp=nil, retryflag=nil)
11642
11671
  @ClusterId = clusterid
11643
11672
  @NamespaceId = namespaceid
11644
11673
  @GroupId = groupid
11645
11674
  @Type = type
11646
11675
  @Topic = topic
11647
11676
  @ResetTimestamp = resettimestamp
11677
+ @RetryFlag = retryflag
11648
11678
  end
11649
11679
 
11650
11680
  def deserialize(params)
@@ -11654,6 +11684,7 @@ module TencentCloud
11654
11684
  @Type = params['Type']
11655
11685
  @Topic = params['Topic']
11656
11686
  @ResetTimestamp = params['ResetTimestamp']
11687
+ @RetryFlag = params['RetryFlag']
11657
11688
  end
11658
11689
  end
11659
11690
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tdmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1118
4
+ version: 3.0.1125
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-08-05 00:00:00.000000000 Z
11
+ date: 2025-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common