tencentcloud-sdk-lke 3.0.909 → 3.0.910

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7bb005dfa73d73b4da0fb19ad0a0b7feed68af9
4
- data.tar.gz: aefd234a51a1082ff74c3ddbbbd876f1b3989189
3
+ metadata.gz: ef225a201154a8e66534b3e2cb33ae14f54ae941
4
+ data.tar.gz: ef2cbda06ab9bdea79fe3b5fabfdc40c5a2f72b2
5
5
  SHA512:
6
- metadata.gz: e2d4e926a7c7888702a4405fa1f289d067f3419c68a129ff5d6c160d30ac58199216b850ffcb9cbfac5494676bcc163e947b8ca9efc6750d26b41d4096ece990
7
- data.tar.gz: 86a84c91779c400f38cde2ea44ef75918de63e7ffc1d977824110622d371b406fb0e0284b5bee454e5bfe21e77e37ce10f40bf34da263febdcb63557913aa911
6
+ metadata.gz: 0110c8294a80c44ee62a9021986d59f24ef44740d4bec952c3d551de9484168e45911c32cce9457bf6b85985d8a6259d6daf1ef98fd5b02d9db95c745efb2c1d
7
+ data.tar.gz: d082cf61da0383fc02e819c9d30d0df6f6a86eb86502ecee1e51905b6f257a91a67024a6d3b8f3c80285e2d5b7cd55bc13a8b8a8c909a895930aa5a2d121de92
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.909
1
+ 3.0.910
@@ -488,6 +488,78 @@ module TencentCloud
488
488
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
489
489
  end
490
490
 
491
+ # 接口调用折线图
492
+
493
+ # @param request: Request instance for DescribeCallStatsGraph.
494
+ # @type request: :class:`Tencentcloud::lke::V20231130::DescribeCallStatsGraphRequest`
495
+ # @rtype: :class:`Tencentcloud::lke::V20231130::DescribeCallStatsGraphResponse`
496
+ def DescribeCallStatsGraph(request)
497
+ body = send_request('DescribeCallStatsGraph', request.serialize)
498
+ response = JSON.parse(body)
499
+ if response['Response'].key?('Error') == false
500
+ model = DescribeCallStatsGraphResponse.new
501
+ model.deserialize(response['Response'])
502
+ model
503
+ else
504
+ code = response['Response']['Error']['Code']
505
+ message = response['Response']['Error']['Message']
506
+ reqid = response['Response']['RequestId']
507
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
508
+ end
509
+ rescue TencentCloud::Common::TencentCloudSDKException => e
510
+ raise e
511
+ rescue StandardError => e
512
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
513
+ end
514
+
515
+ # 并发调用响应
516
+
517
+ # @param request: Request instance for DescribeConcurrencyUsage.
518
+ # @type request: :class:`Tencentcloud::lke::V20231130::DescribeConcurrencyUsageRequest`
519
+ # @rtype: :class:`Tencentcloud::lke::V20231130::DescribeConcurrencyUsageResponse`
520
+ def DescribeConcurrencyUsage(request)
521
+ body = send_request('DescribeConcurrencyUsage', request.serialize)
522
+ response = JSON.parse(body)
523
+ if response['Response'].key?('Error') == false
524
+ model = DescribeConcurrencyUsageResponse.new
525
+ model.deserialize(response['Response'])
526
+ model
527
+ else
528
+ code = response['Response']['Error']['Code']
529
+ message = response['Response']['Error']['Message']
530
+ reqid = response['Response']['RequestId']
531
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
532
+ end
533
+ rescue TencentCloud::Common::TencentCloudSDKException => e
534
+ raise e
535
+ rescue StandardError => e
536
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
537
+ end
538
+
539
+ # 并发调用折线图
540
+
541
+ # @param request: Request instance for DescribeConcurrencyUsageGraph.
542
+ # @type request: :class:`Tencentcloud::lke::V20231130::DescribeConcurrencyUsageGraphRequest`
543
+ # @rtype: :class:`Tencentcloud::lke::V20231130::DescribeConcurrencyUsageGraphResponse`
544
+ def DescribeConcurrencyUsageGraph(request)
545
+ body = send_request('DescribeConcurrencyUsageGraph', request.serialize)
546
+ response = JSON.parse(body)
547
+ if response['Response'].key?('Error') == false
548
+ model = DescribeConcurrencyUsageGraphResponse.new
549
+ model.deserialize(response['Response'])
550
+ model
551
+ else
552
+ code = response['Response']['Error']['Code']
553
+ message = response['Response']['Error']['Message']
554
+ reqid = response['Response']['RequestId']
555
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
556
+ end
557
+ rescue TencentCloud::Common::TencentCloudSDKException => e
558
+ raise e
559
+ rescue StandardError => e
560
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
561
+ end
562
+
491
563
  # 企业详情
