tencentcloud-sdk-ckafka 3.0.633 → 3.0.635

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 +74 -9
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc8e442e460bd6d911a0a03372bcb5402dfe915d
4
- data.tar.gz: df48d1b343339190fff5493798c7c8c87f55ae2e
3
+ metadata.gz: c3f66aecdeee366a986752b19e3b9f844fe17b24
4
+ data.tar.gz: 07e7e01135407b9d4cc4dd94ca0e101496717b07
5
5
  SHA512:
6
- metadata.gz: a4c9d08172914087a3497b7b58e2722b88ab9daaf67e018372709e89cfca7e48a6e3b095d2abaa739d2a85d9811983fd8f075ab4fa5dd89d14c0bc237444f98d
7
- data.tar.gz: e175d0fa8b230747a20a74fc1a4860ea4cbd46d4fc211d025d78cfbf698c47ba67fa1c6d514f32515db4a403bc1e6e32576f6c0ef4952ac7c8e3a3dae8606749
6
+ metadata.gz: d5892f6fe60fae03e26f36be4febe5423041c0de7759007168ef796db02d6493df1ae130f7986634146371aba48d709010854ce7b03e8cb4f1be86123ae53551
7
+ data.tar.gz: 955cf6092c8a93ec69f14d39decb818f37a8346a1971c52b10273e77f9cee79bcc9f12548d975e0ca5309b10d1664f047d9855f73bb89e34317dd637f8acc796
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.633
1
+ 3.0.635
@@ -865,39 +865,66 @@ module TencentCloud
865
865
  # ClickHouse类型入参
866
866
  class ClickHouseParam < TencentCloud::Common::AbstractModel
867
867
  # @param Cluster: ClickHouse的集群
868
+ # 注意:此字段可能返回 null,表示取不到有效值。
868
869
  # @type Cluster: String
869
870
  # @param Database: ClickHouse的数据库名
871
+ # 注意:此字段可能返回 null,表示取不到有效值。
870
872
  # @type Database: String
871
873
  # @param Table: ClickHouse的数据表名
874
+ # 注意:此字段可能返回 null,表示取不到有效值。
872
875
  # @type Table: String
873
876
  # @param Schema: ClickHouse的schema
877
+ # 注意:此字段可能返回 null,表示取不到有效值。
874
878
  # @type Schema: Array
875
879
  # @param Resource: 实例资源
880
+ # 注意:此字段可能返回 null,表示取不到有效值。
876
881
  # @type Resource: String
877
882
  # @param Ip: ClickHouse的连接ip
883
+ # 注意:此字段可能返回 null,表示取不到有效值。
878
884
  # @type Ip: String
879
885
  # @param Port: ClickHouse的连接port
886
+ # 注意:此字段可能返回 null,表示取不到有效值。
880
887
  # @type Port: Integer
881
888
  # @param UserName: ClickHouse的用户名
889
+ # 注意:此字段可能返回 null,表示取不到有效值。
882
890
  # @type UserName: String
883
891
  # @param Password: ClickHouse的密码
892
+ # 注意:此字段可能返回 null,表示取不到有效值。
884
893
  # @type Password: String
885
894
  # @param ServiceVip: 实例vip
895
+ # 注意:此字段可能返回 null,表示取不到有效值。
886
896
  # @type ServiceVip: String
887
897
  # @param UniqVpcId: 实例的vpcId
898
+ # 注意:此字段可能返回 null,表示取不到有效值。
888
899
  # @type UniqVpcId: String
889
900
  # @param SelfBuilt: 是否为自建集群
901
+ # 注意:此字段可能返回 null,表示取不到有效值。
890
902
  # @type SelfBuilt: Boolean
891
903
  # @param DropInvalidMessage: ClickHouse是否抛弃解析失败的消息,默认为true
904
+ # 注意:此字段可能返回 null,表示取不到有效值。
892
905
  # @type DropInvalidMessage: Boolean
893
906
  # @param Type: ClickHouse 类型,emr-clickhouse : "emr";cdw-clickhouse : "cdwch";自建 : ""
907
+ # 注意:此字段可能返回 null,表示取不到有效值。
894
908
  # @type Type: String
895
909
  # @param DropCls: 当设置成员参数DropInvalidMessageToCls设置为true时,DropInvalidMessage参数失效
910
+ # 注意:此字段可能返回 null,表示取不到有效值。
896
911
  # @type DropCls: :class:`Tencentcloud::Ckafka.v20190819.models.DropCls`
