tencentcloud-sdk-lke 3.0.1183 → 3.0.1187

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: a1356d0ab24df0e3f1f59981e30cef4de66eb108
4
- data.tar.gz: 8f8e8d89f18d33bb75c8f1fae4b630b4a90e5f8f
3
+ metadata.gz: ba7193512f7afccc8042f69f9d7baa06f2cffb85
4
+ data.tar.gz: d6aaed39ae6f084f99abf19f9ed26eccb1f09cf7
5
5
  SHA512:
6
- metadata.gz: a477bee04ffd16c3604f3d53f677632d6c91272910e798a8be6bfb65a5865128d3c77ff8c9f2b060fa6ed3e15c5a09f9103761f1910025a83ebfa72abcfaa8cd
7
- data.tar.gz: 68f53275273262e61790b86b4dd25a93182afca595c6ce0eda067e43755da84ecf075f8039b73a17e42f7fe3eea5c3316b03f492f02144c2e7e3183eac244a62
6
+ metadata.gz: e9a4e3f44b246833e38c058cec82d4937e0f15d367aa4b2fbbf244813f431ff656f1ef2ff30312c8588ae765b7b43f2bd74e79ba65acf0959c5eadb2d60d68dc
7
+ data.tar.gz: 1b5385cef3e28e75b5e9eb4c61a3de80c27b38ecc3b6e9db7628c7958c06b7c15a2d048a64e4d3650fc46ebecce1db432cbdd33df1bae2f51c99ec29a4f9513b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1183
1
+ 3.0.1187
@@ -150,6 +150,9 @@ module TencentCloud
150
150
  end
151
151
 
152
152
  # 录入问答
153
+ # 知识库相关背景知识介绍
154
+ # “知识库检索范围”文档:https://cloud.tencent.com/document/product/1759/112704
155
+ # “标签”文档:https://cloud.tencent.com/document/product/1759/112956
153
156
 
154
157
  # @param request: Request instance for CreateQA.
155
158
  # @type request: :class:`Tencentcloud::lke::V20231130::CreateQARequest`
@@ -1688,6 +1691,9 @@ module TencentCloud
1688
1691
  end
1689
1692
 
1690
1693
  # 问答列表
1694
+ # 知识库相关背景知识介绍
1695
+ # “知识库检索范围”文档:https://cloud.tencent.com/document/product/1759/112704
1696
+ # “标签”文档:https://cloud.tencent.com/document/product/1759/112956
1691
1697
 
1692
1698
  # @param request: Request instance for ListQA.
1693
1699
  # @type request: :class:`Tencentcloud::lke::V20231130::ListQARequest`
@@ -2533,6 +2539,9 @@ module TencentCloud
2533
2539
  end
2534
2540
 
2535
2541
  # 校验问答
2542
+ # 知识库相关背景知识介绍
2543
+ # “知识库检索范围”文档:https://cloud.tencent.com/document/product/1759/112704
2544
+ # “标签”文档:https://cloud.tencent.com/document/product/1759/112956
2536
2545
 
2537
2546
  # @param request: Request instance for VerifyQA.
2538
2547
  # @type request: :class:`Tencentcloud::lke::V20231130::VerifyQARequest`
@@ -2469,6 +2469,7 @@ module TencentCloud
2469
2469
  # CreateQA请求参数结构体
2470
2470
  class CreateQARequest < TencentCloud::Common::AbstractModel
2471
2471
  # @param BotBizId: 应用ID
2472
+ # 若要操作共享知识库,传KnowledgeBizId
2472
2473
  # @type BotBizId: String
2473
2474
  # @param Question: 问题
2474
2475
  # @type Question: String
@@ -2484,7 +2485,7 @@ module TencentCloud
2484
2485
  # @type DocBizId: String
2485
2486
  # @param CateBizId: 分类ID
2486
2487
  # @type CateBizId: String
2487
- # @param ExpireStart: 有效开始时间,unix时间戳
2488
+ # @param ExpireStart: 有效开始时间,单位是unix时间戳。默认值为0,表示问答为永久有效.
2488
2489
  # @type ExpireStart: String
2489
2490
  # @param ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
2490
2491
  # @type ExpireEnd: String
@@ -2492,10 +2493,12 @@ module TencentCloud
2492
2493
  # @type SimilarQuestions: Array
2493
2494
  # @param QuestionDesc: 问题描述
2494
2495
  # @type QuestionDesc: String
2496
+ # @param EnableScope: 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
2497
+ # @type EnableScope: Integer
2495
2498
 
2496
- attr_accessor :BotBizId, :Question, :Answer, :AttrRange, :CustomParam, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestions, :QuestionDesc
2499
+ attr_accessor :BotBizId, :Question, :Answer, :AttrRange, :CustomParam, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestions, :QuestionDesc, :EnableScope
2497
2500
 
2498
- def initialize(botbizid=nil, question=nil, answer=nil, attrrange=nil, customparam=nil, attrlabels=nil, docbizid=nil, catebizid=nil, expirestart=nil, expireend=nil, similarquestions=nil, questiondesc=nil)
2501
+ def initialize(botbizid=nil, question=nil, answer=nil, attrrange=nil, customparam=nil, attrlabels=nil, docbizid=nil, catebizid=nil, expirestart=nil, expireend=nil, similarquestions=nil, questiondesc=nil, enablescope=nil)
2499
2502
  @BotBizId = botbizid
2500
2503
  @Question = question
2501
2504
  @Answer = answer
@@ -2508,6 +2511,7 @@ module TencentCloud
2508
2511
  @ExpireEnd = expireend
2509
2512
  @SimilarQuestions = similarquestions
2510
2513
  @QuestionDesc = questiondesc
2514
+ @EnableScope = enablescope
2511
2515
  end
2512
2516
 
2513
2517
  def deserialize(params)
@@ -2530,6 +2534,7 @@ module TencentCloud
2530
2534
  @ExpireEnd = params['ExpireEnd']
2531
2535
  @SimilarQuestions = params['SimilarQuestions']
2532
2536
  @QuestionDesc = params['QuestionDesc']
2537
+ @EnableScope = params['EnableScope']
2533
2538
  end
2534
2539
  end
2535
2540
 
@@ -2756,7 +2761,7 @@ module TencentCloud
2756
2761
 
2757
2762
  # CreateWorkflowRun请求参数结构体
2758
2763
  class CreateWorkflowRunRequest < TencentCloud::Common::AbstractModel
2759
- # @param AppBizId: 应用ID
2764
+ # @param AppBizId: 应用ID, 获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
2760
2765
  # @type AppBizId: String
2761
2766
  # @param RunEnv: 运行环境。0: 测试环境; 1: 正式环境
2762
2767
  # @type RunEnv: Integer
@@ -3838,12 +3843,20 @@ module TencentCloud
3838
3843
  # @param UpdatePeriodInfo: 文档更新频率
3839
3844
  # 注意:此字段可能返回 null,表示取不到有效值。
3840
3845
  # @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
3846
+ # @param CateBizIdPath: 从根节点开始的路径分类ID
3847
+ # 注意:此字段可能返回 null,表示取不到有效值。
3848
+ # @type CateBizIdPath: Array
3849
+ # @param CateNamePath: 从根节点开始的路径分类名称
3850
+ # 注意:此字段可能返回 null,表示取不到有效值。
3851
+ # @type CateNamePath: Array
3852
+ # @param EnableScope: 文档生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
3853
+ # @type EnableScope: Integer
3841
3854
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3842
3855
  # @type RequestId: String
