tencentcloud-sdk-ckafka 3.0.1160 → 3.0.1161

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: ce98130743226f596c7709a3bd197f723a91142c
4
- data.tar.gz: 47b50b5474a3ba3fa4edad38557678c267462d9b
3
+ metadata.gz: 1914af35f83e58a201913b56a9aacbf9da43b460
4
+ data.tar.gz: fa17b12f778ff1288922771cdd2548d098d50cf5
5
5
  SHA512:
6
- metadata.gz: 24a50c605f2024ee8d55bc901f3f18b9983dce449a8e473bbc49d8db298af45a4db055669bb2b6d31987760e453a7815ca8bc12e3c761b8b81e9bff34ca14c37
7
- data.tar.gz: cf8a77c3b74f30adbac94cfd29d36e573f470af7c327bc075d3e036372c03566fe7f89898601a1e3e46f37cc6368d7c33133b5d5a835865bff7d7f4ac0d1b6ce
6
+ metadata.gz: c8b3da83c3baadf80f5c0c2f2ea389034bccb40790dec1e2b9d95f7b67ec563eb99cb11161daf5843bab96ca06eebc35be8a1f03891fab5b520f3c21dd77355c
7
+ data.tar.gz: ad60cdc4710fb7655d85a36614274a862432a20eae76900ff85e3f0ea7be5cdf3c46ef9db273ce0b86aa9edddc99f6a3039dc12ec9266a4bf772d149b2b886f8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1160
1
+ 3.0.1161
@@ -2070,6 +2070,30 @@ module TencentCloud
2070
2070
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2071
2071
  end
2072
2072
 
2073
+ # 暂停Dip任务
2074
+
2075
+ # @param request: Request instance for PauseDatahubTask.
2076
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::PauseDatahubTaskRequest`
2077
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::PauseDatahubTaskResponse`
2078
+ def PauseDatahubTask(request)
2079
+ body = send_request('PauseDatahubTask', request.serialize)
2080
+ response = JSON.parse(body)
2081
+ if response['Response'].key?('Error') == false
2082
+ model = PauseDatahubTaskResponse.new
2083
+ model.deserialize(response['Response'])
2084
+ model
2085
+ else
2086
+ code = response['Response']['Error']['Code']
2087
+ message = response['Response']['Error']['Message']
2088
+ reqid = response['Response']['RequestId']
2089
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2090
+ end
2091
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2092
+ raise e
2093
+ rescue StandardError => e
2094
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2095
+ end
2096
+
2073
2097
  # 续费Ckafka实例, 目前只支持国内站包年包月实例续费
2074
2098
 
2075
2099
  # @param request: Request instance for RenewCkafkaInstance.
@@ -2094,6 +2118,54 @@ module TencentCloud
2094
2118
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2095
2119
  end
2096
2120
 
2121
+ # Datahub任务异常时,重启Datahub任务
2122
+
2123
+ # @param request: Request instance for RestartDatahubTask.
2124
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::RestartDatahubTaskRequest`
2125
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::RestartDatahubTaskResponse`
2126
+ def RestartDatahubTask(request)
2127
+ body = send_request('RestartDatahubTask', request.serialize)
2128
+ response = JSON.parse(body)
2129
+ if response['Response'].key?('Error') == false
2130
+ model = RestartDatahubTaskResponse.new
2131
+ model.deserialize(response['Response'])
2132
+ model
2133
+ else
2134
+ code = response['Response']['Error']['Code']
2135
+ message = response['Response']['Error']['Message']
2136
+ reqid = response['Response']['RequestId']
2137
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2138
+ end
2139
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2140
+ raise e
2141
+ rescue StandardError => e
2142
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2143
+ end
2144
+
2145
+ # 恢复Dip任务
2146
+
2147
+ # @param request: Request instance for ResumeDatahubTask.
2148
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::ResumeDatahubTaskRequest`
2149
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::ResumeDatahubTaskResponse`
2150
+ def ResumeDatahubTask(request)
2151
+ body = send_request('ResumeDatahubTask', request.serialize)
2152
+ response = JSON.parse(body)
2153
+ if response['Response'].key?('Error') == false
2154
+ model = ResumeDatahubTaskResponse.new
2155
+ model.deserialize(response['Response'])
2156
+ model
2157
+ else
2158
+ code = response['Response']['Error']['Code']
2159
+ message = response['Response']['Error']['Message']
2160
+ reqid = response['Response']['RequestId']
2161
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2162
+ end
2163
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2164
+ raise e
2165
+ rescue StandardError => e
2166
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2167
+ end
2168
+
2097
2169
  # 通过HTTP接入层发送消息