492
564
 
493
565
  # @param request: Request instance for DescribeCorp.
@@ -536,6 +608,54 @@ module TencentCloud
536
608
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
537
609
  end
538
610
 
611
+ # 查询知识库用量
612
+
613
+ # @param request: Request instance for DescribeKnowledgeUsage.
614
+ # @type request: :class:`Tencentcloud::lke::V20231130::DescribeKnowledgeUsageRequest`
615
+ # @rtype: :class:`Tencentcloud::lke::V20231130::DescribeKnowledgeUsageResponse`
616
+ def DescribeKnowledgeUsage(request)
617
+ body = send_request('DescribeKnowledgeUsage', request.serialize)
618
+ response = JSON.parse(body)
619
+ if response['Response'].key?('Error') == false
620
+ model = DescribeKnowledgeUsageResponse.new
621
+ model.deserialize(response['Response'])
622
+ model
623
+ else
624
+ code = response['Response']['Error']['Code']
625
+ message = response['Response']['Error']['Message']
626
+ reqid = response['Response']['RequestId']
627
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
628
+ end
629
+ rescue TencentCloud::Common::TencentCloudSDKException => e
630
+ raise e
631
+ rescue StandardError => e
632
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
633
+ end
634
+
635
+ # 查询企业知识库容量饼图
636
+
637
+ # @param request: Request instance for DescribeKnowledgeUsagePieGraph.
638
+ # @type request: :class:`Tencentcloud::lke::V20231130::DescribeKnowledgeUsagePieGraphRequest`
639
+ # @rtype: :class:`Tencentcloud::lke::V20231130::DescribeKnowledgeUsagePieGraphResponse`
640
+ def DescribeKnowledgeUsagePieGraph(request)
641
+ body = send_request('DescribeKnowledgeUsagePieGraph', request.serialize)
642
+ response = JSON.parse(body)
643
+ if response['Response'].key?('Error') == false
644
+ model = DescribeKnowledgeUsagePieGraphResponse.new
645
+ model.deserialize(response['Response'])
646
+ model
647
+ else
648
+ code = response['Response']['Error']['Code']
649
+ message = response['Response']['Error']['Message']
650
+ reqid = response['Response']['RequestId']
651
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
652
+ end
653
+ rescue TencentCloud::Common::TencentCloudSDKException => e
654
+ raise e
655
+ rescue StandardError => e
656
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
657
+ end
658
+
539
659
  # 问答详情
540
660
 
541
661
  # @param request: Request instance for DescribeQA.
@@ -656,6 +776,30 @@ module TencentCloud
656
776
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
657
777
  end
658
778
 
779
+ # 查询搜索服务调用折线图
780
+
781
+ # @param request: Request instance for DescribeSearchStatsGraph.
782
+ # @type request: :class:`Tencentcloud::lke::V20231130::DescribeSearchStatsGraphRequest`
783
+ # @rtype: :class:`Tencentcloud::lke::V20231130::DescribeSearchStatsGraphResponse`
784
+ def DescribeSearchStatsGraph(request)
785
+ body = send_request('DescribeSearchStatsGraph', request.serialize)
786
+ response = JSON.parse(body)
787
+ if response['Response'].key?('Error') == false
788
+ model = DescribeSearchStatsGraphResponse.new
789
+ model.deserialize(response['Response'])
790
+ model
791
+ else
792
+ code = response['Response']['Error']['Code']
793
+ message = response['Response']['Error']['Message']
794
+ reqid = response['Response']['RequestId']
795
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
796
+ end
797
+ rescue TencentCloud::Common::TencentCloudSDKException => e
798
+ raise e
799
+ rescue StandardError => e
800
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
801
+ end
802
+
659
803
  # 获取片段详情
660
804
 
661
805
  # @param request: Request instance for DescribeSegments.
@@ -704,6 +848,54 @@ module TencentCloud
704
848
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
705
849
  end
706
850
 