3843
3856
 
3844
- attr_accessor :DocBizId, :FileName, :FileType, :CosUrl, :UpdateTime, :Status, :StatusDesc, :Reason, :IsRefer, :QaNum, :IsDeleted, :Source, :SourceDesc, :IsAllowRestart, :IsDeletedQa, :IsCreatingQa, :IsAllowDelete, :IsAllowRefer, :IsCreatedQa, :DocCharSize, :IsAllowEdit, :AttrRange, :AttrLabels, :CateBizId, :IsDisabled, :IsDownload, :SplitRule, :UpdatePeriodInfo, :RequestId
3857
+ attr_accessor :DocBizId, :FileName, :FileType, :CosUrl, :UpdateTime, :Status, :StatusDesc, :Reason, :IsRefer, :QaNum, :IsDeleted, :Source, :SourceDesc, :IsAllowRestart, :IsDeletedQa, :IsCreatingQa, :IsAllowDelete, :IsAllowRefer, :IsCreatedQa, :DocCharSize, :IsAllowEdit, :AttrRange, :AttrLabels, :CateBizId, :IsDisabled, :IsDownload, :SplitRule, :UpdatePeriodInfo, :CateBizIdPath, :CateNamePath, :EnableScope, :RequestId
3845
3858
 
3846
- def initialize(docbizid=nil, filename=nil, filetype=nil, cosurl=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, isrefer=nil, qanum=nil, isdeleted=nil, source=nil, sourcedesc=nil, isallowrestart=nil, isdeletedqa=nil, iscreatingqa=nil, isallowdelete=nil, isallowrefer=nil, iscreatedqa=nil, doccharsize=nil, isallowedit=nil, attrrange=nil, attrlabels=nil, catebizid=nil, isdisabled=nil, isdownload=nil, splitrule=nil, updateperiodinfo=nil, requestid=nil)
3859
+ def initialize(docbizid=nil, filename=nil, filetype=nil, cosurl=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, isrefer=nil, qanum=nil, isdeleted=nil, source=nil, sourcedesc=nil, isallowrestart=nil, isdeletedqa=nil, iscreatingqa=nil, isallowdelete=nil, isallowrefer=nil, iscreatedqa=nil, doccharsize=nil, isallowedit=nil, attrrange=nil, attrlabels=nil, catebizid=nil, isdisabled=nil, isdownload=nil, splitrule=nil, updateperiodinfo=nil, catebizidpath=nil, catenamepath=nil, enablescope=nil, requestid=nil)
3847
3860
  @DocBizId = docbizid
3848
3861
  @FileName = filename
3849
3862
  @FileType = filetype
@@ -3872,6 +3885,9 @@ module TencentCloud
3872
3885
  @IsDownload = isdownload
3873
3886
  @SplitRule = splitrule
3874
3887
  @UpdatePeriodInfo = updateperiodinfo
3888
+ @CateBizIdPath = catebizidpath
3889
+ @CateNamePath = catenamepath
3890
+ @EnableScope = enablescope
3875
3891
  @RequestId = requestid
3876
3892
  end
3877
3893
 
@@ -3914,6 +3930,9 @@ module TencentCloud
3914
3930
  @UpdatePeriodInfo = UpdatePeriodInfo.new
3915
3931
  @UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo'])
3916
3932
  end
3933
+ @CateBizIdPath = params['CateBizIdPath']
3934
+ @CateNamePath = params['CateNamePath']
3935
+ @EnableScope = params['EnableScope']
3917
3936
  @RequestId = params['RequestId']
3918
3937
  end
3919
3938
  end
@@ -4133,12 +4152,23 @@ module TencentCloud
4133
4152
  # @type QuestionDesc: String
4134
4153
  # @param IsDisabled: 问答是否停用,false:未停用,true已停用
4135
4154
  # @type IsDisabled: Boolean
4155
+ # @param CateBizIdPath: 从根节点开始的路径分类ID
4156
+ # 注意:此字段可能返回 null,表示取不到有效值。
4157
+ # @type CateBizIdPath: Array
4158
+ # @param CateNamePath: 从根节点开始的路径分类名称
4159
+ # 注意:此字段可能返回 null,表示取不到有效值。
4160
+ # @type CateNamePath: Array
4161
+ # @param EnableScope: 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
4162
+ # 注意:此字段可能返回 null,表示取不到有效值。
4163
+ # @type EnableScope: Integer
4164
+ # @param DocEnableScope: 问答关联的文档生效域
4165
+ # @type DocEnableScope: Integer
4136
4166
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4137
4167
  # @type RequestId: String
4138
4168
 
4139
- 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, :QaAuditStatus, :PicAuditStatus, :VideoAuditStatus, :QuestionDesc, :IsDisabled, :RequestId
4169
+ 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, :QaAuditStatus, :PicAuditStatus, :VideoAuditStatus, :QuestionDesc, :IsDisabled, :CateBizIdPath, :CateNamePath, :EnableScope, :DocEnableScope, :RequestId
4140
4170
 
4141
- 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, qaauditstatus=nil, picauditstatus=nil, videoauditstatus=nil, questiondesc=nil, isdisabled=nil, requestid=nil)
4171
+ 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, qaauditstatus=nil, picauditstatus=nil, videoauditstatus=nil, questiondesc=nil, isdisabled=nil, catebizidpath=nil, catenamepath=nil, enablescope=nil, docenablescope=nil, requestid=nil)
4142
4172
  @QaBizId = qabizid
4143
4173
  @Question = question
4144
4174
  @Answer = answer
@@ -4169,6 +4199,10 @@ module TencentCloud
4169
4199
  @VideoAuditStatus = videoauditstatus
4170
4200
  @QuestionDesc = questiondesc
4171
4201
  @IsDisabled = isdisabled
4202
+ @CateBizIdPath = catebizidpath
4203
+ @CateNamePath = catenamepath
4204
+ @EnableScope = enablescope
4205
+ @DocEnableScope = docenablescope
4172
4206
  @RequestId = requestid
4173
4207
  end
4174
4208
 
@@ -4224,6 +4258,10 @@ module TencentCloud
4224
4258
  @VideoAuditStatus = params['VideoAuditStatus']
4225
4259
  @QuestionDesc = params['QuestionDesc']
4226
4260
  @IsDisabled = params['IsDisabled']
4261
+ @CateBizIdPath = params['CateBizIdPath']
4262
+ @CateNamePath = params['CateNamePath']
4263
+ @EnableScope = params['EnableScope']
4264
+ @DocEnableScope = params['DocEnableScope']
4227
4265
  @RequestId = params['RequestId']
4228
4266
  end
4229
4267
  end
@@ -7352,19 +7390,19 @@ module TencentCloud
7352
7390
 
7353
7391
  # ListAttributeLabel请求参数结构体
7354
7392
  class ListAttributeLabelRequest < TencentCloud::Common::AbstractModel
7355
- # @param BotBizId: 应用ID
7393
+ # @param BotBizId: 应用ID,获取方法参看如何获取[BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
7356
7394
  # @type BotBizId: String
7357
- # @param PageNumber: 页码
7395
+ # @param PageNumber: 页码,取值范围:大于0
7358
7396
  # @type PageNumber: Integer
7359
- # @param PageSize: 每页数量
7397
+ # @param PageSize: 每页数量,取值范围:大于0
7360
7398
  # @type PageSize: Integer
