tencentcloud-sdk-ckafka 3.0.614 → 3.0.616
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190819/models.rb +37 -2
- 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: 674794c8917a181a62e0f8267abe667e6341b9aa
|
4
|
+
data.tar.gz: 416f6ee2b9b0447f419b3b15356545d8d86e74bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10175742eade338118e74fac88dbf0476199560e6a1f5666ba0e911e083ea3eaf74ff065199445cc5e0da2c6312e112675b608b0c008b522c5549ae80791e57c
|
7
|
+
data.tar.gz: 6e6c142675a206e416d61d99336ac79385abc1baffc5645094b6ceae9cab51bcb7ae818784c700ac6125cb9e58f13e1650411b43dac5a0e0504b4d1e5f710182
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.616
|
data/lib/v20190819/models.rb
CHANGED
@@ -6333,10 +6333,14 @@ module TencentCloud
|
|
6333
6333
|
# @type DatabasePrimaryKey: String
|
6334
6334
|
# @param DropDlq: 死信队列
|
6335
6335
|
# @type DropDlq: :class:`Tencentcloud::Ckafka.v20190819.models.FailureParam`
|
6336
|
+
# @param RecordMappingList: 使用数据订阅格式导入 es 时,消息与 es 索引字段映射关系。不填默认为默认字段匹配
|
6337
|
+
# @type RecordMappingList: Array
|
6338
|
+
# @param DateField: 消息要映射为 es 索引中 @timestamp 的字段,如果当前配置为空,则使用消息的时间戳进行映射
|
6339
|
+
# @type DateField: String
|
6336
6340
|
|
6337
|
-
attr_accessor :Resource, :Port, :UserName, :Password, :SelfBuilt, :ServiceVip, :UniqVpcId, :DropInvalidMessage, :Index, :DateFormat, :ContentKey, :DropInvalidJsonMessage, :DocumentIdField, :IndexType, :DropCls, :DatabasePrimaryKey, :DropDlq
|
6341
|
+
attr_accessor :Resource, :Port, :UserName, :Password, :SelfBuilt, :ServiceVip, :UniqVpcId, :DropInvalidMessage, :Index, :DateFormat, :ContentKey, :DropInvalidJsonMessage, :DocumentIdField, :IndexType, :DropCls, :DatabasePrimaryKey, :DropDlq, :RecordMappingList, :DateField
|
6338
6342
|
|
6339
|
-
def initialize(resource=nil, port=nil, username=nil, password=nil, selfbuilt=nil, servicevip=nil, uniqvpcid=nil, dropinvalidmessage=nil, index=nil, dateformat=nil, contentkey=nil, dropinvalidjsonmessage=nil, documentidfield=nil, indextype=nil, dropcls=nil, databaseprimarykey=nil, dropdlq=nil)
|
6343
|
+
def initialize(resource=nil, port=nil, username=nil, password=nil, selfbuilt=nil, servicevip=nil, uniqvpcid=nil, dropinvalidmessage=nil, index=nil, dateformat=nil, contentkey=nil, dropinvalidjsonmessage=nil, documentidfield=nil, indextype=nil, dropcls=nil, databaseprimarykey=nil, dropdlq=nil, recordmappinglist=nil, datefield=nil)
|
6340
6344
|
@Resource = resource
|
6341
6345
|
@Port = port
|
6342
6346
|
@UserName = username
|
@@ -6354,6 +6358,8 @@ module TencentCloud
|
|
6354
6358
|
@DropCls = dropcls
|
6355
6359
|
@DatabasePrimaryKey = databaseprimarykey
|
6356
6360
|
@DropDlq = dropdlq
|
6361
|
+
@RecordMappingList = recordmappinglist
|
6362
|
+
@DateField = datefield
|
6357
6363
|
end
|
6358
6364
|
|
6359
6365
|
def deserialize(params)
|
@@ -6380,6 +6386,35 @@ module TencentCloud
|
|
6380
6386
|
@DropDlq = FailureParam.new
|
6381
6387
|
@DropDlq.deserialize(params['DropDlq'])
|
6382
6388
|
end
|
6389
|
+
unless params['RecordMappingList'].nil?
|
6390
|
+
@RecordMappingList = []
|
6391
|
+
params['RecordMappingList'].each do |i|
|
6392
|
+
esrecordmapping_tmp = EsRecordMapping.new
|
6393
|
+
esrecordmapping_tmp.deserialize(i)
|
6394
|
+
@RecordMappingList << esrecordmapping_tmp
|
6395
|
+
end
|
6396
|
+
end
|
6397
|
+
@DateField = params['DateField']
|
6398
|
+
end
|
6399
|
+
end
|
6400
|
+
|
6401
|
+
# 消息字段与 es 索引的映射关系
|
6402
|
+
class EsRecordMapping < TencentCloud::Common::AbstractModel
|
6403
|
+
# @param ColumnName: es 索引成员名称
|
6404
|
+
# @type ColumnName: String
|
6405
|
+
# @param JsonKey: 消息字段名称
|
6406
|
+
# @type JsonKey: String
|
6407
|
+
|
6408
|
+
attr_accessor :ColumnName, :JsonKey
|
6409
|
+
|
6410
|
+
def initialize(columnname=nil, jsonkey=nil)
|
6411
|
+
@ColumnName = columnname
|
6412
|
+
@JsonKey = jsonkey
|
6413
|
+
end
|
6414
|
+
|
6415
|
+
def deserialize(params)
|
6416
|
+
@ColumnName = params['ColumnName']
|
6417
|
+
@JsonKey = params['JsonKey']
|
6383
6418
|
end
|
6384
6419
|
end
|
6385
6420
|
|
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.
|
4
|
+
version: 3.0.616
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|