tencentcloud-sdk-lke 3.0.1063 → 3.0.1065
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 +3 -3
- data/lib/v20231130/models.rb +17 -37
- 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: 5c3baa5b99bc4877893afd3e68c779b397bb40f0
|
4
|
+
data.tar.gz: 11270e9363ce4e9fc0d9e145ca1004456e431334
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adf4fc35e13ac319b499c83df1dc217b2beffe6a70dfb8d072ad485ae0846266a6e2e92d0e5e6b40d1dd7989f1cc945c3c31e2ae7ca312522b26c77477041078
|
7
|
+
data.tar.gz: 151f52ea7f1f4d6de33a3fb0619a182bfe75632e91d890639addb7d9f1d5d777e34d24413a077212c7fea0db3fd75b276e7b3c4176789fab968e144e1d931cd3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1065
|
data/lib/v20231130/client.rb
CHANGED
@@ -2298,9 +2298,9 @@ module TencentCloud
|
|
2298
2298
|
|
2299
2299
|
# 知识库文档问答保存。
|
2300
2300
|
# 将文件存储到应用的知识库内需要三步:
|
2301
|
-
# 1.获取临时密钥,参考[接口文档](https://cloud.tencent.com/document/product/1759/105050)。获取临时密钥不同参数组合权限不一样,可参考 [
|
2302
|
-
# 2.调用腾讯云提供的 cos
|
2303
|
-
# 3
|
2301
|
+
# 1.获取临时密钥,参考[接口文档](https://cloud.tencent.com/document/product/1759/105050)。获取临时密钥不同参数组合权限不一样,可参考 [智能体开发平台操作 cos 指南](https://cloud.tencent.com/document/product/1759/116238)
|
2302
|
+
# 2.调用腾讯云提供的 cos 存储接口,将文件存储到智能体开发平台 cos 中:具体可参考[ COS SDK 概览](https://cloud.tencent.com/document/product/436/6474), 注意使用的是临时密钥的方式操作 COS
|
2303
|
+
# 3.调用本接口,将文件的基础信息存储到智能体开发平台中。
|
2304
2304
|
# 以上步骤可参考[文档](https://cloud.tencent.com/document/product/1759/108903),文档最后有[代码demo](https://cloud.tencent.com/document/product/1759/108903#demo),可作为参考。
|
2305
2305
|
|
2306
2306
|
# @param request: Request instance for SaveDoc.
|
data/lib/v20231130/models.rb
CHANGED
@@ -2585,16 +2585,12 @@ module TencentCloud
|
|
2585
2585
|
# @type AttrLabels: Array
|
2586
2586
|
# @param CateBizId: 分类ID
|
2587
2587
|
# @type CateBizId: String
|
2588
|
-
# @param CustomerKnowledgeId: 文档的用户自定义ID
|
2589
|
-
# @type CustomerKnowledgeId: String
|
2590
|
-
# @param AttributeFlags: 文档的属性标记,0: 不做用户外部权限校验
|
2591
|
-
# @type AttributeFlags: Array
|
2592
2588
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2593
2589
|
# @type RequestId: String
|
2594
2590
|
|
2595
|
-
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, :
|
2591
|
+
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, :RequestId
|
2596
2592
|
|
2597
|
-
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,
|
2593
|
+
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, requestid=nil)
|
2598
2594
|
@DocBizId = docbizid
|
2599
2595
|
@FileName = filename
|
2600
2596
|
@FileType = filetype
|
@@ -2619,8 +2615,6 @@ module TencentCloud
|
|
2619
2615
|
@AttrRange = attrrange
|
2620
2616
|
@AttrLabels = attrlabels
|
2621
2617
|
@CateBizId = catebizid
|
2622
|
-
@CustomerKnowledgeId = customerknowledgeid
|
2623
|
-
@AttributeFlags = attributeflags
|
2624
2618
|
@RequestId = requestid
|
2625
2619
|
end
|
2626
2620
|
|
@@ -2656,8 +2650,6 @@ module TencentCloud
|
|
2656
2650
|
end
|
2657
2651
|
end
|
2658
2652
|
@CateBizId = params['CateBizId']
|
2659
|
-
@CustomerKnowledgeId = params['CustomerKnowledgeId']
|
2660
|
-
@AttributeFlags = params['AttributeFlags']
|
2661
2653
|
@RequestId = params['RequestId']
|
2662
2654
|
end
|
2663
2655
|
end
|
@@ -4466,28 +4458,32 @@ module TencentCloud
|
|
4466
4458
|
class GetMsgRecordRequest < TencentCloud::Common::AbstractModel
|
4467
4459
|
# @param Type: 类型
|
4468
4460
|
# @type Type: Integer
|
4469
|
-
# @param Count: 数量, 数量需大于2
|
4461
|
+
# @param Count: 数量, 数量需大于2, 最大1000
|
4470
4462
|
# @type Count: Integer
|
4471
4463
|
# @param SessionId: 会话sessionid
|
4472
4464
|
# @type SessionId: String
|
4473
|
-
# @param LastRecordId: 最后一条记录ID
|
4474
|
-
# @type LastRecordId: String
|
4475
4465
|
# @param BotAppKey: 应用AppKey, 当Type=5[API访客]时, 该字段必填 :</br> 获取方式:</br> 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取</br> 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项
|
4476
4466
|
# @type BotAppKey: String
|
4477
4467
|
# @param Scene: 场景, 体验: 1; 正式: 2
|
4478
4468
|
# @type Scene: Integer
|
4469
|
+
# @param LastRecordId: 最后一条记录ID, 消息从后往前获取
|
4470
|
+
|
4471
|
+
# MidRecordId与LastRecordId只能选择一个
|
4472
|
+
# @type LastRecordId: String
|
4479
4473
|
# @param MidRecordId: 传该值,代表拉取该记录id的前后总共count条消息记录
|
4474
|
+
|
4475
|
+
# MidRecordId与LastRecordId只能选择一个
|
4480
4476
|
# @type MidRecordId: String
|
4481
4477
|
|
4482
|
-
attr_accessor :Type, :Count, :SessionId, :
|
4478
|
+
attr_accessor :Type, :Count, :SessionId, :BotAppKey, :Scene, :LastRecordId, :MidRecordId
|
4483
4479
|
|
4484
|
-
def initialize(type=nil, count=nil, sessionid=nil,
|
4480
|
+
def initialize(type=nil, count=nil, sessionid=nil, botappkey=nil, scene=nil, lastrecordid=nil, midrecordid=nil)
|
4485
4481
|
@Type = type
|
4486
4482
|
@Count = count
|
4487
4483
|
@SessionId = sessionid
|
4488
|
-
@LastRecordId = lastrecordid
|
4489
4484
|
@BotAppKey = botappkey
|
4490
4485
|
@Scene = scene
|
4486
|
+
@LastRecordId = lastrecordid
|
4491
4487
|
@MidRecordId = midrecordid
|
4492
4488
|
end
|
4493
4489
|
|
@@ -4495,9 +4491,9 @@ module TencentCloud
|
|
4495
4491
|
@Type = params['Type']
|
4496
4492
|
@Count = params['Count']
|
4497
4493
|
@SessionId = params['SessionId']
|
4498
|
-
@LastRecordId = params['LastRecordId']
|
4499
4494
|
@BotAppKey = params['BotAppKey']
|
4500
4495
|
@Scene = params['Scene']
|
4496
|
+
@LastRecordId = params['LastRecordId']
|
4501
4497
|
@MidRecordId = params['MidRecordId']
|
4502
4498
|
end
|
4503
4499
|
end
|
@@ -7549,14 +7545,10 @@ module TencentCloud
|
|
7549
7545
|
# @type ExpireEnd: String
|
7550
7546
|
# @param CateBizId: 分类ID
|
7551
7547
|
# @type CateBizId: String
|
7552
|
-
# @param CustomerKnowledgeId: 文档的用户自定义ID
|
7553
|
-
# @type CustomerKnowledgeId: String
|
7554
|
-
# @param AttributeFlags: 文档的属性标记,0: 不做用户外部权限校验
|
7555
|
-
# @type AttributeFlags: Array
|
7556
7548
|
|
7557
|
-
attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId
|
7549
|
+
attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId
|
7558
7550
|
|
7559
|
-
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
|
7551
|
+
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)
|
7560
7552
|
@BotBizId = botbizid
|
7561
7553
|
@DocBizId = docbizid
|
7562
7554
|
@IsRefer = isrefer
|
@@ -7569,8 +7561,6 @@ module TencentCloud
|
|
7569
7561
|
@ExpireStart = expirestart
|
7570
7562
|
@ExpireEnd = expireend
|
7571
7563
|
@CateBizId = catebizid
|
7572
|
-
@CustomerKnowledgeId = customerknowledgeid
|
7573
|
-
@AttributeFlags = attributeflags
|
7574
7564
|
end
|
7575
7565
|
|
7576
7566
|
def deserialize(params)
|
@@ -7593,8 +7583,6 @@ module TencentCloud
|
|
7593
7583
|
@ExpireStart = params['ExpireStart']
|
7594
7584
|
@ExpireEnd = params['ExpireEnd']
|
7595
7585
|
@CateBizId = params['CateBizId']
|
7596
|
-
@CustomerKnowledgeId = params['CustomerKnowledgeId']
|
7597
|
-
@AttributeFlags = params['AttributeFlags']
|
7598
7586
|
end
|
7599
7587
|
end
|
7600
7588
|
|
@@ -9389,14 +9377,10 @@ module TencentCloud
|
|
9389
9377
|
# @type Opt: Integer
|
9390
9378
|
# @param CateBizId: 分类ID
|
9391
9379
|
# @type CateBizId: String
|
9392
|
-
# @param CustomerKnowledgeId: 文档的用户自定义ID
|
9393
|
-
# @type CustomerKnowledgeId: String
|
9394
|
-
# @param AttributeFlags: 文档的属性标记,0: 不做用户外部权限校验
|
9395
|
-
# @type AttributeFlags: Array
|
9396
9380
|
|
9397
|
-
attr_accessor :BotBizId, :FileName, :FileType, :CosUrl, :ETag, :CosHash, :Size, :AttrRange, :Source, :WebUrl, :AttrLabels, :ReferUrlType, :ExpireStart, :ExpireEnd, :IsRefer, :Opt, :CateBizId
|
9381
|
+
attr_accessor :BotBizId, :FileName, :FileType, :CosUrl, :ETag, :CosHash, :Size, :AttrRange, :Source, :WebUrl, :AttrLabels, :ReferUrlType, :ExpireStart, :ExpireEnd, :IsRefer, :Opt, :CateBizId
|
9398
9382
|
|
9399
|
-
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
|
9383
|
+
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)
|
9400
9384
|
@BotBizId = botbizid
|
9401
9385
|
@FileName = filename
|
9402
9386
|
@FileType = filetype
|
@@ -9414,8 +9398,6 @@ module TencentCloud
|
|
9414
9398
|
@IsRefer = isrefer
|
9415
9399
|
@Opt = opt
|
9416
9400
|
@CateBizId = catebizid
|
9417
|
-
@CustomerKnowledgeId = customerknowledgeid
|
9418
|
-
@AttributeFlags = attributeflags
|
9419
9401
|
end
|
9420
9402
|
|
9421
9403
|
def deserialize(params)
|
@@ -9443,8 +9425,6 @@ module TencentCloud
|
|
9443
9425
|
@IsRefer = params['IsRefer']
|
9444
9426
|
@Opt = params['Opt']
|
9445
9427
|
@CateBizId = params['CateBizId']
|
9446
|
-
@CustomerKnowledgeId = params['CustomerKnowledgeId']
|
9447
|
-
@AttributeFlags = params['AttributeFlags']
|
9448
9428
|
end
|
9449
9429
|
end
|
9450
9430
|
|
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.1065
|
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-05-
|
11
|
+
date: 2025-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|