7361
7399
  # @param LoginUin: 登录用户主账号(集成商模式必填)
7362
7400
  # @type LoginUin: String
7363
7401
  # @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
7364
7402
  # @type LoginSubAccountUin: String
7365
- # @param Query: 查询内容
7403
+ # @param Query: 查询内容,同时匹配标签内容和标签值内容
7366
7404
  # @type Query: String
7367
- # @param LabelSize: 每个属性同步拉取的标签值数量
7405
+ # @param LabelSize: 每个标签同步拉取的标签值数量。即在展示标签列表时,为每一个标签加载多少个具体的标签值。
7368
7406
  # @type LabelSize: Integer
7369
7407
 
7370
7408
  attr_accessor :BotBizId, :PageNumber, :PageSize, :LoginUin, :LoginSubAccountUin, :Query, :LabelSize
@@ -7423,17 +7461,17 @@ module TencentCloud
7423
7461
 
7424
7462
  # ListChannel请求参数结构体
7425
7463
  class ListChannelRequest < TencentCloud::Common::AbstractModel
7426
- # @param AppBizId: 应用ID
7464
+ # @param AppBizId: 应用ID(获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa))
7427
7465
  # @type AppBizId: String
7428
7466
  # @param BotBizId: 应用ID
7429
7467
  # @type BotBizId: String
7430
- # @param PageNumber: 页码
7468
+ # @param PageNumber: 页码(必须大于0)
7431
7469
  # @type PageNumber: Integer
7432
- # @param PageSize: 分页数量
7470
+ # @param PageSize: 分页数量(取值范围为1-200)
7433
7471
  # @type PageSize: Integer
7434
- # @param ChannelType: 渠道类型, 10000: 微信订阅号,10001: 微信服务号,10002:企微应用,10004:微信客服,10005:小程序,10009:企微智能机器人
7472
+ # @param ChannelType: 渠道类型, 10000: 微信订阅号,10001: 微信服务号,10002:企微应用,10004:微信客服,10005:小程序,10009:企微智能机器人 。(默认为[])
7435
7473
  # @type ChannelType: Array
7436
- # @param ChannelStatus: 渠道状态 1未发布 2运行中 3已下线
7474
+ # @param ChannelStatus: 渠道状态 1未发布 2运行中 3已下线 (默认为[])
7437
7475
  # @type ChannelStatus: Array
7438
7476
 
7439
7477
  attr_accessor :AppBizId, :BotBizId, :PageNumber, :PageSize, :ChannelType, :ChannelStatus
@@ -7659,10 +7697,13 @@ module TencentCloud
7659
7697
  # @type IsDisabled: Boolean
7660
7698
  # @param StaffName: 员工名称
7661
7699
  # @type StaffName: String
7700
+ # @param EnableScope: 文档生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
7701
+ # 注意:此字段可能返回 null,表示取不到有效值。
7702
+ # @type EnableScope: Integer
7662
7703
 
7663
- attr_accessor :DocBizId, :FileName, :NewName, :FileType, :CosUrl, :UpdateTime, :Status, :StatusDesc, :Reason, :IsRefer, :QaNum, :IsDeleted, :Source, :SourceDesc, :IsAllowRestart, :IsDeletedQa, :IsCreatingQa, :IsAllowDelete, :IsAllowRefer, :IsCreatedQa, :DocCharSize, :AttrRange, :AttrLabels, :IsAllowEdit, :ReferUrlType, :WebUrl, :ExpireStart, :ExpireEnd, :IsAllowRetry, :Processing, :CreateTime, :CateBizId, :CustomerKnowledgeId, :AttributeFlags, :IsDisabled, :StaffName
7704
+ attr_accessor :DocBizId, :FileName, :NewName, :FileType, :CosUrl, :UpdateTime, :Status, :StatusDesc, :Reason, :IsRefer, :QaNum, :IsDeleted, :Source, :SourceDesc, :IsAllowRestart, :IsDeletedQa, :IsCreatingQa, :IsAllowDelete, :IsAllowRefer, :IsCreatedQa, :DocCharSize, :AttrRange, :AttrLabels, :IsAllowEdit, :ReferUrlType, :WebUrl, :ExpireStart, :ExpireEnd, :IsAllowRetry, :Processing, :CreateTime, :CateBizId, :CustomerKnowledgeId, :AttributeFlags, :IsDisabled, :StaffName, :EnableScope
7664
7705
 
7665
- def initialize(docbizid=nil, filename=nil, newname=nil, filetype=nil, cosurl=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, isrefer=nil, qanum=nil, isdeleted=nil, source=nil, sourcedesc=nil, isallowrestart=nil, isdeletedqa=nil, iscreatingqa=nil, isallowdelete=nil, isallowrefer=nil, iscreatedqa=nil, doccharsize=nil, attrrange=nil, attrlabels=nil, isallowedit=nil, referurltype=nil, weburl=nil, expirestart=nil, expireend=nil, isallowretry=nil, processing=nil, createtime=nil, catebizid=nil, customerknowledgeid=nil, attributeflags=nil, isdisabled=nil, staffname=nil)
7706
+ def initialize(docbizid=nil, filename=nil, newname=nil, filetype=nil, cosurl=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, isrefer=nil, qanum=nil, isdeleted=nil, source=nil, sourcedesc=nil, isallowrestart=nil, isdeletedqa=nil, iscreatingqa=nil, isallowdelete=nil, isallowrefer=nil, iscreatedqa=nil, doccharsize=nil, attrrange=nil, attrlabels=nil, isallowedit=nil, referurltype=nil, weburl=nil, expirestart=nil, expireend=nil, isallowretry=nil, processing=nil, createtime=nil, catebizid=nil, customerknowledgeid=nil, attributeflags=nil, isdisabled=nil, staffname=nil, enablescope=nil)
7666
7707
  @DocBizId = docbizid
7667
7708
  @FileName = filename
7668
7709
  @NewName = newname
@@ -7699,6 +7740,7 @@ module TencentCloud
7699
7740
  @AttributeFlags = attributeflags
7700
7741
  @IsDisabled = isdisabled
7701
7742
  @StaffName = staffname
7743
+ @EnableScope = enablescope
7702
7744
  end
7703
7745
 
7704
7746
  def deserialize(params)
@@ -7745,16 +7787,17 @@ module TencentCloud
7745
7787
  @AttributeFlags = params['AttributeFlags']
7746
7788
  @IsDisabled = params['IsDisabled']
7747
7789
  @StaffName = params['StaffName']
7790
+ @EnableScope = params['EnableScope']
7748
7791
  end
7749
7792
  end
7750
7793
 
7751
7794
  # ListDoc请求参数结构体
7752
7795
  class ListDocRequest < TencentCloud::Common::AbstractModel
7753
- # @param BotBizId: 应用ID
7796
+ # @param BotBizId: 应用ID, 获取方式参看 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
7754
7797
  # @type BotBizId: String
7755
- # @param PageNumber: 页码
7798
+ # @param PageNumber: 页码(必须大于0)
7756
7799
  # @type PageNumber: Integer
7757
- # @param PageSize: 每页数量
7800
+ # @param PageSize: 每页数量(取值范围1-200)
7758
7801
  # @type PageSize: Integer
7759
7802
  # @param Query: 查询内容
7760
7803
 
@@ -7764,7 +7807,7 @@ module TencentCloud
7764
7807
  # @type Status: Array
7765
7808
  # @param QueryType: 查询类型 filename 文档、 attribute 标签
