tencentcloud-sdk-ckafka 3.0.614 → 3.0.615

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190819/models.rb +37 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ebfd9529566977326de125f2e93a4f04073ba69
4
- data.tar.gz: 8207e7cce8c455adbf09586457c9c873e6e3cace
3
+ metadata.gz: 3b72f7ab7c0042a6fb86a2f88032eea6fd6ab90b
4
+ data.tar.gz: e511668a9bc0c9e886c4888d8b380cdb1fb53b00
5
5
  SHA512:
6
- metadata.gz: aeb79593b5111375c439d75a32098b7b7c4448a31acac3a9fb41a219e74d5c95f376e0bf4a0082db6a0fe3427445ba5beefa910bcb7dc87932c753a2ef996d09
7
- data.tar.gz: 3ccae4c2ca2880228f3c5ab553e5b83808ebff459ba2d632a0a8d45772153ec17336cc423bf3a93d3a65f0f626593809393cce852273faf736f5f16e95fb6960
6
+ metadata.gz: 11a8af7643f1d6805ab6013eb9c95c52657441d2e026f5b7c5afc0ebd9c885be9bdbf2d54680ec88bb468358dffbc415325760f3710e6239bd065a6a667b81d2
7
+ data.tar.gz: 34404f4b3282c1990132b0f4490cac0fd9b034ecc88830514599207c2e9aeeb5256ea8ead54c52b028459b8526ae66643f8fdbda44ab5d4131d2c73250818d90
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.614
1
+ 3.0.615
@@ -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.614
4
+ version: 3.0.615
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-17 00:00:00.000000000 Z
11
+ date: 2023-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common