tencentcloud-sdk-lke 3.0.896 → 3.0.898

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/v20231130/models.rb +122 -13
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 091c5d61d9f06ebf35296e68a60d70413a288332
4
- data.tar.gz: b6d01b5d18763d09aed3ed08995ee110b7fb6dc8
3
+ metadata.gz: 87c356f8ae60dd156689d3686bda5e5c0f828b32
4
+ data.tar.gz: e979249648618078ecfa36a84fd4437d10cf9892
5
5
  SHA512:
6
- metadata.gz: 1b773b2117ea850439edc68b9e0d14c0eadd9d8898922c4551230fd76b3a716cec16d15f1cf3435c06fb597e63d592767e174534d246c355c382270e4c993525
7
- data.tar.gz: 9bb0fb845075f6d290c0039a9fff441544652935299002f684465a072243fa3e58130e914bd43e3f36f9219ddb823e6c440c824e17bd6c9faabe453d6c8f293a
6
+ metadata.gz: a7733cfd495caa5a00fe79d4bceb6bb326db0c8777f234365fe85fed9475a355079fd38e2baabcbc7610e19eb5501b5cc4a8ca97620382406bb254185729bd40
7
+ data.tar.gz: 48850270f3f6dea07d0a53a2a34fba111756b811992c8d326a0c31fec9559c7535969fab2659f6af2f120aed6f26232bc0e7b7b8ba020e65c957a9f6de772f41
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.896
1
+ 3.0.898
@@ -652,7 +652,7 @@ module TencentCloud
652
652
 
653
653
  # CreateApp请求参数结构体
654
654
  class CreateAppRequest < TencentCloud::Common::AbstractModel
655
- # @param AppType: 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取
655
+ # @param AppType: 应用类型;knowledge_qa-知识问答管理
656
656
  # @type AppType: String
657
657
  # @param BaseConfig: 应用基础配置
658
658
  # @type BaseConfig: :class:`Tencentcloud::Lke.v20231130.models.BaseConfig`
@@ -879,10 +879,12 @@ module TencentCloud
879
879
  # @type ExpireStart: String
880
880
  # @param ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
881
881
  # @type ExpireEnd: String
882
+ # @param SimilarQuestions: 相似问内容
883
+ # @type SimilarQuestions: Array
882
884
 
883
- attr_accessor :BotBizId, :Question, :Answer, :AttrRange, :CustomParam, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd
885
+ attr_accessor :BotBizId, :Question, :Answer, :AttrRange, :CustomParam, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestions
884
886
 
885
- def initialize(botbizid=nil, question=nil, answer=nil, attrrange=nil, customparam=nil, attrlabels=nil, docbizid=nil, catebizid=nil, expirestart=nil, expireend=nil)
887
+ def initialize(botbizid=nil, question=nil, answer=nil, attrrange=nil, customparam=nil, attrlabels=nil, docbizid=nil, catebizid=nil, expirestart=nil, expireend=nil, similarquestions=nil)
886
888
  @BotBizId = botbizid
887
889
  @Question = question
888
890
  @Answer = answer
@@ -893,6 +895,7 @@ module TencentCloud
893
895
  @CateBizId = catebizid
894
896
  @ExpireStart = expirestart
895
897
  @ExpireEnd = expireend
898
+ @SimilarQuestions = similarquestions
896
899
  end
897
900
 
898
901
  def deserialize(params)
@@ -913,6 +916,7 @@ module TencentCloud
913
916
  @CateBizId = params['CateBizId']
914
917
  @ExpireStart = params['ExpireStart']
915
918
  @ExpireEnd = params['ExpireEnd']
919
+ @SimilarQuestions = params['SimilarQuestions']
916
920
  end
917
921
  end
918
922
 
@@ -1790,12 +1794,14 @@ module TencentCloud
1790
1794
  # @type ExpireStart: String
1791
1795
  # @param ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
1792
1796
  # @type ExpireEnd: String
1797
+ # @param SimilarQuestions: 相似问列表信息
1798
+ # @type SimilarQuestions: Array
1793
1799
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1794
1800
  # @type RequestId: String
1795
1801
 