912
+ # @param BatchSize: 每批次投递到 ClickHouse 表消息数量,默认为 1000 条。
913
+ # 提高该参数值,有利于减少往 ClickHouse 投递的次数,但在错误消息过多及网络不稳定等极端情况下时,可能导致频繁重试影响效率。
914
+ # 注意:此字段可能返回 null,表示取不到有效值。
915
+ # @type BatchSize: Integer
916
+ # @param ConsumerFetchMinBytes: 每次从 topic 中拉取消息大小,默认为 1MB,即至少要从 topic 中批量拉取 1MB 消息,才进行数据投递到 ClickHouse 操作。
917
+ # 提高该参数值,有利于减少往 ClickHouse 投递的次数,但在错误消息过多及网络不稳定等极端情况下时,可能导致频繁重试影响效率。
918
+ # 注意:此字段可能返回 null,表示取不到有效值。
919
+ # @type ConsumerFetchMinBytes: Integer
920
+ # @param ConsumerFetchMaxWaitMs: 每次从 topic 拉取消息最大等待时间,当超过当前最大等待时间时,即使没有拉取到 ConsumerFetchMinBytes 大小,也将进行 ClickHouse 投递操作。
921
+ # 提高该参数值,有利于减少往 ClickHouse 投递的次数,但在错误消息过多及网络不稳定等极端情况下时,可能导致频繁重试影响效率。
922
+ # 注意:此字段可能返回 null,表示取不到有效值。
923
+ # @type ConsumerFetchMaxWaitMs: Integer
897
924
 
898
- attr_accessor :Cluster, :Database, :Table, :Schema, :Resource, :Ip, :Port, :UserName, :Password, :ServiceVip, :UniqVpcId, :SelfBuilt, :DropInvalidMessage, :Type, :DropCls
925
+ attr_accessor :Cluster, :Database, :Table, :Schema, :Resource, :Ip, :Port, :UserName, :Password, :ServiceVip, :UniqVpcId, :SelfBuilt, :DropInvalidMessage, :Type, :DropCls, :BatchSize, :ConsumerFetchMinBytes, :ConsumerFetchMaxWaitMs
899
926
 
900
- def initialize(cluster=nil, database=nil, table=nil, schema=nil, resource=nil, ip=nil, port=nil, username=nil, password=nil, servicevip=nil, uniqvpcid=nil, selfbuilt=nil, dropinvalidmessage=nil, type=nil, dropcls=nil)
927
+ def initialize(cluster=nil, database=nil, table=nil, schema=nil, resource=nil, ip=nil, port=nil, username=nil, password=nil, servicevip=nil, uniqvpcid=nil, selfbuilt=nil, dropinvalidmessage=nil, type=nil, dropcls=nil, batchsize=nil, consumerfetchminbytes=nil, consumerfetchmaxwaitms=nil)
901
928
  @Cluster = cluster
902
929
  @Database = database
903
930
  @Table = table
@@ -913,6 +940,9 @@ module TencentCloud
913
940
  @DropInvalidMessage = dropinvalidmessage
914
941
  @Type = type
915
942
  @DropCls = dropcls
943
+ @BatchSize = batchsize
944
+ @ConsumerFetchMinBytes = consumerfetchminbytes
945
+ @ConsumerFetchMaxWaitMs = consumerfetchmaxwaitms
916
946
  end
917
947
 
918
948
  def deserialize(params)
@@ -941,6 +971,9 @@ module TencentCloud
941
971
  @DropCls = DropCls.new
942
972
  @DropCls.deserialize(params['DropCls'])
943
973
  end
974
+ @BatchSize = params['BatchSize']
975
+ @ConsumerFetchMinBytes = params['ConsumerFetchMinBytes']
976
+ @ConsumerFetchMaxWaitMs = params['ConsumerFetchMaxWaitMs']
944
977
  end
945
978
  end
946
979
 
@@ -2270,8 +2303,8 @@ module TencentCloud
2270
2303
 
2271
2304
  attr_accessor :ReturnCode, :ReturnMessage, :Data, :DeleteRouteTimestamp
2272
2305
  extend Gem::Deprecate
2273
- deprecate :DeleteRouteTimestamp, :none, 2023, 7
2274
- deprecate :DeleteRouteTimestamp=, :none, 2023, 7
2306
+ deprecate :DeleteRouteTimestamp, :none, 2023, 8
2307
+ deprecate :DeleteRouteTimestamp=, :none, 2023, 8
2275
2308
 