851
+ # 接口调用token详情
852
+
853
+ # @param request: Request instance for DescribeTokenUsage.
854
+ # @type request: :class:`Tencentcloud::lke::V20231130::DescribeTokenUsageRequest`
855
+ # @rtype: :class:`Tencentcloud::lke::V20231130::DescribeTokenUsageResponse`
856
+ def DescribeTokenUsage(request)
857
+ body = send_request('DescribeTokenUsage', request.serialize)
858
+ response = JSON.parse(body)
859
+ if response['Response'].key?('Error') == false
860
+ model = DescribeTokenUsageResponse.new
861
+ model.deserialize(response['Response'])
862
+ model
863
+ else
864
+ code = response['Response']['Error']['Code']
865
+ message = response['Response']['Error']['Message']
866
+ reqid = response['Response']['RequestId']
867
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
868
+ end
869
+ rescue TencentCloud::Common::TencentCloudSDKException => e
870
+ raise e
871
+ rescue StandardError => e
872
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
873
+ end
874
+
875
+ # 接口调用token折线图
876
+
877
+ # @param request: Request instance for DescribeTokenUsageGraph.
878
+ # @type request: :class:`Tencentcloud::lke::V20231130::DescribeTokenUsageGraphRequest`
879
+ # @rtype: :class:`Tencentcloud::lke::V20231130::DescribeTokenUsageGraphResponse`
880
+ def DescribeTokenUsageGraph(request)
881
+ body = send_request('DescribeTokenUsageGraph', request.serialize)
882
+ response = JSON.parse(body)
883
+ if response['Response'].key?('Error') == false
884
+ model = DescribeTokenUsageGraphResponse.new
885
+ model.deserialize(response['Response'])
886
+ model
887
+ else
888
+ code = response['Response']['Error']['Code']
889
+ message = response['Response']['Error']['Message']
890
+ reqid = response['Response']['RequestId']
891
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
892
+ end
893
+ rescue TencentCloud::Common::TencentCloudSDKException => e
894
+ raise e
895
+ rescue StandardError => e
896
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
897
+ end
898
+
707
899
  # 获取不满意回复上下文
708
900
 
709
901
  # @param request: Request instance for DescribeUnsatisfiedReplyContext.
@@ -1555,6 +1555,206 @@ module TencentCloud
1555
1555
  end
1556
1556
  end
1557
1557
 