1796
- attr_accessor :QaBizId, :Question, :Answer, :CustomParam, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :CateBizId, :IsAllowAccept, :IsAllowDelete, :IsAllowEdit, :DocBizId, :FileName, :FileType, :SegmentBizId, :PageContent, :Highlights, :OrgData, :AttrRange, :AttrLabels, :ExpireStart, :ExpireEnd, :RequestId
1802
+ attr_accessor :QaBizId, :Question, :Answer, :CustomParam, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :CateBizId, :IsAllowAccept, :IsAllowDelete, :IsAllowEdit, :DocBizId, :FileName, :FileType, :SegmentBizId, :PageContent, :Highlights, :OrgData, :AttrRange, :AttrLabels, :ExpireStart, :ExpireEnd, :SimilarQuestions, :RequestId
1797
1803
 
1798
- def initialize(qabizid=nil, question=nil, answer=nil, customparam=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, catebizid=nil, isallowaccept=nil, isallowdelete=nil, isallowedit=nil, docbizid=nil, filename=nil, filetype=nil, segmentbizid=nil, pagecontent=nil, highlights=nil, orgdata=nil, attrrange=nil, attrlabels=nil, expirestart=nil, expireend=nil, requestid=nil)
1804
+ def initialize(qabizid=nil, question=nil, answer=nil, customparam=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, catebizid=nil, isallowaccept=nil, isallowdelete=nil, isallowedit=nil, docbizid=nil, filename=nil, filetype=nil, segmentbizid=nil, pagecontent=nil, highlights=nil, orgdata=nil, attrrange=nil, attrlabels=nil, expirestart=nil, expireend=nil, similarquestions=nil, requestid=nil)
1799
1805
  @QaBizId = qabizid
1800
1806
  @Question = question
1801
1807
  @Answer = answer
@@ -1820,6 +1826,7 @@ module TencentCloud
1820
1826
  @AttrLabels = attrlabels
1821
1827
  @ExpireStart = expirestart
1822
1828
  @ExpireEnd = expireend
1829
+ @SimilarQuestions = similarquestions
1823
1830
  @RequestId = requestid
1824
1831
  end
1825
1832
 
@@ -1862,6 +1869,14 @@ module TencentCloud
1862
1869
  end
1863
1870
  @ExpireStart = params['ExpireStart']
1864
1871
  @ExpireEnd = params['ExpireEnd']
1872
+ unless params['SimilarQuestions'].nil?
1873
+ @SimilarQuestions = []
1874
+ params['SimilarQuestions'].each do |i|
1875
+ similarquestion_tmp = SimilarQuestion.new
1876
+ similarquestion_tmp.deserialize(i)
1877
+ @SimilarQuestions << similarquestion_tmp
1878
+ end
1879
+ end
1865
1880
  @RequestId = params['RequestId']
1866
1881
  end
1867
1882
  end
@@ -4307,7 +4322,7 @@ module TencentCloud
4307
4322
 
4308
4323
  # ListQA请求参数结构体
4309
4324
  class ListQARequest < TencentCloud::Common::AbstractModel
4310
- # @param BotBizId: 机器人ID
4325
+ # @param BotBizId: 应用ID
4311
4326
  # @type BotBizId: String
4312
4327
  # @param PageNumber: 页码
4313
4328
  # @type PageNumber: Integer
@@ -4317,7 +4332,7 @@ module TencentCloud
4317
4332
  # @type Query: String
4318
4333
  # @param AcceptStatus: 校验状态(1未校验2采纳3不采纳)
4319
4334
  # @type AcceptStatus: Array
4320
- # @param ReleaseStatus: 发布状态(2待发布 3发布中 4已发布 7审核中 8审核失败 9人工申述中 11人工申述失败)
4335
+ # @param ReleaseStatus: 发布状态(2待发布 3发布中 4已发布 7审核中 8审核失败 9人工申述中 11人工申述失败 12已过期 13超量失效 14超量失效恢复)
4321
4336
  # @type ReleaseStatus: Array
4322
4337
  # @param DocBizId: 文档ID
4323
4338
  # @type DocBizId: String
@@ -4438,10 +4453,20 @@ module TencentCloud
4438
4453
  # @type FileType: String
4439
4454
  # @param QaCharSize: 问答字符数
4440
4455
  # @type QaCharSize: String
4456
+ # @param ExpireStart: 有效开始时间,unix时间戳
4457
+ # @type ExpireStart: String
4458
+ # @param ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
4459
+ # @type ExpireEnd: String
4460
+ # @param AttrRange: 属性标签适用范围 1:全部,2:按条件
4461
+ # @type AttrRange: Integer
4462
+ # @param AttrLabels: 属性标签
4463
+ # @type AttrLabels: Array
4464
+ # @param SimilarQuestionNum: 相似问个数
4465
+ # @type SimilarQuestionNum: Integer
4441
4466
 
4442
- attr_accessor :QaBizId, :Question, :Answer, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :DocBizId, :CreateTime, :IsAllowEdit, :IsAllowDelete, :IsAllowAccept, :FileName, :FileType, :QaCharSize
4467
+ attr_accessor :QaBizId, :Question, :Answer, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :DocBizId, :CreateTime, :IsAllowEdit, :IsAllowDelete, :IsAllowAccept, :FileName, :FileType, :QaCharSize, :ExpireStart, :ExpireEnd, :AttrRange, :AttrLabels, :SimilarQuestionNum
4443
4468
 
4444
- def initialize(qabizid=nil, question=nil, answer=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, docbizid=nil, createtime=nil, isallowedit=nil, isallowdelete=nil, isallowaccept=nil, filename=nil, filetype=nil, qacharsize=nil)
4469
+ def initialize(qabizid=nil, question=nil, answer=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, docbizid=nil, createtime=nil, isallowedit=nil, isallowdelete=nil, isallowaccept=nil, filename=nil, filetype=nil, qacharsize=nil, expirestart=nil, expireend=nil, attrrange=nil, attrlabels=nil, similarquestionnum=nil)
4445
4470
  @QaBizId = qabizid
4446
4471
  @Question = question
4447
4472
  @Answer = answer
@@ -4458,6 +4483,11 @@ module TencentCloud
4458
4483
  @FileName = filename
4459
4484
  @FileType = filetype
4460
4485
  @QaCharSize = qacharsize
4486
+ @ExpireStart = expirestart
4487
+ @ExpireEnd = expireend
4488
+ @AttrRange = attrrange
4489
+ @AttrLabels = attrlabels
4490
+ @SimilarQuestionNum = similarquestionnum
4461
4491
  end
4462
4492
 
4463
4493
  def deserialize(params)
@@ -4477,6 +4507,18 @@ module TencentCloud
4477
4507
  @FileName = params['FileName']
4478
4508
  @FileType = params['FileType']
4479
4509
  @QaCharSize = params['QaCharSize']
4510
+ @ExpireStart = params['ExpireStart']
4511
+ @ExpireEnd = params['ExpireEnd']
4512
+ @AttrRange = params['AttrRange']
4513
+ unless params['AttrLabels'].nil?
4514
+ @AttrLabels = []
4515
+ params['AttrLabels'].each do |i|
4516
+ attrlabel_tmp = AttrLabel.new
4517
+ attrlabel_tmp.deserialize(i)
4518
+ @AttrLabels << attrlabel_tmp
4519
+ end
4520
+ end
4521
+ @SimilarQuestionNum = params['SimilarQuestionNum']
4480
4522
  end
4481
4523
  end
4482
4524
 
@@ -5515,10 +5557,12 @@ module TencentCloud
5515
5557
  # @type ExpireStart: String
5516
5558
  # @param ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
5517
5559
  # @type ExpireEnd: String
5560
+ # @param SimilarQuestionModify: 相似问修改信息(相似问没有修改则不传)
5561
+ # @type SimilarQuestionModify: :class:`Tencentcloud::Lke.v20231130.models.SimilarQuestionModify`
5518
5562
 
5519
- attr_accessor :BotBizId, :QaBizId, :Question, :Answer, :CustomParam, :AttrRange, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd
5563
+ attr_accessor :BotBizId, :QaBizId, :Question, :Answer, :CustomParam, :AttrRange, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestionModify
5520
5564
 
5521
- def initialize(botbizid=nil, qabizid=nil, question=nil, answer=nil, customparam=nil, attrrange=nil, attrlabels=nil, docbizid=nil, catebizid=nil, expirestart=nil, expireend=nil)
5565
+ def initialize(botbizid=nil, qabizid=nil, question=nil, answer=nil, customparam=nil, attrrange=nil, attrlabels=nil, docbizid=nil, catebizid=nil, expirestart=nil, expireend=nil, similarquestionmodify=nil)
5522
5566
  @BotBizId = botbizid
5523
5567
  @QaBizId = qabizid
5524
5568
  @Question = question
@@ -5530,6 +5574,7 @@ module TencentCloud
5530
5574
  @CateBizId = catebizid
5531
5575
  @ExpireStart = expirestart
5532
5576
  @ExpireEnd = expireend
5577
+ @SimilarQuestionModify = similarquestionmodify
5533
5578
  end
5534
5579
 
5535
5580
  def deserialize(params)
@@ -5551,6 +5596,10 @@ module TencentCloud
5551
5596
  @CateBizId = params['CateBizId']
5552
5597
  @ExpireStart = params['ExpireStart']
5553
5598
  @ExpireEnd = params['ExpireEnd']
5599
+ unless params['SimilarQuestionModify'].nil?
5600
+ @SimilarQuestionModify = SimilarQuestionModify.new
5601
+ @SimilarQuestionModify.deserialize(params['SimilarQuestionModify'])
5602
+ end
5554
5603
  end
5555
5604
  end
5556
5605
 
@@ -5870,8 +5919,8 @@ module TencentCloud
5870
5919
 
5871
5920
  attr_accessor :Name, :Url, :TaskId, :Policy, :Operate
5872
5921
  extend Gem::Deprecate
5873
- deprecate :Operate, :none, 2024, 8
5874
- deprecate :Operate=, :none, 2024, 8
5922
+ deprecate :Operate, :none, 2024, 9
5923
+ deprecate :Operate=, :none, 2024, 9
5875
5924
 
5876
5925
  def initialize(name=nil, url=nil, taskid=nil, policy=nil, operate=nil)
5877
5926
  @Name = name
@@ -7074,6 +7123,66 @@ module TencentCloud
7074
7123
  end
7075
7124
  end
7076
7125
 
7126
+ # 相似问信息
7127
+ class SimilarQuestion < TencentCloud::Common::AbstractModel
7128
+ # @param SimBizId: 相似问ID
7129
+ # 注意:此字段可能返回 null,表示取不到有效值。
7130
+ # @type SimBizId: String
7131
+ # @param Question: 相似问内容
7132
+ # 注意:此字段可能返回 null,表示取不到有效值。
7133
+ # @type Question: String
7134
+
7135
+ attr_accessor :SimBizId, :Question
7136
+
7137
+ def initialize(simbizid=nil, question=nil)
7138
+ @SimBizId = simbizid
7139
+ @Question = question
7140
+ end
7141
+
7142
+ def deserialize(params)
7143
+ @SimBizId = params['SimBizId']
7144
+ @Question = params['Question']
7145
+ end
7146
+ end
7147
+
7148
+ # 相似问修改(更新)信息
7149
+ class SimilarQuestionModify < TencentCloud::Common::AbstractModel
7150
+ # @param AddQuestions: 需要添加的相似问(内容)列表
7151
+ # @type AddQuestions: Array
7152
+ # @param UpdateQuestions: 需要更新的相似问列表
7153
+ # @type UpdateQuestions: Array
7154
+ # @param DeleteQuestions: 需要删除的相似问列表
7155
+ # @type DeleteQuestions: Array
7156
+
7157
+ attr_accessor :AddQuestions, :UpdateQuestions, :DeleteQuestions
7158
+
7159
+ def initialize(addquestions=nil, updatequestions=nil, deletequestions=nil)
7160
+ @AddQuestions = addquestions
7161
+ @UpdateQuestions = updatequestions
7162
+ @DeleteQuestions = deletequestions
7163
+ end
7164
+
7165
+ def deserialize(params)
7166
+ @AddQuestions = params['AddQuestions']
7167
+ unless params['UpdateQuestions'].nil?
7168
+ @UpdateQuestions = []
7169
+ params['UpdateQuestions'].each do |i|
7170
+ similarquestion_tmp = SimilarQuestion.new
7171
+ similarquestion_tmp.deserialize(i)
7172
+ @UpdateQuestions << similarquestion_tmp
7173
+ end
7174
+ end
7175
+ unless params['DeleteQuestions'].nil?
7176
+ @DeleteQuestions = []
7177
+ params['DeleteQuestions'].each do |i|
7178
+ similarquestion_tmp = SimilarQuestion.new
7179
+ similarquestion_tmp.deserialize(i)
7180
+ @DeleteQuestions << similarquestion_tmp
7181
+ end
7182
+ end
7183
+ end
7184
+ end
7185
+
7077
7186
  # StopDocParse请求参数结构体
7078
7187
  class StopDocParseRequest < TencentCloud::Common::AbstractModel
7079
7188
  # @param BotBizId: 应用ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lke
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.896
4
+ version: 3.0.898
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-08-28 00:00:00.000000000 Z
11
+ date: 2024-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common