2276
2309
  def initialize(returncode=nil, returnmessage=nil, data=nil, deleteroutetimestamp=nil)
2277
2310
  @ReturnCode = returncode
@@ -6337,10 +6370,12 @@ module TencentCloud
6337
6370
  # @type RecordMappingList: Array
6338
6371
  # @param DateField: 消息要映射为 es 索引中 @timestamp 的字段,如果当前配置为空,则使用消息的时间戳进行映射
6339
6372
  # @type DateField: String
6373
+ # @param RecordMappingMode: 用来区分当前索引映射,属于新建索引还是存量索引。"EXIST_MAPPING":从存量索引中选择;"NEW_MAPPING":新建索引
6374
+ # @type RecordMappingMode: String
6340
6375
 
6341
- attr_accessor :Resource, :Port, :UserName, :Password, :SelfBuilt, :ServiceVip, :UniqVpcId, :DropInvalidMessage, :Index, :DateFormat, :ContentKey, :DropInvalidJsonMessage, :DocumentIdField, :IndexType, :DropCls, :DatabasePrimaryKey, :DropDlq, :RecordMappingList, :DateField
6376
+ attr_accessor :Resource, :Port, :UserName, :Password, :SelfBuilt, :ServiceVip, :UniqVpcId, :DropInvalidMessage, :Index, :DateFormat, :ContentKey, :DropInvalidJsonMessage, :DocumentIdField, :IndexType, :DropCls, :DatabasePrimaryKey, :DropDlq, :RecordMappingList, :DateField, :RecordMappingMode
6342
6377
 
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)
6378
+ 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, recordmappingmode=nil)
6344
6379
  @Resource = resource
6345
6380
  @Port = port
6346
6381
  @UserName = username
@@ -6360,6 +6395,7 @@ module TencentCloud
6360
6395
  @DropDlq = dropdlq
6361
6396
  @RecordMappingList = recordmappinglist
6362
6397
  @DateField = datefield
6398
+ @RecordMappingMode = recordmappingmode
6363
6399
  end
6364
6400
 
6365
6401
  def deserialize(params)
@@ -6395,6 +6431,7 @@ module TencentCloud
6395
6431
  end
6396
6432
  end
6397
6433
  @DateField = params['DateField']
6434
+ @RecordMappingMode = params['RecordMappingMode']
6398
6435
  end
6399
6436
  end
6400
6437
 
@@ -7557,10 +7594,13 @@ module TencentCloud
7557
7594
  # @param DynamicDiskConfig: 动态硬盘扩容策略
7558
7595
  # 注意:此字段可能返回 null,表示取不到有效值。
7559
7596
  # @type DynamicDiskConfig: :class:`Tencentcloud::Ckafka.v20190819.models.DynamicDiskConfig`
7597
+ # @param InstanceChargeType: 实例计费类型
7598
+ # 注意:此字段可能返回 null,表示取不到有效值。
7599
+ # @type InstanceChargeType: String
7560
7600
 
7561
- attr_accessor :InstanceId, :InstanceName, :VipList, :Vip, :Vport, :Status, :Bandwidth, :DiskSize, :ZoneId, :VpcId, :SubnetId, :Healthy, :HealthyMessage, :CreateTime, :MsgRetentionTime, :Config, :RemainderPartitions, :RemainderTopics, :CreatedPartitions, :CreatedTopics, :Tags, :ExpireTime, :ZoneIds, :Version, :MaxGroupNum, :Cvm, :InstanceType, :Features, :RetentionTimeConfig, :MaxConnection, :PublicNetwork, :DeleteRouteTimestamp, :RemainingPartitions, :RemainingTopics, :DynamicDiskConfig
7601
+ attr_accessor :InstanceId, :InstanceName, :VipList, :Vip, :Vport, :Status, :Bandwidth, :DiskSize, :ZoneId, :VpcId, :SubnetId, :Healthy, :HealthyMessage, :CreateTime, :MsgRetentionTime, :Config, :RemainderPartitions, :RemainderTopics, :CreatedPartitions, :CreatedTopics, :Tags, :ExpireTime, :ZoneIds, :Version, :MaxGroupNum, :Cvm, :InstanceType, :Features, :RetentionTimeConfig, :MaxConnection, :PublicNetwork, :DeleteRouteTimestamp, :RemainingPartitions, :RemainingTopics, :DynamicDiskConfig, :InstanceChargeType
7562
7602
 