7766
7809
  # @type QueryType: String
7767
- # @param CateBizId: 分类ID
7810
+ # @param CateBizId: 分类ID, 调用接口[ListDocCate](https://capi.woa.com/api/detail?product=lke&version=2023-11-30&action=ListDocCate)获取
7768
7811
  # @type CateBizId: String
7769
7812
  # @param FileTypes: 文件类型分类筛选
7770
7813
  # @type FileTypes: Array
@@ -7772,10 +7815,12 @@ module TencentCloud
7772
7815
  # @type FilterFlag: Array
7773
7816
  # @param ShowCurrCate: 是否只展示当前分类的数据 0不是,1是
7774
7817
  # @type ShowCurrCate: Integer
7818
+ # @param EnableScope: 文档生效域;不检索默认为0
7819
+ # @type EnableScope: Integer
7775
7820
 
7776
- attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :Status, :QueryType, :CateBizId, :FileTypes, :FilterFlag, :ShowCurrCate
7821
+ attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :Status, :QueryType, :CateBizId, :FileTypes, :FilterFlag, :ShowCurrCate, :EnableScope
7777
7822
 
7778
- def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, status=nil, querytype=nil, catebizid=nil, filetypes=nil, filterflag=nil, showcurrcate=nil)
7823
+ def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, status=nil, querytype=nil, catebizid=nil, filetypes=nil, filterflag=nil, showcurrcate=nil, enablescope=nil)
7779
7824
  @BotBizId = botbizid
7780
7825
  @PageNumber = pagenumber
7781
7826
  @PageSize = pagesize
@@ -7786,6 +7831,7 @@ module TencentCloud
7786
7831
  @FileTypes = filetypes
7787
7832
  @FilterFlag = filterflag
7788
7833
  @ShowCurrCate = showcurrcate
7834
+ @EnableScope = enablescope
7789
7835
  end
7790
7836
 
7791
7837
  def deserialize(params)
@@ -7806,6 +7852,7 @@ module TencentCloud
7806
7852
  end
7807
7853
  end
7808
7854
  @ShowCurrCate = params['ShowCurrCate']
7855
+ @EnableScope = params['EnableScope']
7809
7856
  end
7810
7857
  end
7811
7858
 
@@ -7965,22 +8012,26 @@ module TencentCloud
7965
8012
  # ListQA请求参数结构体
7966
8013
  class ListQARequest < TencentCloud::Common::AbstractModel
7967
8014
  # @param BotBizId: 应用ID
8015
+ # 若要操作共享知识库,传KnowledgeBizId
7968
8016
  # @type BotBizId: String
7969
- # @param PageNumber: 页码
8017
+ # @param PageNumber: 页码(取值范围>0)
7970
8018
  # @type PageNumber: Integer
7971
- # @param PageSize: 每页大小
8019
+ # @param PageSize: 每页大小(取值范围1-200)
7972
8020
  # @type PageSize: Integer
7973
8021
  # @param Query: 查询问题
7974
8022
 
7975
8023
  # 输入特定标识 lke:system:untagged 将查询所有未关联标签的问答
7976
8024
  # @type Query: String
7977
8025
  # @param AcceptStatus: 校验状态(1未校验2采纳3不采纳)
8026
+ # 如果不填默认值为空数组,表示不筛选,返回所有状态
7978
8027
  # @type AcceptStatus: Array
7979
8028
  # @param ReleaseStatus: 发布状态(2待发布 3发布中 4已发布 7审核中 8审核失败 9人工申述中 11人工申述失败 12已过期 13超量失效 14超量失效恢复)
8029
+ # 如果不填默认值为空数组,表示不筛选返回所有状态
7980
8030
  # @type ReleaseStatus: Array
7981
8031
  # @param DocBizId: 文档ID
7982
8032
  # @type DocBizId: String
7983
8033
  # @param Source: 来源(1 文档生成 2 批量导入 3 手动添加)
8034
+ # 不填默认值为0,表示不过滤,返回所有状态
7984
8035
  # @type Source: Integer
7985
8036
  # @param QueryAnswer: 查询答案
7986
8037
  # @type QueryAnswer: String
@@ -7989,13 +8040,16 @@ module TencentCloud
7989
8040
  # @param QaBizIds: QA业务ID列表
7990
8041
  # @type QaBizIds: Array
7991
8042
  # @param QueryType: 查询类型 filename 名称、 attribute 标签
8043
+ # 如果不填默认值为"filename"
7992
8044
  # @type QueryType: String
7993
8045
  # @param ShowCurrCate: 是否只展示当前分类的数据 0不是,1是
7994
8046
  # @type ShowCurrCate: Integer
8047
+ # @param EnableScope: // 知识生效作用域枚举值 enum RetrievalEnableScope { ENABLE_SCOPE_TYPE_UNKNOWN = 0; // 未知类型 ENABLE_SCOPE_TYPE_NONE = 1; // 停用 ENABLE_SCOPE_TYPE_DEV = 2; // 仅开发域 ENABLE_SCOPE_TYPE_RELEASE = 3; // 仅发布域 ENABLE_SCOPE_TYPE_ALL = 4; // 全域 } 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
8048
+ # @type EnableScope: Integer
7995
8049
 
7996
- attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :AcceptStatus, :ReleaseStatus, :DocBizId, :Source, :QueryAnswer, :CateBizId, :QaBizIds, :QueryType, :ShowCurrCate
8050
+ attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :AcceptStatus, :ReleaseStatus, :DocBizId, :Source, :QueryAnswer, :CateBizId, :QaBizIds, :QueryType, :ShowCurrCate, :EnableScope
7997
8051
 
7998
- def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, acceptstatus=nil, releasestatus=nil, docbizid=nil, source=nil, queryanswer=nil, catebizid=nil, qabizids=nil, querytype=nil, showcurrcate=nil)
8052
+ def initialize(botbizid=nil, pagenumber=nil, pagesize=nil, query=nil, acceptstatus=nil, releasestatus=nil, docbizid=nil, source=nil, queryanswer=nil, catebizid=nil, qabizids=nil, querytype=nil, showcurrcate=nil, enablescope=nil)
7999
8053
  @BotBizId = botbizid
8000
8054
  @PageNumber = pagenumber
8001
8055
  @PageSize = pagesize
@@ -8009,6 +8063,7 @@ module TencentCloud
8009
8063
  @QaBizIds = qabizids
8010
8064
  @QueryType = querytype
8011
8065
  @ShowCurrCate = showcurrcate
8066
+ @EnableScope = enablescope
8012
8067
  end
8013
8068
 
8014
8069
  def deserialize(params)
@@ -8025,6 +8080,7 @@ module TencentCloud
8025
8080
  @QaBizIds = params['QaBizIds']
8026
8081
  @QueryType = params['QueryType']
8027
8082
  @ShowCurrCate = params['ShowCurrCate']
8083
+ @EnableScope = params['EnableScope']
8028
8084
  end
8029
8085
  end
8030
8086
 
@@ -8125,10 +8181,15 @@ module TencentCloud
8125
8181
  # @type IsDisabled: Boolean
8126
8182
  # @param StaffName: 员工名称
8127
8183
  # @type StaffName: String
8184
+ # @param EnableScope: 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
8185
+ # 注意:此字段可能返回 null,表示取不到有效值。
8186
+ # @type EnableScope: Integer
8187
+ # @param DocEnableScope: 问答关联的文档生效域
8188
+ # @type DocEnableScope: Integer
8128
8189
 
8129
- attr_accessor :QaBizId, :Question, :Answer, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :DocBizId, :CreateTime, :IsAllowEdit, :IsAllowDelete, :IsAllowAccept, :FileName, :FileType, :QaCharSize, :ExpireStart, :ExpireEnd, :AttrRange, :AttrLabels, :SimilarQuestionNum, :SimilarQuestionTips, :IsDisabled, :StaffName
8190
+ attr_accessor :QaBizId, :Question, :Answer, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :DocBizId, :CreateTime, :IsAllowEdit, :IsAllowDelete, :IsAllowAccept, :FileName, :FileType, :QaCharSize, :ExpireStart, :ExpireEnd, :AttrRange, :AttrLabels, :SimilarQuestionNum, :SimilarQuestionTips, :IsDisabled, :StaffName, :EnableScope, :DocEnableScope
8130
8191
 
8131
- 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, similarquestiontips=nil, isdisabled=nil, staffname=nil)
8192
+ 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, similarquestiontips=nil, isdisabled=nil, staffname=nil, enablescope=nil, docenablescope=nil)
8132
8193
  @QaBizId = qabizid
8133
8194
  @Question = question
8134
8195
  @Answer = answer
@@ -8153,6 +8214,8 @@ module TencentCloud
8153
8214
  @SimilarQuestionTips = similarquestiontips
8154
8215
  @IsDisabled = isdisabled
8155
8216
  @StaffName = staffname
8217
+ @EnableScope = enablescope
8218
+ @DocEnableScope = docenablescope
8156
8219
  end
8157
8220
 
8158
8221
  def deserialize(params)
@@ -8187,6 +8250,8 @@ module TencentCloud
8187
8250
  @SimilarQuestionTips = params['SimilarQuestionTips']
8188
8251
  @IsDisabled = params['IsDisabled']
8189
8252
  @StaffName = params['StaffName']
8253
+ @EnableScope = params['EnableScope']
8254
+ @DocEnableScope = params['DocEnableScope']
8190
8255
  end
8191
8256
  end
8192
8257
 
@@ -8243,21 +8308,21 @@ module TencentCloud
8243
8308
 
8244
8309
  # ListRejectedQuestionPreview请求参数结构体
8245
8310
  class ListRejectedQuestionPreviewRequest < TencentCloud::Common::AbstractModel
8246
- # @param BotBizId: 应用ID
8311
+ # @param BotBizId: 应用ID(获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa))
8247
8312
  # @type BotBizId: String
8248
- # @param PageNumber: 页码
8313
+ # @param PageNumber: 页码(必须大于0)
8249
8314
  # @type PageNumber: Integer
8250
- # @param PageSize: 每页数量
8315
+ # @param PageSize: 每页数量(取值范围为1-200)
8251
8316
  # @type PageSize: Integer
8252
- # @param Query: 查询内容
8317
+ # @param Query: 查询内容关键字,用于模糊查询,若未提供该参数,默认为查询全部。
8253
8318
  # @type Query: String
8254
- # @param ReleaseBizId: 发布单ID
8319
+ # @param ReleaseBizId: 发布单ID(可以通过[ListRelease](https://cloud.tencent.com/document/product/1759/105077)获得)
8255
8320
  # @type ReleaseBizId: String
8256
8321
  # @param Actions: 状态(1新增2更新3删除)
8257
8322
  # @type Actions: Array
8258
- # @param StartTime: 开始时间
8323
+ # @param StartTime: 开始时间。Unix 时间戳,单位是秒,默认为空。
8259
8324
  # @type StartTime: String
8260
- # @param EndTime: 结束时间
8325
+ # @param EndTime: 结束时间。Unix 时间戳,单位是秒,默认为空。
8261
8326
  # @type EndTime: String
8262
8327
 
8263
8328
  attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :ReleaseBizId, :Actions, :StartTime, :EndTime
@@ -8318,11 +8383,11 @@ module TencentCloud
8318
8383
 
8319
8384
  # ListRejectedQuestion请求参数结构体
8320
8385
  class ListRejectedQuestionRequest < TencentCloud::Common::AbstractModel
8321
- # @param BotBizId: 应用ID
8386
+ # @param BotBizId: 应用ID, 获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)。
8322
8387
  # @type BotBizId: String
8323
- # @param PageNumber: 页码
8388
+ # @param PageNumber: 页码(必须大于0)
8324
8389
  # @type PageNumber: Integer
8325
- # @param PageSize: 每页数量
8390
+ # @param PageSize: 每页数量(取值范围1-200)
8326
8391
  # @type PageSize: Integer
8327
8392
  # @param Query: 查询内容
8328
8393
  # @type Query: String
@@ -8377,23 +8442,23 @@ module TencentCloud
8377
8442
 
8378
8443
  # ListReleaseConfigPreview请求参数结构体
8379
8444
  class ListReleaseConfigPreviewRequest < TencentCloud::Common::AbstractModel
8380
- # @param BotBizId: 应用ID
8445
+ # @param BotBizId: 应用ID(获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa))
8381
8446
  # @type BotBizId: String
8382
- # @param PageNumber: 页码
8447
+ # @param PageNumber: 页码(必须大于0)
8383
8448
  # @type PageNumber: Integer
8384
- # @param PageSize: 每页数量
8449
+ # @param PageSize: 每页数量(取值范围为1-200)
8385
8450
  # @type PageSize: Integer
8386
- # @param Query: 查询内容
8451
+ # @param Query: 查询内容关键字,用于模糊查询,若未提供该参数,默认为查询全部。
8387
8452
  # @type Query: String
8388
- # @param ReleaseBizId: 发布单ID
8453
+ # @param ReleaseBizId: 发布单ID(可以通过[ListRelease](https://cloud.tencent.com/document/product/1759/105077)获得)
8389
8454
  # @type ReleaseBizId: String
8390
8455
  # @param Actions: 状态(1新增2更新3删除)
8391
8456
  # @type Actions: Array
8392
- # @param StartTime: 开始时间
8457
+ # @param StartTime: 开始时间。Unix 时间戳,单位是秒,默认为空。
8393
8458
  # @type StartTime: String
8394
- # @param EndTime: 结束时间
8459
+ # @param EndTime: 结束时间。Unix 时间戳,单位是秒,默认为空。
8395
8460
  # @type EndTime: String
8396
- # @param ReleaseStatus: 发布状态
8461
+ # @param ReleaseStatus: 发布状态(2 待发布 3 发布中 4 已发布 5 发布失败),默认为空
8397
8462
  # @type ReleaseStatus: Array
8398
8463
 
8399
8464
  attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :ReleaseBizId, :Actions, :StartTime, :EndTime, :ReleaseStatus
@@ -8456,21 +8521,21 @@ module TencentCloud
8456
8521
 
8457
8522
  # ListReleaseDocPreview请求参数结构体
8458
8523
  class ListReleaseDocPreviewRequest < TencentCloud::Common::AbstractModel
8459
- # @param BotBizId: 应用ID
8524
+ # @param BotBizId: 应用ID(获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa))
8460
8525
  # @type BotBizId: String
8461
- # @param PageNumber: 页码
8526
+ # @param PageNumber: 页码(必须大于0)
8462
8527
  # @type PageNumber: Integer
8463
- # @param PageSize: 每页数量
8528
+ # @param PageSize: 每页数量(取值范围为1-200)
8464
8529
  # @type PageSize: Integer
