tencentcloud-sdk-dataagent 3.0.1185 → 3.0.1198

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20250513/models.rb +34 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22f900b78a9a51be698a266e0503ee56b14b64ef
4
- data.tar.gz: 2de10865510b0835973402a3a55adda08d6eac17
3
+ metadata.gz: ebaac5f5e787383aa3ebf5b572d547e83e4cc706
4
+ data.tar.gz: 01916a1ec91fda12083ac960f6ed47edf272d2dc
5
5
  SHA512:
6
- metadata.gz: 3322cba2542f20b663c34b07bc7207a8b0a44e5848f2d1d0dfa02e8535b74b0795d3360e84f711a5b90ff338253ea7638be52a7e7fc15ada1ac16acd0c25d954
7
- data.tar.gz: 6febac8a5631f666ab7a28159a68f98e30e6cbbee05f02aa2fa6cd2b9c06dbd2105ce30a4a516450dae3315cca9107e8ec96b280940fd6cbd41fe5c787027991
6
+ metadata.gz: 935da05ba51b08913c002ddf4f4837ada90b90554d0ce40f594d2413481b011ad8cbbac57d0d825a3dadedf323cfc7f99fcdb01a8506e7a6a5a02d8c83dba2a8
7
+ data.tar.gz: 032bb57301ff32b1b1ad8eec94a222a89c0b2ff97c73c135e6bc9cf46edf58b35f91afb28d8a9977ef8780f7d7d20cef466ec68a047cec84195bbd2fdd7cd438
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1185
1
+ 3.0.1198
@@ -31,16 +31,19 @@ module TencentCloud
31
31
  # @type Content: String
32
32
  # @param AfterChunkId: 新 Chunk 插入到目标 Chunk ​之后的位置。插入位置的上一个 chunkId
33
33
  # @type AfterChunkId: String
34
+ # @param KnowledgeBaseId: 知识库id
35
+ # @type KnowledgeBaseId: String
34
36
 
35
- attr_accessor :InstanceId, :FileId, :BeforeChunkId, :InsertPos, :Content, :AfterChunkId
37
+ attr_accessor :InstanceId, :FileId, :BeforeChunkId, :InsertPos, :Content, :AfterChunkId, :KnowledgeBaseId
36
38
 
37
- def initialize(instanceid=nil, fileid=nil, beforechunkid=nil, insertpos=nil, content=nil, afterchunkid=nil)
39
+ def initialize(instanceid=nil, fileid=nil, beforechunkid=nil, insertpos=nil, content=nil, afterchunkid=nil, knowledgebaseid=nil)
38
40
  @InstanceId = instanceid
39
41
  @FileId = fileid
40
42
  @BeforeChunkId = beforechunkid
41
43
  @InsertPos = insertpos
42
44
  @Content = content
43
45
  @AfterChunkId = afterchunkid
46
+ @KnowledgeBaseId = knowledgebaseid
44
47
  end
45
48
 
46
49
  def deserialize(params)
@@ -50,6 +53,7 @@ module TencentCloud
50
53
  @InsertPos = params['InsertPos']
51
54
  @Content = params['Content']
52
55
  @AfterChunkId = params['AfterChunkId']
56
+ @KnowledgeBaseId = params['KnowledgeBaseId']
53
57
  end
54
58
  end
55
59
 
@@ -269,19 +273,23 @@ module TencentCloud
269
273
  # @type FileId: String
270
274
  # @param ChunkIds: 切片ID
271
275
  # @type ChunkIds: Array
276
+ # @param KnowledgeBaseId: 知识库id
277
+ # @type KnowledgeBaseId: String
272
278
 
273
- attr_accessor :InstanceId, :FileId, :ChunkIds
279
+ attr_accessor :InstanceId, :FileId, :ChunkIds, :KnowledgeBaseId
274
280
 
275
- def initialize(instanceid=nil, fileid=nil, chunkids=nil)
281
+ def initialize(instanceid=nil, fileid=nil, chunkids=nil, knowledgebaseid=nil)
276
282
  @InstanceId = instanceid
277
283
  @FileId = fileid
278
284
  @ChunkIds = chunkids
285
+ @KnowledgeBaseId = knowledgebaseid
279
286
  end
280
287
 
281
288
  def deserialize(params)
282
289
  @InstanceId = params['InstanceId']
283
290
  @FileId = params['FileId']
284
291
  @ChunkIds = params['ChunkIds']
292
+ @KnowledgeBaseId = params['KnowledgeBaseId']
285
293
  end
286
294
  end
287
295
 
