tencentcloud-sdk-lke 3.0.1074 → 3.0.1079
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 +168 -0
- data/lib/v20231130/models.rb +685 -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: ef1803a3c9178f66cf9e42ae2694b85bd5f67fe4
|
4
|
+
data.tar.gz: 2a3796f6ad2a9d050bbbacafa7d03aa1ecee3d56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ee2d463d71718634b4931bbc048bdd15e74e6b599ea92a0f5515c47908784ec4ebcf10da284a2b8d835c629fafc67d193d7859b43097ecca2f6a6fdaeaedf91
|
7
|
+
data.tar.gz: 1d9169c11495f1191ce68fd2b4db3a190b19fccbc1c996f73851d81eefb4771e9bf18feb9eba1adcb88ce7342d59eda782b3ad23f58c79e2f5167fb32d05ef2d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1079
|
data/lib/v20231130/client.rb
CHANGED
@@ -295,6 +295,30 @@ module TencentCloud
|
|
295
295
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
296
296
|
end
|
297
297
|
|
298
|
+
# 创建共享知识库。
|
299
|
+
|
300
|
+
# @param request: Request instance for CreateSharedKnowledge.
|
301
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::CreateSharedKnowledgeRequest`
|
302
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::CreateSharedKnowledgeResponse`
|
303
|
+
def CreateSharedKnowledge(request)
|
304
|
+
body = send_request('CreateSharedKnowledge', request.serialize)
|
305
|
+
response = JSON.parse(body)
|
306
|
+
if response['Response'].key?('Error') == false
|
307
|
+
model = CreateSharedKnowledgeResponse.new
|
308
|
+
model.deserialize(response['Response'])
|
309
|
+
model
|
310
|
+
else
|
311
|
+
code = response['Response']['Error']['Code']
|
312
|
+
message = response['Response']['Error']['Message']
|
313
|
+
reqid = response['Response']['RequestId']
|
314
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
315
|
+
end
|
316
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
317
|
+
raise e
|
318
|
+
rescue StandardError => e
|
319
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
320
|
+
end
|
321
|
+
|
298
322
|
# 创建变量
|
299
323
|
|
300
324
|
# @param request: Request instance for CreateVar.
|
@@ -487,6 +511,30 @@ module TencentCloud
|
|
487
511
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
488
512
|
end
|
489
513
|
|
514
|
+
# 删除共享知识库。
|
515
|
+
|
516
|
+
# @param request: Request instance for DeleteSharedKnowledge.
|
517
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::DeleteSharedKnowledgeRequest`
|
518
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::DeleteSharedKnowledgeResponse`
|
519
|
+
def DeleteSharedKnowledge(request)
|
520
|
+
body = send_request('DeleteSharedKnowledge', request.serialize)
|
521
|
+
response = JSON.parse(body)
|
522
|
+
if response['Response'].key?('Error') == false
|
523
|
+
model = DeleteSharedKnowledgeResponse.new
|
524
|
+
model.deserialize(response['Response'])
|
525
|
+
model
|
526
|
+
else
|
527
|
+
code = response['Response']['Error']['Code']
|
528
|
+
message = response['Response']['Error']['Message']
|
529
|
+
reqid = response['Response']['RequestId']
|
530
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
531
|
+
end
|
532
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
533
|
+
raise e
|
534
|
+
rescue StandardError => e
|
535
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
536
|
+
end
|
537
|
+
|
490
538
|
# 获取企业下应用详情
|
491
539
|
|
492
540
|
# @param request: Request instance for DescribeApp.
|
@@ -871,6 +919,30 @@ module TencentCloud
|
|
871
919
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
872
920
|
end
|
873
921
|
|
922
|
+
# 查询共享知识库。
|
923
|
+
|
924
|
+
# @param request: Request instance for DescribeSharedKnowledge.
|
925
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::DescribeSharedKnowledgeRequest`
|
926
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::DescribeSharedKnowledgeResponse`
|
927
|
+
def DescribeSharedKnowledge(request)
|
928
|
+
body = send_request('DescribeSharedKnowledge', request.serialize)
|
929
|
+
response = JSON.parse(body)
|
930
|
+
if response['Response'].key?('Error') == false
|
931
|
+
model = DescribeSharedKnowledgeResponse.new
|
932
|
+
model.deserialize(response['Response'])
|
933
|
+
model
|
934
|
+
else
|
935
|
+
code = response['Response']['Error']['Code']
|
936
|
+
message = response['Response']['Error']['Message']
|
937
|
+
reqid = response['Response']['RequestId']
|
938
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
939
|
+
end
|
940
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
941
|
+
raise e
|
942
|
+
rescue StandardError => e
|
943
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
944
|
+
end
|
945
|
+
|
874
946
|
# 获取文件上传临时密钥
|
875
947
|
|
876
948
|
# @param request: Request instance for DescribeStorageCredential.
|
@@ -1642,6 +1714,30 @@ module TencentCloud
|
|
1642
1714
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1643
1715
|
end
|
1644
1716
|
|
1717
|
+
# 查看应用引用了哪些共享知识库,可以看到共享知识库的基础信息,包括名称,id等
|
1718
|
+
|
1719
|
+
# @param request: Request instance for ListReferShareKnowledge.
|
1720
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::ListReferShareKnowledgeRequest`
|
1721
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::ListReferShareKnowledgeResponse`
|
1722
|
+
def ListReferShareKnowledge(request)
|
1723
|
+
body = send_request('ListReferShareKnowledge', request.serialize)
|
1724
|
+
response = JSON.parse(body)
|
1725
|
+
if response['Response'].key?('Error') == false
|
1726
|
+
model = ListReferShareKnowledgeResponse.new
|
1727
|
+
model.deserialize(response['Response'])
|
1728
|
+
model
|
1729
|
+
else
|
1730
|
+
code = response['Response']['Error']['Code']
|
1731
|
+
message = response['Response']['Error']['Message']
|
1732
|
+
reqid = response['Response']['RequestId']
|
1733
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1734
|
+
end
|
1735
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1736
|
+
raise e
|
1737
|
+
rescue StandardError => e
|
1738
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1739
|
+
end
|
1740
|
+
|
1645
1741
|
# 获取拒答问题
|
1646
1742
|
|
1647
1743
|
# @param request: Request instance for ListRejectedQuestion.
|
@@ -1810,6 +1906,30 @@ module TencentCloud
|
|
1810
1906
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1811
1907
|
end
|
1812
1908
|
|
1909
|
+
# 列举共享知识库。
|
1910
|
+
|
1911
|
+
# @param request: Request instance for ListSharedKnowledge.
|
1912
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::ListSharedKnowledgeRequest`
|
1913
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::ListSharedKnowledgeResponse`
|
1914
|
+
def ListSharedKnowledge(request)
|
1915
|
+
body = send_request('ListSharedKnowledge', request.serialize)
|
1916
|
+
response = JSON.parse(body)
|
1917
|
+
if response['Response'].key?('Error') == false
|
1918
|
+
model = ListSharedKnowledgeResponse.new
|
1919
|
+
model.deserialize(response['Response'])
|
1920
|
+
model
|
1921
|
+
else
|
1922
|
+
code = response['Response']['Error']['Code']
|
1923
|
+
message = response['Response']['Error']['Message']
|
1924
|
+
reqid = response['Response']['RequestId']
|
1925
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1926
|
+
end
|
1927
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1928
|
+
raise e
|
1929
|
+
rescue StandardError => e
|
1930
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1931
|
+
end
|
1932
|
+
|
1813
1933
|
# 查询不满意回复列表
|
1814
1934
|
|
1815
1935
|
# @param request: Request instance for ListUnsatisfiedReply.
|
@@ -2149,6 +2269,30 @@ module TencentCloud
|
|
2149
2269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2150
2270
|
end
|
2151
2271
|
|
2272
|
+
# 应用引用共享知识库,可以引用一个或多个,每次都是全量覆盖
|
2273
|
+
|
2274
|
+
# @param request: Request instance for ReferShareKnowledge.
|
2275
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::ReferShareKnowledgeRequest`
|
2276
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::ReferShareKnowledgeResponse`
|
2277
|
+
def ReferShareKnowledge(request)
|
2278
|
+
body = send_request('ReferShareKnowledge', request.serialize)
|
2279
|
+
response = JSON.parse(body)
|
2280
|
+
if response['Response'].key?('Error') == false
|
2281
|
+
model = ReferShareKnowledgeResponse.new
|
2282
|
+
model.deserialize(response['Response'])
|
2283
|
+
model
|
2284
|
+
else
|
2285
|
+
code = response['Response']['Error']['Code']
|
2286
|
+
message = response['Response']['Error']['Message']
|
2287
|
+
reqid = response['Response']['RequestId']
|
2288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2289
|
+
end
|
2290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2291
|
+
raise e
|
2292
|
+
rescue StandardError => e
|
2293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2294
|
+
end
|
2295
|
+
|
2152
2296
|
# 文档重命名
|
2153
2297
|
|
2154
2298
|
# @param request: Request instance for RenameDoc.
|
@@ -2322,6 +2466,30 @@ module TencentCloud
|
|
2322
2466
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2323
2467
|
end
|
2324
2468
|
|
2469
|
+
# 更新共享知识库。
|
2470
|
+
|
2471
|
+
# @param request: Request instance for UpdateSharedKnowledge.
|
2472
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::UpdateSharedKnowledgeRequest`
|
2473
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::UpdateSharedKnowledgeResponse`
|
2474
|
+
def UpdateSharedKnowledge(request)
|
2475
|
+
body = send_request('UpdateSharedKnowledge', request.serialize)
|
2476
|
+
response = JSON.parse(body)
|
2477
|
+
if response['Response'].key?('Error') == false
|
2478
|
+
model = UpdateSharedKnowledgeResponse.new
|
2479
|
+
model.deserialize(response['Response'])
|
2480
|
+
model
|
2481
|
+
else
|
2482
|
+
code = response['Response']['Error']['Code']
|
2483
|
+
message = response['Response']['Error']['Message']
|
2484
|
+
reqid = response['Response']['RequestId']
|
2485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2486
|
+
end
|
2487
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2488
|
+
raise e
|
2489
|
+
rescue StandardError => e
|
2490
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2491
|
+
end
|
2492
|
+
|
2325
2493
|
# 上传导入属性标签
|
2326
2494
|
|
2327
2495
|
# @param request: Request instance for UploadAttributeLabel.
|