tencentcloud-sdk-ckafka 3.0.905 → 3.0.906

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: 20c500b9b3bf1ebd4b747c6600c69d4a597ca6bb
4
- data.tar.gz: 65b29e359813e033eeb18580045d75241a0b4a67
3
+ metadata.gz: e5cde245fed6515996ca1d55cea7e09bf0b3cf99
4
+ data.tar.gz: 6cfbf315be1c36cfe6b87daf7963585067eec3c9
5
5
  SHA512:
6
- metadata.gz: 2cf16337a269dd8a8affb8d60d75de3ef62b2a433502aa5d61ef08105f991445663668733b676367f9acfa9847b7ce18491416980cbcaa3800f117748cced275
7
- data.tar.gz: 19170f1d5133ff49e35bb958530d9be68bc2d4f19964f95e2d6dc02033808f5fbb9247feaba21408d97a306d9f4db0fa12aa5b3feed1b983b6996eb9b0d35514
6
+ metadata.gz: 6445882ac3b66092e24d481512f94636a4c53233bd2a9c763d1cda11aed1267c85b3ef444222b83bb11199633931510ebd4797dbecceeb88476566f8db4d9f65
7
+ data.tar.gz: 5d52d79f2c1a18a544eb0a01bcf278c19d42bf40b34e6e5f15e46fdf730f9bc222c3a14464a37d17700abdad089cf62ac0538d03c1498ae4bb8a069c4c9c184a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.905
1
+ 3.0.906
@@ -1710,6 +1710,30 @@ module TencentCloud
1710
1710
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1711
1711
  end
1712
1712
 
1713
+ # 根据时间戳查询消息列表
1714
+
1715
+ # @param request: Request instance for FetchMessageListByTimestamp.
1716
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::FetchMessageListByTimestampRequest`
1717
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::FetchMessageListByTimestampResponse`
1718
+ def FetchMessageListByTimestamp(request)
1719
+ body = send_request('FetchMessageListByTimestamp', request.serialize)
1720
+ response = JSON.parse(body)
1721
+ if response['Response'].key?('Error') == false
1722
+ model = FetchMessageListByTimestampResponse.new
1723
+ model.deserialize(response['Response'])
1724
+ model
1725
+ else
1726
+ code = response['Response']['Error']['Code']
1727
+ message = response['Response']['Error']['Message']
1728
+ reqid = response['Response']['RequestId']
1729
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1730
+ end
1731
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1732
+ raise e
1733
+ rescue StandardError => e
1734
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1735
+ end
1736
+
1713
1737
  # Ckafka实例购买/续费询价
1714
1738
 
1715
1739
  # @param request: Request instance for InquireCkafkaPrice.
@@ -7013,6 +7013,65 @@ module TencentCloud
7013
7013
  end
7014
7014
  end
7015
7015
 
7016
+ # FetchMessageListByTimestamp请求参数结构体
7017
+ class FetchMessageListByTimestampRequest < TencentCloud::Common::AbstractModel
7018
+ # @param InstanceId: 实例Id
7019
+ # @type InstanceId: String
7020
+ # @param Topic: 主题名
7021
+ # @type Topic: String
7022
+ # @param Partition: 分区id
7023
+ # @type Partition: Integer
7024
+ # @param StartTime: 查询开始时间,13位时间戳
7025
+ # @type StartTime: Integer
7026
+ # @param SinglePartitionRecordNumber: 最大查询条数,默认20,最大20
7027
+ # @type SinglePartitionRecordNumber: Integer
7028
+
7029
+ attr_accessor :InstanceId, :Topic, :Partition, :StartTime, :SinglePartitionRecordNumber
7030
+
7031
+ def initialize(instanceid=nil, topic=nil, partition=nil, starttime=nil, singlepartitionrecordnumber=nil)
7032
+ @InstanceId = instanceid
7033
+ @Topic = topic
7034
+ @Partition = partition
7035
+ @StartTime = starttime
7036
+ @SinglePartitionRecordNumber = singlepartitionrecordnumber
7037
+ end
7038
+
7039
+ def deserialize(params)
7040
+ @InstanceId = params['InstanceId']
7041
+ @Topic = params['Topic']
7042
+ @Partition = params['Partition']
7043
+ @StartTime = params['StartTime']
7044
+ @SinglePartitionRecordNumber = params['SinglePartitionRecordNumber']
7045
+ end
7046
+ end
7047
+
7048
+ # FetchMessageListByTimestamp返回参数结构体
7049
+ class FetchMessageListByTimestampResponse < TencentCloud::Common::AbstractModel
7050
+ # @param Result: 返回结果。注意,列表中不返回具体的消息内容(key、value),如果需要查询具体消息内容,请使用FetchMessageByOffset接口
7051
+ # @type Result: Array
7052
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7053
+ # @type RequestId: String
7054
+
7055
+ attr_accessor :Result, :RequestId
7056
+
7057
+ def initialize(result=nil, requestid=nil)
7058
+ @Result = result
7059
+ @RequestId = requestid
7060
+ end
7061
+
7062
+ def deserialize(params)
7063
+ unless params['Result'].nil?
7064
+ @Result = []
7065
+ params['Result'].each do |i|
7066
+ consumerrecord_tmp = ConsumerRecord.new
7067
+ consumerrecord_tmp.deserialize(i)
7068
+ @Result << consumerrecord_tmp
7069
+ end
7070
+ end
7071
+ @RequestId = params['RequestId']
7072
+ end
7073
+ end
7074
+
7016
7075
  # 数据处理——处理链
7017
7076
  class FieldParam < TencentCloud::Common::AbstractModel
7018
7077
  # @param Analyse: 解析
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.905
4
+ version: 3.0.906
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-12 00:00:00.000000000 Z
11
+ date: 2024-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common