@@ -753,14 +761,17 @@ module TencentCloud
753
761
  # @type ChunkId: String
754
762
  # @param Content: 编辑后的文本
755
763
  # @type Content: String
764
+ # @param KnowledgeBaseId: 知识库id
765
+ # @type KnowledgeBaseId: String
756
766
 
757
- attr_accessor :InstanceId, :FileId, :ChunkId, :Content
767
+ attr_accessor :InstanceId, :FileId, :ChunkId, :Content, :KnowledgeBaseId
758
768
 
759
- def initialize(instanceid=nil, fileid=nil, chunkid=nil, content=nil)
769
+ def initialize(instanceid=nil, fileid=nil, chunkid=nil, content=nil, knowledgebaseid=nil)
760
770
  @InstanceId = instanceid
761
771
  @FileId = fileid
762
772
  @ChunkId = chunkid
763
773
  @Content = content
774
+ @KnowledgeBaseId = knowledgebaseid
764
775
  end
765
776
 
766
777
  def deserialize(params)
@@ -768,6 +779,7 @@ module TencentCloud
768
779
  @FileId = params['FileId']
769
780
  @ChunkId = params['ChunkId']
770
781
  @Content = params['Content']
782
+ @KnowledgeBaseId = params['KnowledgeBaseId']
771
783
  end
772
784
  end
773
785
 
@@ -799,15 +811,21 @@ module TencentCloud
799
811
  # @type KnowledgeBaseName: String
800
812
  # @param KnowledgeBaseDesc: 知识库描述,create和update时必填
801
813
  # @type KnowledgeBaseDesc: String
814
+ # @param UseScope: 1仅自己使用,2指定用户,0全员
815
+ # @type UseScope: Integer
816
+ # @param AuthorityUins: 可使用用户列表
817
+ # @type AuthorityUins: Array
802
818
 
803
- attr_accessor :InstanceId, :OperateType, :KnowledgeBaseId, :KnowledgeBaseName, :KnowledgeBaseDesc
819
+ attr_accessor :InstanceId, :OperateType, :KnowledgeBaseId, :KnowledgeBaseName, :KnowledgeBaseDesc, :UseScope, :AuthorityUins
804
820
 
805
- def initialize(instanceid=nil, operatetype=nil, knowledgebaseid=nil, knowledgebasename=nil, knowledgebasedesc=nil)
821
+ def initialize(instanceid=nil, operatetype=nil, knowledgebaseid=nil, knowledgebasename=nil, knowledgebasedesc=nil, usescope=nil, authorityuins=nil)
806
822
  @InstanceId = instanceid
807
823
  @OperateType = operatetype
808
824
  @KnowledgeBaseId = knowledgebaseid
809
825
  @KnowledgeBaseName = knowledgebasename
810
826
  @KnowledgeBaseDesc = knowledgebasedesc
827
+ @UseScope = usescope
828
+ @AuthorityUins = authorityuins
811
829
  end
812
830
 
813
831
  def deserialize(params)
@@ -816,6 +834,8 @@ module TencentCloud
816
834
  @KnowledgeBaseId = params['KnowledgeBaseId']
817
835
  @KnowledgeBaseName = params['KnowledgeBaseName']
818
836
  @KnowledgeBaseDesc = params['KnowledgeBaseDesc']
837
+ @UseScope = params['UseScope']
838
+ @AuthorityUins = params['AuthorityUins']
819
839
  end
820
840
  end
821
841
 
@@ -845,17 +865,21 @@ module TencentCloud
845
865
  # @type Page: Integer
846
866
  # @param PageSize: 默认一页展示 10 条
847
867
  # @type PageSize: Integer
868
+ # @param KnowledgeBaseId: 知识库id
869
+ # @type KnowledgeBaseId: String
848
870
 
849
- attr_accessor :Page, :PageSize
871
+ attr_accessor :Page, :PageSize, :KnowledgeBaseId
850
872
 
851
- def initialize(page=nil, pagesize=nil)
873
+ def initialize(page=nil, pagesize=nil, knowledgebaseid=nil)
852
874
  @Page = page
853
875
  @PageSize = pagesize
876
+ @KnowledgeBaseId = knowledgebaseid
854
877
  end
855
878
 
856
879
  def deserialize(params)
857
880
  @Page = params['Page']
858
881
  @PageSize = params['PageSize']
882
+ @KnowledgeBaseId = params['KnowledgeBaseId']
859
883
  end
860
884
  end
861
885
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dataagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1185
4
+ version: 3.0.1198
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-19 00:00:00.000000000 Z
11
+ date: 2026-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common