2098
2170
 
2099
2171
  # @param request: Request instance for SendMessage.
@@ -8508,10 +8508,14 @@ module TencentCloud
8508
8508
  # @type KeepPartition: Boolean
8509
8509
  # @param TopicRegularExpression: 正则匹配Topic列表
8510
8510
  # @type TopicRegularExpression: String
8511
+ # @param Prefix: Topic 前缀
8512
+ # @type Prefix: String
8513
+ # @param Separator: Topic前缀分隔符
8514
+ # @type Separator: String
8511
8515
 
8512
- attr_accessor :SelfBuilt, :Resource, :Topic, :OffsetType, :StartTime, :ResourceName, :ZoneId, :TopicId, :PartitionNum, :EnableToleration, :QpsLimit, :TableMappings, :UseTableMapping, :UseAutoCreateTopic, :CompressionType, :MsgMultiple, :ConnectorSyncType, :KeepPartition, :TopicRegularExpression
8516
+ attr_accessor :SelfBuilt, :Resource, :Topic, :OffsetType, :StartTime, :ResourceName, :ZoneId, :TopicId, :PartitionNum, :EnableToleration, :QpsLimit, :TableMappings, :UseTableMapping, :UseAutoCreateTopic, :CompressionType, :MsgMultiple, :ConnectorSyncType, :KeepPartition, :TopicRegularExpression, :Prefix, :Separator
8513
8517
 
8514
- def initialize(selfbuilt=nil, resource=nil, topic=nil, offsettype=nil, starttime=nil, resourcename=nil, zoneid=nil, topicid=nil, partitionnum=nil, enabletoleration=nil, qpslimit=nil, tablemappings=nil, usetablemapping=nil, useautocreatetopic=nil, compressiontype=nil, msgmultiple=nil, connectorsynctype=nil, keeppartition=nil, topicregularexpression=nil)
8518
+ def initialize(selfbuilt=nil, resource=nil, topic=nil, offsettype=nil, starttime=nil, resourcename=nil, zoneid=nil, topicid=nil, partitionnum=nil, enabletoleration=nil, qpslimit=nil, tablemappings=nil, usetablemapping=nil, useautocreatetopic=nil, compressiontype=nil, msgmultiple=nil, connectorsynctype=nil, keeppartition=nil, topicregularexpression=nil, prefix=nil, separator=nil)
8515
8519
  @SelfBuilt = selfbuilt
8516
8520
  @Resource = resource
8517
8521
  @Topic = topic
@@ -8531,6 +8535,8 @@ module TencentCloud
8531
8535
  @ConnectorSyncType = connectorsynctype
8532
8536
  @KeepPartition = keeppartition
8533
8537
  @TopicRegularExpression = topicregularexpression
8538
+ @Prefix = prefix
8539
+ @Separator = separator
8534
8540
  end
8535
8541
 
8536
8542
  def deserialize(params)
@@ -8560,6 +8566,8 @@ module TencentCloud
8560
8566
  @ConnectorSyncType = params['ConnectorSyncType']
8561
8567
  @KeepPartition = params['KeepPartition']
8562
8568
  @TopicRegularExpression = params['TopicRegularExpression']
8569
+ @Prefix = params['Prefix']
8570
+ @Separator = params['Separator']
8563
8571
  end
8564
8572
  end
8565
8573
 
@@ -10093,6 +10101,46 @@ module TencentCloud
10093
10101
  end
10094
10102
  end
10095
10103
 