1558
+ # DescribeCallStatsGraph请求参数结构体
1559
+ class DescribeCallStatsGraphRequest < TencentCloud::Common::AbstractModel
1560
+ # @param UinAccount: uin
1561
+ # @type UinAccount: Array
1562
+ # @param LoginUin: 登录用户主账号(集成商模式必填)
1563
+ # @type LoginUin: String
1564
+ # @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
1565
+ # @type LoginSubAccountUin: String
1566
+ # @param SubBizType: 子业务类型
1567
+ # @type SubBizType: String
1568
+ # @param ModelName: 模型标识
1569
+ # @type ModelName: String
1570
+ # @param StartTime: 开始时间
1571
+ # @type StartTime: String
1572
+ # @param EndTime: 结束时间
1573
+ # @type EndTime: String
1574
+ # @param AppBizIds: 应用id列表
1575
+ # @type AppBizIds: Array
1576
+
1577
+ attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds
1578
+
1579
+ def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
1580
+ @UinAccount = uinaccount
1581
+ @LoginUin = loginuin
1582
+ @LoginSubAccountUin = loginsubaccountuin
1583
+ @SubBizType = subbiztype
1584
+ @ModelName = modelname
1585
+ @StartTime = starttime
1586
+ @EndTime = endtime
1587
+ @AppBizIds = appbizids
1588
+ end
1589
+
1590
+ def deserialize(params)
1591
+ @UinAccount = params['UinAccount']
1592
+ @LoginUin = params['LoginUin']
1593
+ @LoginSubAccountUin = params['LoginSubAccountUin']
1594
+ @SubBizType = params['SubBizType']
1595
+ @ModelName = params['ModelName']
1596
+ @StartTime = params['StartTime']
1597
+ @EndTime = params['EndTime']
1598
+ @AppBizIds = params['AppBizIds']
1599
+ end
1600
+ end
1601
+
1602
+ # DescribeCallStatsGraph返回参数结构体
1603
+ class DescribeCallStatsGraphResponse < TencentCloud::Common::AbstractModel
1604
+ # @param List: 统计信息
1605
+ # 注意:此字段可能返回 null,表示取不到有效值。
1606
+ # @type List: Array
1607
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1608
+ # @type RequestId: String
1609
+
1610
+ attr_accessor :List, :RequestId
1611
+
1612
+ def initialize(list=nil, requestid=nil)
1613
+ @List = list
1614
+ @RequestId = requestid
1615
+ end
1616
+
1617
+ def deserialize(params)
1618
+ unless params['List'].nil?
1619
+ @List = []
1620
+ params['List'].each do |i|
1621
+ stat_tmp = Stat.new
1622
+ stat_tmp.deserialize(i)
1623
+ @List << stat_tmp
1624
+ end
1625
+ end
1626
+ @RequestId = params['RequestId']
1627
+ end
1628
+ end
1629
+
1630
+ # DescribeConcurrencyUsageGraph请求参数结构体
1631
+ class DescribeConcurrencyUsageGraphRequest < TencentCloud::Common::AbstractModel
1632
+ # @param ModelName: 模型标识
1633
+ # @type ModelName: String
1634
+ # @param StartTime: 开始时间
1635
+ # @type StartTime: String
1636
+ # @param EndTime: 结束时间
1637
+ # @type EndTime: String
1638
+ # @param UinAccount: uin
1639
+ # @type UinAccount: Array
1640
+ # @param LoginUin: 登录用户主账号(集成商模式必填)
1641
+ # @type LoginUin: String
1642
+ # @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
1643
+ # @type LoginSubAccountUin: String
1644
+ # @param SubBizType: 子业务类型
1645
+ # @type SubBizType: String
1646
+ # @param AppBizIds: 应用id列表
1647
+ # @type AppBizIds: Array
1648
+
1649
+ attr_accessor :ModelName, :StartTime, :EndTime, :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :AppBizIds
1650
+
1651
+ def initialize(modelname=nil, starttime=nil, endtime=nil, uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, appbizids=nil)
1652
+ @ModelName = modelname
1653
+ @StartTime = starttime
1654
+ @EndTime = endtime
1655
+ @UinAccount = uinaccount
1656
+ @LoginUin = loginuin
1657
+ @LoginSubAccountUin = loginsubaccountuin
1658
+ @SubBizType = subbiztype
1659
+ @AppBizIds = appbizids
1660
+ end
1661
+
1662
+ def deserialize(params)
1663
+ @ModelName = params['ModelName']
1664
+ @StartTime = params['StartTime']
1665
+ @EndTime = params['EndTime']
1666
+ @UinAccount = params['UinAccount']
1667
+ @LoginUin = params['LoginUin']
1668
+ @LoginSubAccountUin = params['LoginSubAccountUin']
1669
+ @SubBizType = params['SubBizType']
1670
+ @AppBizIds = params['AppBizIds']
1671
+ end
1672
+ end
1673
+
1674
+ # DescribeConcurrencyUsageGraph返回参数结构体
1675
+ class DescribeConcurrencyUsageGraphResponse < TencentCloud::Common::AbstractModel
1676
+ # @param X: 统计信息
1677
+ # @type X: Array
1678
+ # @param AvailableY: 可用并发y轴坐标
1679
+ # @type AvailableY: Array
1680
+ # @param SuccessCallY: 成功调用并发y轴坐标
1681
+ # @type SuccessCallY: Array
1682
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1683
+ # @type RequestId: String
1684
+
1685
+ attr_accessor :X, :AvailableY, :SuccessCallY, :RequestId
1686
+
1687
+ def initialize(x=nil, availabley=nil, successcally=nil, requestid=nil)
1688
+ @X = x
1689
+ @AvailableY = availabley
1690
+ @SuccessCallY = successcally
1691
+ @RequestId = requestid
1692
+ end
1693
+
1694
+ def deserialize(params)
1695
+ @X = params['X']
1696
+ @AvailableY = params['AvailableY']
1697
+ @SuccessCallY = params['SuccessCallY']
1698
+ @RequestId = params['RequestId']
1699
+ end
1700
+ end
1701
+
1702
+ # DescribeConcurrencyUsage请求参数结构体
1703
+ class DescribeConcurrencyUsageRequest < TencentCloud::Common::AbstractModel
1704
+ # @param ModelName: 模型标识
1705
+ # @type ModelName: String
1706
+ # @param StartTime: 开始时间
1707
+ # @type StartTime: String
1708
+ # @param EndTime: 结束时间
1709
+ # @type EndTime: String
1710
+ # @param AppBizIds: 应用id列表
1711
+ # @type AppBizIds: Array
1712
+
1713
+ attr_accessor :ModelName, :StartTime, :EndTime, :AppBizIds
1714
+
1715
+ def initialize(modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
1716
+ @ModelName = modelname
1717
+ @StartTime = starttime
1718
+ @EndTime = endtime
1719
+ @AppBizIds = appbizids
1720
+ end
1721
+
1722
+ def deserialize(params)
1723
+ @ModelName = params['ModelName']
1724
+ @StartTime = params['StartTime']
1725
+ @EndTime = params['EndTime']
1726
+ @AppBizIds = params['AppBizIds']
1727
+ end
1728
+ end
1729
+
1730
+ # DescribeConcurrencyUsage返回参数结构体
1731
+ class DescribeConcurrencyUsageResponse < TencentCloud::Common::AbstractModel
1732
+ # @param AvailableConcurrency: 可用并发数
1733
+ # @type AvailableConcurrency: Integer
1734
+ # @param ConcurrencyPeak: 并发峰值
1735
+ # @type ConcurrencyPeak: Integer
1736
+ # @param ExceedUsageTime: 调用超可用次数
1737
+ # @type ExceedUsageTime: Integer
1738
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1739
+ # @type RequestId: String
1740
+
1741
+ attr_accessor :AvailableConcurrency, :ConcurrencyPeak, :ExceedUsageTime, :RequestId
1742
+
1743
+ def initialize(availableconcurrency=nil, concurrencypeak=nil, exceedusagetime=nil, requestid=nil)
1744
+ @AvailableConcurrency = availableconcurrency
1745
+ @ConcurrencyPeak = concurrencypeak
1746
+ @ExceedUsageTime = exceedusagetime
1747
+ @RequestId = requestid
1748
+ end
1749
+
1750
+ def deserialize(params)
1751
+ @AvailableConcurrency = params['AvailableConcurrency']
1752
+ @ConcurrencyPeak = params['ConcurrencyPeak']
1753
+ @ExceedUsageTime = params['ExceedUsageTime']
1754
+ @RequestId = params['RequestId']
1755
+ end
1756
+ end
1757
+
1558
1758
  # DescribeCorp请求参数结构体
1559
1759
  class DescribeCorpRequest < TencentCloud::Common::AbstractModel
1560
1760
 
@@ -1729,6 +1929,88 @@ module TencentCloud
1729
1929
  end
1730
1930
  end
1731
1931
 
1932
+ # DescribeKnowledgeUsagePieGraph请求参数结构体
1933
+ class DescribeKnowledgeUsagePieGraphRequest < TencentCloud::Common::AbstractModel
1934
+ # @param AppBizIds: 应用ID数组
1935
+ # @type AppBizIds: Array
1936
+
1937
+ attr_accessor :AppBizIds
1938
+
1939
+ def initialize(appbizids=nil)
1940
+ @AppBizIds = appbizids
1941
+ end
1942
+
1943
+ def deserialize(params)
1944
+ @AppBizIds = params['AppBizIds']
1945
+ end
1946
+ end
1947
+
1948
+ # DescribeKnowledgeUsagePieGraph返回参数结构体
1949
+ class DescribeKnowledgeUsagePieGraphResponse < TencentCloud::Common::AbstractModel
1950
+ # @param AvailableCharSize: 所有应用已用的字符总数
1951
+ # @type AvailableCharSize: String
1952
+ # @param List: 应用饼图详情列表
1953
+ # @type List: Array
1954
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1955
+ # @type RequestId: String
1956
+
1957
+ attr_accessor :AvailableCharSize, :List, :RequestId
1958
+
1959
+ def initialize(availablecharsize=nil, list=nil, requestid=nil)
1960
+ @AvailableCharSize = availablecharsize
1961
+ @List = list
1962
+ @RequestId = requestid
1963
+ end
1964
+
1965
+ def deserialize(params)
1966
+ @AvailableCharSize = params['AvailableCharSize']
1967
+ unless params['List'].nil?
1968
+ @List = []
1969
+ params['List'].each do |i|
1970
+ knowledgecapacitypiegraphdetail_tmp = KnowledgeCapacityPieGraphDetail.new
1971
+ knowledgecapacitypiegraphdetail_tmp.deserialize(i)
1972
+ @List << knowledgecapacitypiegraphdetail_tmp
1973
+ end
1974
+ end
1975
+ @RequestId = params['RequestId']
1976
+ end
1977
+ end
1978
+
1979
+ # DescribeKnowledgeUsage请求参数结构体
1980
+ class DescribeKnowledgeUsageRequest < TencentCloud::Common::AbstractModel
1981
+
1982
+
1983
+ def initialize()
1984
+ end
1985
+
1986
+ def deserialize(params)
1987
+ end
1988
+ end
1989
+
1990
+ # DescribeKnowledgeUsage返回参数结构体
1991
+ class DescribeKnowledgeUsageResponse < TencentCloud::Common::AbstractModel
1992
+ # @param AvailableCharSize: 可用字符数
1993
+ # @type AvailableCharSize: String
1994
+ # @param ExceedCharSize: 超量字符数
1995
+ # @type ExceedCharSize: String
1996
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1997
+ # @type RequestId: String
1998
+
1999
+ attr_accessor :AvailableCharSize, :ExceedCharSize, :RequestId
2000
+
2001
+ def initialize(availablecharsize=nil, exceedcharsize=nil, requestid=nil)
2002
+ @AvailableCharSize = availablecharsize
2003
+ @ExceedCharSize = exceedcharsize
2004
+ @RequestId = requestid
2005
+ end
2006
+
2007
+ def deserialize(params)
2008
+ @AvailableCharSize = params['AvailableCharSize']
2009
+ @ExceedCharSize = params['ExceedCharSize']
2010
+ @RequestId = params['RequestId']
2011
+ end
2012
+ end
2013
+
1732
2014
  # DescribeQA请求参数结构体
1733
2015
  class DescribeQARequest < TencentCloud::Common::AbstractModel
1734
2016
  # @param QaBizId: QA业务ID
@@ -2077,6 +2359,78 @@ module TencentCloud
2077
2359
  end
2078
2360
  end
2079
2361
 
2362
+ # DescribeSearchStatsGraph请求参数结构体
2363
+ class DescribeSearchStatsGraphRequest < TencentCloud::Common::AbstractModel
2364
+ # @param LoginUin: 登录用户主账号(集成商模式必填)
2365
+ # @type LoginUin: String
2366
+ # @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
2367
+ # @type LoginSubAccountUin: String
2368
+ # @param UinAccount: uin列表
2369
+ # @type UinAccount: Array
2370
+ # @param SubBizType: 子业务类型
2371
+ # @type SubBizType: String
2372
+ # @param ModelName: 模型标识
2373
+ # @type ModelName: String
2374
+ # @param StartTime: 开始时间
2375
+ # @type StartTime: String
2376
+ # @param EndTime: 结束时间
2377
+ # @type EndTime: String
2378
+ # @param AppBizIds: 应用id列表
2379
+ # @type AppBizIds: Array
2380
+
2381
+ attr_accessor :LoginUin, :LoginSubAccountUin, :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds
2382
+
2383
+ def initialize(loginuin=nil, loginsubaccountuin=nil, uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
2384
+ @LoginUin = loginuin
2385
+ @LoginSubAccountUin = loginsubaccountuin
2386
+ @UinAccount = uinaccount
2387
+ @SubBizType = subbiztype
2388
+ @ModelName = modelname
2389
+ @StartTime = starttime
2390
+ @EndTime = endtime
2391
+ @AppBizIds = appbizids
2392
+ end
2393
+
2394
+ def deserialize(params)
2395
+ @LoginUin = params['LoginUin']
2396
+ @LoginSubAccountUin = params['LoginSubAccountUin']
2397
+ @UinAccount = params['UinAccount']
2398
+ @SubBizType = params['SubBizType']
2399
+ @ModelName = params['ModelName']
2400
+ @StartTime = params['StartTime']
2401
+ @EndTime = params['EndTime']
2402
+ @AppBizIds = params['AppBizIds']
2403
+ end
2404
+ end
2405
+
2406
+ # DescribeSearchStatsGraph返回参数结构体
2407
+ class DescribeSearchStatsGraphResponse < TencentCloud::Common::AbstractModel
2408
+ # @param List: 统计结果
2409
+ # 注意:此字段可能返回 null,表示取不到有效值。
2410
+ # @type List: Array
2411
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2412
+ # @type RequestId: String
2413
+
2414
+ attr_accessor :List, :RequestId
2415
+
2416
+ def initialize(list=nil, requestid=nil)
2417
+ @List = list
2418
+ @RequestId = requestid
2419
+ end
2420
+
2421
+ def deserialize(params)
2422
+ unless params['List'].nil?
2423
+ @List = []
2424
+ params['List'].each do |i|
2425
+ stat_tmp = Stat.new
2426
+ stat_tmp.deserialize(i)
2427
+ @List << stat_tmp
2428
+ end
2429
+ end
2430
+ @RequestId = params['RequestId']
2431
+ end
2432
+ end
2433
+
2080
2434
  # DescribeSegments请求参数结构体
2081
2435
  class DescribeSegmentsRequest < TencentCloud::Common::AbstractModel
2082
2436
  # @param BotBizId: 应用ID
@@ -2212,6 +2566,171 @@ module TencentCloud
2212
2566
  end
2213
2567
  end
2214
2568
 
2569
+ # DescribeTokenUsageGraph请求参数结构体
2570
+ class DescribeTokenUsageGraphRequest < TencentCloud::Common::AbstractModel
2571
+ # @param UinAccount: 腾讯云主账号
2572
+ # @type UinAccount: Array
2573
+ # @param SubBizType: 知识引擎子业务类型: FileParse(文档解析)、Embedding、Rewrite(多轮改写)、 Concurrency(并发)、KnowledgeSummary(知识总结) KnowledgeQA(知识问答)、KnowledgeCapacity(知识库容量)、SearchEngine(搜索引擎)
2574
+ # @type SubBizType: String
2575
+ # @param ModelName: 模型标识
2576
+ # @type ModelName: String
2577
+ # @param StartTime: 开始时间
2578
+ # @type StartTime: String
2579
+ # @param EndTime: 结束时间
2580
+ # @type EndTime: String
2581
+ # @param AppBizIds: 应用id列表
2582
+ # @type AppBizIds: Array
2583
+
2584
+ attr_accessor :UinAccount, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds
2585
+
2586
+ def initialize(uinaccount=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
2587
+ @UinAccount = uinaccount
2588
+ @SubBizType = subbiztype
2589
+ @ModelName = modelname
2590
+ @StartTime = starttime
2591
+ @EndTime = endtime
2592
+ @AppBizIds = appbizids
2593
+ end
2594
+
2595
+ def deserialize(params)
2596
+ @UinAccount = params['UinAccount']
2597
+ @SubBizType = params['SubBizType']
2598
+ @ModelName = params['ModelName']
2599
+ @StartTime = params['StartTime']
2600
+ @EndTime = params['EndTime']
2601
+ @AppBizIds = params['AppBizIds']
2602
+ end
2603
+ end
2604
+
2605
+ # DescribeTokenUsageGraph返回参数结构体
2606
+ class DescribeTokenUsageGraphResponse < TencentCloud::Common::AbstractModel
2607
+ # @param Total: 总消耗
2608
+ # @type Total: Array
2609
+ # @param Input: 输入消耗
2610
+ # @type Input: Array
2611
+ # @param Output: 输出消耗
2612
+ # @type Output: Array
2613
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2614
+ # @type RequestId: String
2615
+
2616
+ attr_accessor :Total, :Input, :Output, :RequestId
2617
+
2618
+ def initialize(total=nil, input=nil, output=nil, requestid=nil)
2619
+ @Total = total
2620
+ @Input = input
2621
+ @Output = output
2622
+ @RequestId = requestid
2623
+ end
2624
+
2625
+ def deserialize(params)
2626
+ unless params['Total'].nil?
2627
+ @Total = []
2628
+ params['Total'].each do |i|
2629
+ stat_tmp = Stat.new
2630
+ stat_tmp.deserialize(i)
2631
+ @Total << stat_tmp
2632
+ end
2633
+ end
2634
+ unless params['Input'].nil?
2635
+ @Input = []
2636
+ params['Input'].each do |i|
2637
+ stat_tmp = Stat.new
2638
+ stat_tmp.deserialize(i)
2639
+ @Input << stat_tmp
2640
+ end
2641
+ end
2642
+ unless params['Output'].nil?
2643
+ @Output = []
2644
+ params['Output'].each do |i|
2645
+ stat_tmp = Stat.new
2646
+ stat_tmp.deserialize(i)
2647
+ @Output << stat_tmp
2648
+ end
2649
+ end
2650
+ @RequestId = params['RequestId']
2651
+ end
2652
+ end
2653
+
2654
+ # DescribeTokenUsage请求参数结构体
2655
+ class DescribeTokenUsageRequest < TencentCloud::Common::AbstractModel
2656
+ # @param UinAccount: 腾讯云主账号
2657
+ # @type UinAccount: Array
2658
+ # @param LoginUin: 登录用户主账号(集成商模式必填)
2659
+ # @type LoginUin: String
2660
+ # @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
2661
+ # @type LoginSubAccountUin: String
2662
+ # @param SubBizType: 知识引擎子业务类型: FileParse(文档解析)、Embedding、Rewrite(多轮改写)、 Concurrency(并发)、KnowledgeSummary(知识总结) KnowledgeQA(知识问答)、KnowledgeCapacity(知识库容量)、SearchEngine(搜索引擎)
2663
+ # @type SubBizType: String
2664
+ # @param ModelName: 模型标识
2665
+ # @type ModelName: String
2666
+ # @param StartTime: 开始时间
2667
+ # @type StartTime: String
2668
+ # @param EndTime: 结束时间
2669
+ # @type EndTime: String
2670
+ # @param AppBizIds: 应用id列表
2671
+ # @type AppBizIds: Array
2672
+
2673
+ attr_accessor :UinAccount, :LoginUin, :LoginSubAccountUin, :SubBizType, :ModelName, :StartTime, :EndTime, :AppBizIds
2674
+
2675
+ def initialize(uinaccount=nil, loginuin=nil, loginsubaccountuin=nil, subbiztype=nil, modelname=nil, starttime=nil, endtime=nil, appbizids=nil)
2676
+ @UinAccount = uinaccount
2677
+ @LoginUin = loginuin
2678
+ @LoginSubAccountUin = loginsubaccountuin
2679
+ @SubBizType = subbiztype
2680
+ @ModelName = modelname
2681
+ @StartTime = starttime
2682
+ @EndTime = endtime
2683
+ @AppBizIds = appbizids
2684
+ end
2685
+
2686
+ def deserialize(params)
2687
+ @UinAccount = params['UinAccount']
2688
+ @LoginUin = params['LoginUin']
2689
+ @LoginSubAccountUin = params['LoginSubAccountUin']
2690
+ @SubBizType = params['SubBizType']
2691
+ @ModelName = params['ModelName']
2692
+ @StartTime = params['StartTime']
2693
+ @EndTime = params['EndTime']
2694
+ @AppBizIds = params['AppBizIds']
2695
+ end
2696
+ end
2697
+
2698
+ # DescribeTokenUsage返回参数结构体
2699
+ class DescribeTokenUsageResponse < TencentCloud::Common::AbstractModel
2700
+ # @param TotalTokenUsage: 总token消耗量
2701
+ # @type TotalTokenUsage: Float
2702
+ # @param InputTokenUsage: 输入token消耗
2703
+ # @type InputTokenUsage: Float
2704
+ # @param OutputTokenUsage: 输出token消耗
2705
+ # @type OutputTokenUsage: Float
2706
+ # @param ApiCallStats: 接口调用次数
2707
+ # @type ApiCallStats: Integer
2708
+ # @param SearchUsage: 搜索服务调用次数
2709
+ # @type SearchUsage: Float
2710
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2711
+ # @type RequestId: String
2712
+
2713
+ attr_accessor :TotalTokenUsage, :InputTokenUsage, :OutputTokenUsage, :ApiCallStats, :SearchUsage, :RequestId
2714
+
2715
+ def initialize(totaltokenusage=nil, inputtokenusage=nil, outputtokenusage=nil, apicallstats=nil, searchusage=nil, requestid=nil)
2716
+ @TotalTokenUsage = totaltokenusage
2717
+ @InputTokenUsage = inputtokenusage
2718
+ @OutputTokenUsage = outputtokenusage
2719
+ @ApiCallStats = apicallstats
2720
+ @SearchUsage = searchusage
2721
+ @RequestId = requestid
2722
+ end
2723
+
2724
+ def deserialize(params)
2725
+ @TotalTokenUsage = params['TotalTokenUsage']
2726
+ @InputTokenUsage = params['InputTokenUsage']
2727
+ @OutputTokenUsage = params['OutputTokenUsage']
2728
+ @ApiCallStats = params['ApiCallStats']
2729
+ @SearchUsage = params['SearchUsage']
2730
+ @RequestId = params['RequestId']
2731
+ end
2732
+ end
2733
+
2215
2734
  # DescribeUnsatisfiedReplyContext请求参数结构体
2216
2735
  class DescribeUnsatisfiedReplyContextRequest < TencentCloud::Common::AbstractModel
2217
2736
  # @param BotBizId: 应用ID
@@ -3614,6 +4133,33 @@ module TencentCloud
3614
4133
  end
3615
4134
  end
3616
4135
 
4136
+ # 知识库容量饼图详情
4137
+ class KnowledgeCapacityPieGraphDetail < TencentCloud::Common::AbstractModel
4138
+ # @param AppName: 应用名称
4139
+ # 注意:此字段可能返回 null,表示取不到有效值。
4140
+ # @type AppName: String
4141
+ # @param UsedCharSize: 应用使用的字符数
4142
+ # 注意:此字段可能返回 null,表示取不到有效值。
4143
+ # @type UsedCharSize: String
4144
+ # @param Proportion: 应用占比
4145
+ # 注意:此字段可能返回 null,表示取不到有效值。
4146
+ # @type Proportion: Float
4147
+
4148
+ attr_accessor :AppName, :UsedCharSize, :Proportion
4149
+
4150
+ def initialize(appname=nil, usedcharsize=nil, proportion=nil)
4151
+ @AppName = appname
4152
+ @UsedCharSize = usedcharsize
4153
+ @Proportion = proportion
4154
+ end
4155
+
4156
+ def deserialize(params)
4157
+ @AppName = params['AppName']
4158
+ @UsedCharSize = params['UsedCharSize']
4159
+ @Proportion = params['Proportion']
4160
+ end
4161
+ end
4162
+
3617
4163
  # 知识问答配置
3618
4164
  class KnowledgeQaConfig < TencentCloud::Common::AbstractModel
3619
4165
  # @param Greeting: 欢迎语,200字符以内
@@ -7238,6 +7784,28 @@ module TencentCloud
7238
7784
  end
7239
7785
  end
7240
7786
 
7787
+ # 计费统计信息
7788
+ class Stat < TencentCloud::Common::AbstractModel
7789
+ # @param X: x轴时间戳
7790
+ # 注意:此字段可能返回 null,表示取不到有效值。
7791
+ # @type X: String
7792
+ # @param Y: y轴统计值
7793
+ # 注意:此字段可能返回 null,表示取不到有效值。
7794
+ # @type Y: Float
7795
+
7796
+ attr_accessor :X, :Y
7797
+
7798
+ def initialize(x=nil, y=nil)
7799
+ @X = x
7800
+ @Y = y
7801
+ end
7802
+
7803
+ def deserialize(params)
7804
+ @X = params['X']
7805
+ @Y = params['Y']
7806
+ end
7807
+ end
7808
+
7241
7809
  # StopDocParse请求参数结构体
7242
7810
  class StopDocParseRequest < TencentCloud::Common::AbstractModel
7243
7811
  # @param BotBizId: 应用ID
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.909
4
+ version: 3.0.910
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-20 00:00:00.000000000 Z
11
+ date: 2024-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common