7563
- def initialize(instanceid=nil, instancename=nil, viplist=nil, vip=nil, vport=nil, status=nil, bandwidth=nil, disksize=nil, zoneid=nil, vpcid=nil, subnetid=nil, healthy=nil, healthymessage=nil, createtime=nil, msgretentiontime=nil, config=nil, remainderpartitions=nil, remaindertopics=nil, createdpartitions=nil, createdtopics=nil, tags=nil, expiretime=nil, zoneids=nil, version=nil, maxgroupnum=nil, cvm=nil, instancetype=nil, features=nil, retentiontimeconfig=nil, maxconnection=nil, publicnetwork=nil, deleteroutetimestamp=nil, remainingpartitions=nil, remainingtopics=nil, dynamicdiskconfig=nil)
7603
+ def initialize(instanceid=nil, instancename=nil, viplist=nil, vip=nil, vport=nil, status=nil, bandwidth=nil, disksize=nil, zoneid=nil, vpcid=nil, subnetid=nil, healthy=nil, healthymessage=nil, createtime=nil, msgretentiontime=nil, config=nil, remainderpartitions=nil, remaindertopics=nil, createdpartitions=nil, createdtopics=nil, tags=nil, expiretime=nil, zoneids=nil, version=nil, maxgroupnum=nil, cvm=nil, instancetype=nil, features=nil, retentiontimeconfig=nil, maxconnection=nil, publicnetwork=nil, deleteroutetimestamp=nil, remainingpartitions=nil, remainingtopics=nil, dynamicdiskconfig=nil, instancechargetype=nil)
7564
7604
  @InstanceId = instanceid
7565
7605
  @InstanceName = instancename
7566
7606
  @VipList = viplist
@@ -7596,6 +7636,7 @@ module TencentCloud
7596
7636
  @RemainingPartitions = remainingpartitions
7597
7637
  @RemainingTopics = remainingtopics
7598
7638
  @DynamicDiskConfig = dynamicdiskconfig
7639
+ @InstanceChargeType = instancechargetype
7599
7640
  end
7600
7641
 
7601
7642
  def deserialize(params)
@@ -7657,6 +7698,7 @@ module TencentCloud
7657
7698
  @DynamicDiskConfig = DynamicDiskConfig.new
7658
7699
  @DynamicDiskConfig.deserialize(params['DynamicDiskConfig'])
7659
7700
  end
7701
+ @InstanceChargeType = params['InstanceChargeType']
7660
7702
  end
7661
7703
  end
7662
7704
 
@@ -9910,7 +9952,7 @@ module TencentCloud
9910
9952
  end
9911
9953
 
9912
9954
  # RenewCkafkaInstance接口出参bigDealIds
9913
- class RenewCkafkaInstanceResponse < TencentCloud::Common::AbstractModel
9955
+ class RenewCkafkaInstanceResp < TencentCloud::Common::AbstractModel
9914
9956
  # @param BigDealId: 订单号
9915
9957
  # 注意:此字段可能返回 null,表示取不到有效值。
9916
9958
  # @type BigDealId: String
@@ -9931,6 +9973,29 @@ module TencentCloud
9931
9973
  end
9932
9974
  end
9933
9975
 
9976
+ # RenewCkafkaInstance返回参数结构体
9977
+ class RenewCkafkaInstanceResponse < TencentCloud::Common::AbstractModel
9978
+ # @param Result: 返回值
9979
+ # @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.RenewCkafkaInstanceResp`
9980
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9981
+ # @type RequestId: String
9982
+
9983
+ attr_accessor :Result, :RequestId
9984
+
9985
+ def initialize(result=nil, requestid=nil)
9986
+ @Result = result
9987
+ @RequestId = requestid
9988
+ end
9989
+
9990
+ def deserialize(params)
9991
+ unless params['Result'].nil?
9992
+ @Result = RenewCkafkaInstanceResp.new
9993
+ @Result.deserialize(params['Result'])
9994
+ end
9995
+ @RequestId = params['RequestId']
9996
+ end
9997
+ end
9998
+
9934
9999
  # 数据处理——Value处理参数——替换参数
9935
10000
  class ReplaceParam < TencentCloud::Common::AbstractModel
9936
10001
  # @param OldValue: 被替换值
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.633
4
+ version: 3.0.635
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-08-10 00:00:00.000000000 Z
11
+ date: 2023-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common