10104
+ # PauseDatahubTask请求参数结构体
10105
+ class PauseDatahubTaskRequest < TencentCloud::Common::AbstractModel
10106
+ # @param TaskId: 任务id
10107
+ # @type TaskId: String
10108
+
10109
+ attr_accessor :TaskId
10110
+
10111
+ def initialize(taskid=nil)
10112
+ @TaskId = taskid
10113
+ end
10114
+
10115
+ def deserialize(params)
10116
+ @TaskId = params['TaskId']
10117
+ end
10118
+ end
10119
+
10120
+ # PauseDatahubTask返回参数结构体
10121
+ class PauseDatahubTaskResponse < TencentCloud::Common::AbstractModel
10122
+ # @param Result: 任务id
10123
+ # 注意:此字段可能返回 null,表示取不到有效值。
10124
+ # @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.DatahubTaskIdRes`
10125
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10126
+ # @type RequestId: String
10127
+
10128
+ attr_accessor :Result, :RequestId
10129
+
10130
+ def initialize(result=nil, requestid=nil)
10131
+ @Result = result
10132
+ @RequestId = requestid
10133
+ end
10134
+
10135
+ def deserialize(params)
10136
+ unless params['Result'].nil?
10137
+ @Result = DatahubTaskIdRes.new
10138
+ @Result.deserialize(params['Result'])
10139
+ end
10140
+ @RequestId = params['RequestId']
10141
+ end
10142
+ end
10143
+
10096
10144
  # PostgreSQL连接源参数
10097
10145
  class PostgreSQLConnectParam < TencentCloud::Common::AbstractModel
10098
10146
  # @param Port: PostgreSQL的连接port
@@ -10566,6 +10614,86 @@ module TencentCloud
10566
10614
  end
10567
10615
  end
10568
10616
 
10617
+ # RestartDatahubTask请求参数结构体
10618
+ class RestartDatahubTaskRequest < TencentCloud::Common::AbstractModel
10619
+ # @param TaskId: 任务id
10620
+ # @type TaskId: String
10621
+
10622
+ attr_accessor :TaskId
10623
+
10624
+ def initialize(taskid=nil)
10625
+ @TaskId = taskid
10626
+ end
10627
+
10628
+ def deserialize(params)
10629
+ @TaskId = params['TaskId']
10630
+ end
10631
+ end
10632
+
10633
+ # RestartDatahubTask返回参数结构体
10634
+ class RestartDatahubTaskResponse < TencentCloud::Common::AbstractModel
10635
+ # @param Result: 任务id
10636
+ # 注意:此字段可能返回 null,表示取不到有效值。
10637
+ # @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.DatahubTaskIdRes`
10638
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10639
+ # @type RequestId: String
10640
+
10641
+ attr_accessor :Result, :RequestId
10642
+
10643
+ def initialize(result=nil, requestid=nil)
10644
+ @Result = result
10645
+ @RequestId = requestid
10646
+ end
10647
+
10648
+ def deserialize(params)
10649
+ unless params['Result'].nil?
10650
+ @Result = DatahubTaskIdRes.new
10651
+ @Result.deserialize(params['Result'])
10652
+ end
10653
+ @RequestId = params['RequestId']
10654
+ end
10655
+ end
10656
+
10657
+ # ResumeDatahubTask请求参数结构体
10658
+ class ResumeDatahubTaskRequest < TencentCloud::Common::AbstractModel
10659
+ # @param TaskId: 任务id
10660
+ # @type TaskId: String
10661
+
10662
+ attr_accessor :TaskId
10663
+
10664
+ def initialize(taskid=nil)
10665
+ @TaskId = taskid
10666
+ end
10667
+
10668
+ def deserialize(params)
10669
+ @TaskId = params['TaskId']
10670
+ end
10671
+ end
10672
+
10673
+ # ResumeDatahubTask返回参数结构体
10674
+ class ResumeDatahubTaskResponse < TencentCloud::Common::AbstractModel
10675
+ # @param Result: 任务id
10676
+ # 注意:此字段可能返回 null,表示取不到有效值。
10677
+ # @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.DatahubTaskIdRes`
10678
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10679
+ # @type RequestId: String
10680
+
10681
+ attr_accessor :Result, :RequestId
10682
+
10683
+ def initialize(result=nil, requestid=nil)
10684
+ @Result = result
10685
+ @RequestId = requestid
10686
+ end
10687
+
10688
+ def deserialize(params)
10689
+ unless params['Result'].nil?
10690
+ @Result = DatahubTaskIdRes.new
10691
+ @Result.deserialize(params['Result'])
10692
+ end
10693
+ @RequestId = params['RequestId']
10694
+ end
10695
+ end
10696
+
10569
10697
  # 路由实体对象
10570
10698
  class Route < TencentCloud::Common::AbstractModel
10571
10699
  # @param AccessType: 实例接入方式
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ckafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1160
4
+ version: 3.0.1161
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-10-28 00:00:00.000000000 Z
11
+ date: 2025-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-ckafka.rb
37
- - lib/v20190819/models.rb
38
37
  - lib/v20190819/client.rb
38
+ - lib/v20190819/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: