tencentcloud-sdk-lke 3.0.1185 → 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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20231130/client.rb +6 -0
- data/lib/v20231130/models.rb +121 -41
- 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: ba7193512f7afccc8042f69f9d7baa06f2cffb85
|
|
4
|
+
data.tar.gz: d6aaed39ae6f084f99abf19f9ed26eccb1f09cf7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9a4e3f44b246833e38c058cec82d4937e0f15d367aa4b2fbbf244813f431ff656f1ef2ff30312c8588ae765b7b43f2bd74e79ba65acf0959c5eadb2d60d68dc
|
|
7
|
+
data.tar.gz: 1b5385cef3e28e75b5e9eb4c61a3de80c27b38ecc3b6e9db7628c7958c06b7c15a2d048a64e4d3650fc46ebecce1db432cbdd33df1bae2f51c99ec29a4f9513b
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1187
|
data/lib/v20231130/client.rb
CHANGED
|
@@ -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`
|
data/lib/v20231130/models.rb
CHANGED
|
@@ -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:
|
|
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
|
|
|
@@ -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
|
|
@@ -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
|
|
|
@@ -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:
|
|
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:
|
|
9617
|
+
# @param ExpireStart: 有效开始时间,单位为unix时间戳
|
|
9553
9618
|
# @type ExpireStart: String
|
|
9554
|
-
# @param ExpireEnd:
|
|
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:
|
|
9817
|
+
# @param ExpireStart: 有效开始时间,单位是unix时间戳,默认值为0,代表永久有效
|
|
9746
9818
|
# @type ExpireStart: String
|
|
9747
|
-
# @param ExpireEnd:
|
|
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
|
|
|
@@ -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:
|
|
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
|
|
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:文档导入(正常导入单个文档) 默认为
|
|
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
|
|
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.
|
|
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-
|
|
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
|