8465
- # @param Query: 查询内容
8530
+ # @param Query: 查询内容关键字,用于模糊查询,若未提供该参数,默认为查询全部。
8466
8531
  # @type Query: String
8467
- # @param ReleaseBizId: 发布单ID
8532
+ # @param ReleaseBizId: 发布单ID(可以通过[ListRelease](https://cloud.tencent.com/document/product/1759/105077)获得)
8468
8533
  # @type ReleaseBizId: String
8469
- # @param StartTime: 开始时间
8534
+ # @param StartTime: 开始时间。Unix 时间戳,单位是秒,默认为空。
8470
8535
  # @type StartTime: String
8471
- # @param EndTime: 结束时间
8536
+ # @param EndTime: 结束时间。Unix 时间戳,单位是秒,默认为空。
8472
8537
  # @type EndTime: String
8473
- # @param Actions: 状态(1新增2修改3删除)
8538
+ # @param Actions: 状态(1新增2修改3删除),其和ReleaseStatus的区别为: Actions表示的是对数据/内容的操作状态,ReleaseStatus表示数据 / 内容本身的发布状态
8474
8539
  # @type Actions: Array
8475
8540
 
8476
8541
  attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :ReleaseBizId, :StartTime, :EndTime, :Actions
@@ -8579,23 +8644,23 @@ module TencentCloud
8579
8644
 
8580
8645
  # ListReleaseQAPreview请求参数结构体
8581
8646
  class ListReleaseQAPreviewRequest < TencentCloud::Common::AbstractModel
8582
- # @param BotBizId: 应用ID
8647
+ # @param BotBizId: 应用ID(获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa))
8583
8648
  # @type BotBizId: String
8584
- # @param PageNumber: 页码
8649
+ # @param PageNumber: 页码(必须大于0)
8585
8650
  # @type PageNumber: Integer
8586
- # @param PageSize: 每页数量
8651
+ # @param PageSize: 每页数量(取值范围为1-200)
8587
8652
  # @type PageSize: Integer
8588
- # @param Query: 查询内容
8653
+ # @param Query: 查询内容关键字,用于模糊查询,若未提供该参数,默认为查询全部。
8589
8654
  # @type Query: String
8590
- # @param ReleaseBizId: 发布单ID
8655
+ # @param ReleaseBizId: 发布单ID(可以通过[ListRelease](https://cloud.tencent.com/document/product/1759/105077)获得)
8591
8656
  # @type ReleaseBizId: String
8592
- # @param StartTime: 开始时间
8657
+ # @param StartTime: 开始时间。Unix 时间戳,单位是秒,默认为空。
8593
8658
  # @type StartTime: String
8594
- # @param EndTime: 结束时间
8659
+ # @param EndTime: 结束时间。Unix 时间戳,单位是秒,默认为空。
8595
8660
  # @type EndTime: String
8596
- # @param Actions: 状态(1新增2修改3删除)
8661
+ # @param Actions: 状态(1新增2修改3删除),其和ReleaseStatus的区别为:Actions表示的是对数据/内容的操作状态,ReleaseStatus表示数据/内容本身的发布状态
8597
8662
  # @type Actions: Array
8598
- # @param ReleaseStatus: 发布状态(4发布成功5发布失败)
8663
+ # @param ReleaseStatus: 发布状态(4发布成功5发布失败)。其和Actions的区别为:Actions表示的是对数据/内容的操作状态,ReleaseStatus表示数据/内容本身的发布状态
8599
8664
  # @type ReleaseStatus: Array
8600
8665
 
8601
8666
  attr_accessor :BotBizId, :PageNumber, :PageSize, :Query, :ReleaseBizId, :StartTime, :EndTime, :Actions, :ReleaseStatus
@@ -9003,13 +9068,13 @@ module TencentCloud
9003
9068
 
9004
9069
  # ListWorkflowRuns请求参数结构体
9005
9070
  class ListWorkflowRunsRequest < TencentCloud::Common::AbstractModel
9006
- # @param AppBizId: 应用ID
9071
+ # @param AppBizId: 应用ID, 获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
9007
9072
  # @type AppBizId: String
9008
- # @param PageSize: 每页数量
9073
+ # @param PageSize: 每页数量(取值范围1-200)
9009
9074
  # @type PageSize: Integer
9010
9075
  # @param RunEnv: 运行环境。0: 测试环境; 1: 正式环境
9011
9076
  # @type RunEnv: Integer
9012
- # @param Page: 页码
9077
+ # @param Page: 页码(必须大于0)
9013
9078
  # @type Page: Integer
9014
9079
  # @param LoginUin: 登录用户主账号(集成商模式必填)
9015
9080
  # @type LoginUin: String
@@ -9530,13 +9595,13 @@ module TencentCloud
9530
9595
 
9531
9596
  # ModifyDoc请求参数结构体
9532
9597
  class ModifyDocRequest < TencentCloud::Common::AbstractModel
9533
- # @param BotBizId: 应用ID
9598
+ # @param BotBizId: 应用ID,获取方法参看[如何获取 BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
9534
9599
  # @type BotBizId: String
9535
9600
  # @param DocBizId: 文档ID
9536
9601
  # @type DocBizId: String
9537
9602
  # @param IsRefer: 是否引用链接
9538
9603
  # @type IsRefer: Boolean
9539
- # @param AttrRange: 标签适用范围,需要传参为1
9604
+ # @param AttrRange: 标签适用范围,1:全部,2:按条件。默认为1。
9540
9605
  # @type AttrRange: Integer
9541
9606
  # @param LoginUin: 登录用户主账号(集成商模式必填)
9542
9607
  # @type LoginUin: String
@@ -9549,9 +9614,9 @@ module TencentCloud
9549
9614
  # @param ReferUrlType: 外部引用链接类型 0:系统链接 1:自定义链接
9550
9615
  # 值为1时,WebUrl 字段不能为空,否则不生效。
9551
9616
  # @type ReferUrlType: Integer
9552
- # @param ExpireStart: 有效开始时间,unix时间戳
9617
+ # @param ExpireStart: 有效开始时间,单位为unix时间戳
9553
9618
  # @type ExpireStart: String
9554
- # @param ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
9619
+ # @param ExpireEnd: 有效结束时间,单位为unix时间戳,默认值为0代表永久有效
9555
9620
  # @type ExpireEnd: String
9556
9621
  # @param CateBizId: 分类ID
9557
9622
  # @type CateBizId: String
@@ -9563,10 +9628,12 @@ module TencentCloud
9563
9628
  # @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
9564
9629
  # @param SplitRule: 自定义切分规则
9565
9630
  # @type SplitRule: String
9631
+ # @param EnableScope: 文档生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
9632
+ # @type EnableScope: Integer
9566
9633
 
9567
- attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId, :IsDownload, :ModifyTypes, :UpdatePeriodInfo, :SplitRule
9634
+ attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId, :IsDownload, :ModifyTypes, :UpdatePeriodInfo, :SplitRule, :EnableScope
9568
9635
 
9569
- def initialize(botbizid=nil, docbizid=nil, isrefer=nil, attrrange=nil, loginuin=nil, loginsubaccountuin=nil, attrlabels=nil, weburl=nil, referurltype=nil, expirestart=nil, expireend=nil, catebizid=nil, isdownload=nil, modifytypes=nil, updateperiodinfo=nil, splitrule=nil)
9636
+ def initialize(botbizid=nil, docbizid=nil, isrefer=nil, attrrange=nil, loginuin=nil, loginsubaccountuin=nil, attrlabels=nil, weburl=nil, referurltype=nil, expirestart=nil, expireend=nil, catebizid=nil, isdownload=nil, modifytypes=nil, updateperiodinfo=nil, splitrule=nil, enablescope=nil)
9570
9637
  @BotBizId = botbizid
9571
9638
  @DocBizId = docbizid
9572
9639
  @IsRefer = isrefer
@@ -9583,6 +9650,7 @@ module TencentCloud
9583
9650
  @ModifyTypes = modifytypes
9584
9651
  @UpdatePeriodInfo = updateperiodinfo
9585
9652
  @SplitRule = splitrule
9653
+ @EnableScope = enablescope
9586
9654
  end
9587
9655
 
9588
9656
  def deserialize(params)
@@ -9612,6 +9680,7 @@ module TencentCloud
9612
9680
  @UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo'])
9613
9681
  end
9614
9682
  @SplitRule = params['SplitRule']
9683
+ @EnableScope = params['EnableScope']
9615
9684
  end
9616
9685
  end
9617
9686
 
@@ -9725,6 +9794,7 @@ module TencentCloud
9725
9794
  # ModifyQA请求参数结构体
9726
9795
  class ModifyQARequest < TencentCloud::Common::AbstractModel
9727
9796
  # @param BotBizId: 应用ID
9797
+ # 若要操作共享知识库,传KnowledgeBizId
9728
9798
  # @type BotBizId: String
9729
9799
  # @param QaBizId: 问答ID
9730
9800
  # @type QaBizId: String
@@ -9735,6 +9805,8 @@ module TencentCloud
9735
9805
  # @param CustomParam: 自定义参数
9736
9806
  # @type CustomParam: String
9737
9807
  # @param AttrRange: 标签适用范围 1:全部,2:按条件
9808
+ # 默认值:当没有属性标签,labelRefers为空时,默认值为1
9809
+ # 有属性标签,labelRefers不为空,默认值为2
9738
9810
  # @type AttrRange: Integer
9739
9811
  # @param AttrLabels: 标签引用
9740
9812
  # @type AttrLabels: Array
@@ -9742,18 +9814,20 @@ module TencentCloud
9742
9814
  # @type DocBizId: String
9743
9815
  # @param CateBizId: 分类ID
9744
9816
  # @type CateBizId: String
9745
- # @param ExpireStart: 有效开始时间,unix时间戳
9817
+ # @param ExpireStart: 有效开始时间,单位是unix时间戳,默认值为0,代表永久有效
9746
9818
  # @type ExpireStart: String
9747
- # @param ExpireEnd: 有效结束时间,unix时间戳,0代表永久有效
9819
+ # @param ExpireEnd: 有效结束时间,单位是unix时间戳,默认值为0,代表永久有效
9748
9820
  # @type ExpireEnd: String
9749
9821
  # @param SimilarQuestionModify: 相似问修改信息(相似问没有修改则不传)
9750
9822
  # @type SimilarQuestionModify: :class:`Tencentcloud::Lke.v20231130.models.SimilarQuestionModify`
9751
9823
  # @param QuestionDesc: 问题描述
9752
9824
  # @type QuestionDesc: String
9825
+ # @param EnableScope: 问答生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
9826
+ # @type EnableScope: Integer
9753
9827
 
9754
- attr_accessor :BotBizId, :QaBizId, :Question, :Answer, :CustomParam, :AttrRange, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestionModify, :QuestionDesc
9828
+ attr_accessor :BotBizId, :QaBizId, :Question, :Answer, :CustomParam, :AttrRange, :AttrLabels, :DocBizId, :CateBizId, :ExpireStart, :ExpireEnd, :SimilarQuestionModify, :QuestionDesc, :EnableScope
9755
9829
 
9756
- 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, questiondesc=nil)
9830
+ 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, questiondesc=nil, enablescope=nil)
9757
9831
  @BotBizId = botbizid
9758
9832
  @QaBizId = qabizid
9759
9833
  @Question = question
@@ -9767,6 +9841,7 @@ module TencentCloud
9767
9841
  @ExpireEnd = expireend
9768
9842
  @SimilarQuestionModify = similarquestionmodify
9769
9843
  @QuestionDesc = questiondesc
9844
+ @EnableScope = enablescope
9770
9845
  end
9771
9846
 
9772
9847
  def deserialize(params)
@@ -9793,6 +9868,7 @@ module TencentCloud
9793
9868
  @SimilarQuestionModify.deserialize(params['SimilarQuestionModify'])
9794
9869
  end
9795
9870
  @QuestionDesc = params['QuestionDesc']
9871
+ @EnableScope = params['EnableScope']
9796
9872
  end
9797
9873
  end
9798
9874
 
@@ -9814,12 +9890,12 @@ module TencentCloud
9814
9890
 
9815
9891
  # ModifyRejectedQuestion请求参数结构体
9816
9892
  class ModifyRejectedQuestionRequest < TencentCloud::Common::AbstractModel
9817
- # @param BotBizId: 应用ID
9893
+ # @param BotBizId: 应用ID, 获取方法参看如何获取 [BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
9818
9894
  # @type BotBizId: String
9819
9895
  # @param Question: 拒答问题
9820
9896
 
9821
9897
  # @type Question: String
9822
- # @param RejectedBizId: 拒答问题来源的数据源唯一id
9898
+ # @param RejectedBizId: 拒答问题来源的数据源唯一id, 通过[ListRejectedQuestion](https://capi.woa.com/api/detail?product=lke&version=2023-11-30&action=ListRejectedQuestion)接口获取
9823
9899
 
9824
9900
 
9825
9901
  # @type RejectedBizId: String
@@ -10828,7 +10904,7 @@ module TencentCloud
10828
10904
  class RateMsgRecordRequest < TencentCloud::Common::AbstractModel
10829
10905
  # @param BotAppKey: 应用appKey
10830
10906
  # @type BotAppKey: String
10831
- # @param RecordId: 消息ID 【大模型回复答案的RecordID
10907
+ # @param RecordId: 消息ID 【大模型回复答案的RecordID】可以通过[GetMsgRecord](https://cloud.tencent.com/document/product/1759/105090)接口获取
10832
10908
  # @type RecordId: String
10833
10909
  # @param Score: 0: 取消前置状态 ; 1: 点赞; 2: 点踩;
10834
10910
  # 注:
@@ -11459,9 +11535,9 @@ module TencentCloud
11459
11535
 
11460
11536
  # SaveDoc请求参数结构体
11461
11537
  class SaveDocRequest < TencentCloud::Common::AbstractModel
11462
- # @param BotBizId: 应用ID
11538
+ # @param BotBizId: 应用ID,获取方法参看[如何获取 BotBizId](https://cloud.tencent.com/document/product/1759/109469#4eecb8c1-6ce4-45f5-8fa2-b269449d8efa)
11463
11539
  # @type BotBizId: String
11464
- # @param FileName: 文件名
11540
+ # @param FileName: 文件名,需要包含文件扩展名
11465
11541
  # @type FileName: String
11466
11542
  # @param FileType: 文档支持下面类型
11467
11543
  # pdf、doc、docx、ppt、mhtml、pptx、wps、ppsx,单个文件不超过200MB;
@@ -11482,7 +11558,7 @@ module TencentCloud
11482
11558
  # @type CosHash: String
11483
11559
  # @param Size: 文件大小
11484
11560
  # @type Size: String
11485
- # @param AttrRange: 标签适用范围,需要传参为1
11561
+ # @param AttrRange: 标签适用范围,1:全部,2:按条件。默认为1。
11486
11562
  # @type AttrRange: Integer
11487
11563
  # @param Source: 来源(0 从本地文档导入),默认值为0
11488
11564
  # @type Source: Integer
@@ -11493,13 +11569,13 @@ module TencentCloud
11493
11569
  # @param ReferUrlType: 外部引用链接类型 0:系统链接 1:自定义链接
11494
11570
  # 值为1时,WebUrl 字段不能为空,否则不生效。
11495
11571
  # @type ReferUrlType: Integer
11496
- # @param ExpireStart: 有效开始时间,unix秒级时间戳
11572
+ # @param ExpireStart: 有效开始时间,unix秒级时间戳,默认为0
11497
11573
  # @type ExpireStart: String
11498
- # @param ExpireEnd: 有效结束时间,unix秒级时间戳,0代表永久有效
11574
+ # @param ExpireEnd: 有效结束时间,unix秒级时间戳,默认为0代表永久有效
11499
11575
  # @type ExpireEnd: String
11500
- # @param IsRefer: 是否引用链接
11576
+ # @param IsRefer: 是否显示引用的文档来源(false不显示 true显示)默认false
11501
11577
  # @type IsRefer: Boolean
11502
- # @param Opt: 文档操作类型:1:批量导入(批量导入问答对);2:文档导入(正常导入单个文档) 默认为1 <br> 请注意,opt=1的时候请从腾讯云智能体开发平台页面下载excel模板
11578
+ # @param Opt: 文档操作类型:1:批量导入(批量导入问答对);2:文档导入(正常导入单个文档) 默认为2 <br> 请注意,opt=1的时候请从腾讯云智能体开发平台页面下载excel模板
11503
11579
  # @type Opt: Integer
11504
11580
  # @param CateBizId: 分类ID
11505
11581
  # @type CateBizId: String
@@ -11593,12 +11669,14 @@ module TencentCloud
11593
11669
  # |--------------|--------|----------------------------------------------------------------------|
11594
11670
  # | `table_style` | String | 指定表格内容的输出格式。可用值:<br>• `"html"`:以 HTML 表格形式返回,适合网页展示。<br>• `"md"`:以 Markdown 表格语法返回,适合文档或 Markdown 渲染环境。|
11595
11671
  # @type SplitRule: String
11596
- # @param UpdatePeriodInfo: 文档更新频率
11672
+ # @param UpdatePeriodInfo: 文档更新频率,默认值为0不更新
11597
11673
  # @type UpdatePeriodInfo: :class:`Tencentcloud::Lke.v20231130.models.UpdatePeriodInfo`
11674
+ # @param EnableScope: 文档生效域: 1-停用;2-仅开发域;3-仅发布域;4-全域
11675
+ # @type EnableScope: Integer
11598
11676
 
11599
- attr_accessor :BotBizId, :FileName, :FileType, :CosUrl, :ETag, :CosHash, :Size, :AttrRange, :Source, :WebUrl, :AttrLabels, :ReferUrlType, :ExpireStart, :ExpireEnd, :IsRefer, :Opt, :CateBizId, :IsDownload, :DuplicateFileHandles, :SplitRule, :UpdatePeriodInfo
11677
+ attr_accessor :BotBizId, :FileName, :FileType, :CosUrl, :ETag, :CosHash, :Size, :AttrRange, :Source, :WebUrl, :AttrLabels, :ReferUrlType, :ExpireStart, :ExpireEnd, :IsRefer, :Opt, :CateBizId, :IsDownload, :DuplicateFileHandles, :SplitRule, :UpdatePeriodInfo, :EnableScope
11600
11678
 
11601
- def initialize(botbizid=nil, filename=nil, filetype=nil, cosurl=nil, etag=nil, coshash=nil, size=nil, attrrange=nil, source=nil, weburl=nil, attrlabels=nil, referurltype=nil, expirestart=nil, expireend=nil, isrefer=nil, opt=nil, catebizid=nil, isdownload=nil, duplicatefilehandles=nil, splitrule=nil, updateperiodinfo=nil)
11679
+ def initialize(botbizid=nil, filename=nil, filetype=nil, cosurl=nil, etag=nil, coshash=nil, size=nil, attrrange=nil, source=nil, weburl=nil, attrlabels=nil, referurltype=nil, expirestart=nil, expireend=nil, isrefer=nil, opt=nil, catebizid=nil, isdownload=nil, duplicatefilehandles=nil, splitrule=nil, updateperiodinfo=nil, enablescope=nil)
11602
11680
  @BotBizId = botbizid
11603
11681
  @FileName = filename
11604
11682
  @FileType = filetype
@@ -11620,6 +11698,7 @@ module TencentCloud
11620
11698
  @DuplicateFileHandles = duplicatefilehandles
11621
11699
  @SplitRule = splitrule
11622
11700
  @UpdatePeriodInfo = updateperiodinfo
11701
+ @EnableScope = enablescope
11623
11702
  end
11624
11703
 
11625
11704
  def deserialize(params)
@@ -11661,6 +11740,7 @@ module TencentCloud
11661
11740
  @UpdatePeriodInfo = UpdatePeriodInfo.new
11662
11741
  @UpdatePeriodInfo.deserialize(params['UpdatePeriodInfo'])
11663
11742
  end
11743
+ @EnableScope = params['EnableScope']
11664
11744
  end
11665
11745
  end
11666
11746
 
@@ -12701,14 +12781,17 @@ module TencentCloud
12701
12781
  # @type LoginUin: String
12702
12782
  # @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
12703
12783
  # @type LoginSubAccountUin: String
12784
+ # @param KnowledgeBizId: 用于操作共享知识库
12785
+ # @type KnowledgeBizId: String
12704
12786
 
12705
- attr_accessor :List, :BotBizId, :LoginUin, :LoginSubAccountUin
12787
+ attr_accessor :List, :BotBizId, :LoginUin, :LoginSubAccountUin, :KnowledgeBizId
12706
12788
 
12707
- def initialize(list=nil, botbizid=nil, loginuin=nil, loginsubaccountuin=nil)
12789
+ def initialize(list=nil, botbizid=nil, loginuin=nil, loginsubaccountuin=nil, knowledgebizid=nil)
12708
12790
  @List = list
12709
12791
  @BotBizId = botbizid
12710
12792
  @LoginUin = loginuin
12711
12793
  @LoginSubAccountUin = loginsubaccountuin
12794
+ @KnowledgeBizId = knowledgebizid
12712
12795
  end
12713
12796
 
12714
12797
  def deserialize(params)
@@ -12723,6 +12806,7 @@ module TencentCloud
12723
12806
  @BotBizId = params['BotBizId']
12724
12807
  @LoginUin = params['LoginUin']
12725
12808
  @LoginSubAccountUin = params['LoginSubAccountUin']
12809
+ @KnowledgeBizId = params['KnowledgeBizId']
12726
12810
  end
12727
12811
  end
12728
12812
 
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.1183
4
+ version: 3.0.1187
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-17 00:00:00.000000000 Z
11
+ date: 2025-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-lke.rb
37
- - lib/v20231130/models.rb
38
36
  - lib/v20231130/client.rb
37
+ - lib/v20231130/models.rb
38
+ - lib/tencentcloud-sdk-lke.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: