tencentcloud-sdk-lke 3.0.1112 → 3.0.1122

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8204ef409e557a974addb3608b22a7820845a6ec
4
- data.tar.gz: 12913c7877136789af76359efc43c9a255fa70c9
3
+ metadata.gz: 7abe4e32f403f630f05f88dfc6dce6749b2360af
4
+ data.tar.gz: 1136b4e88312b929297faf170110ebf68e659cac
5
5
  SHA512:
6
- metadata.gz: e3713fb5296df14ccab1f69cc05bd87e7f8263cf70f57802c99892c61c54ae8f13bf119720ff1cbe64ef4543f8543bfe5431cb7a90cc09a5f71e405d7dc99b32
7
- data.tar.gz: 677d28c2e58b8f162a561bfc9c0b1d5cf07c3f9069639fbd0cc7a6eb29d19339660609ab8244010a6f16f201a1c6f4e32f387509804c318d83d309ac769347f7
6
+ metadata.gz: f6f0aa68b2928eaba020618d36448a6dae277cecf172b317d72755b6363edb8ec741f5adb714acabf83848875464338da4fd3c74310a97068651661760419536
7
+ data.tar.gz: d421c926ad2a9d32e5efea7cfc4407c657469c61a445cbcb0849631b15336197bb798308fb8e21ffc040aea40257a08cb1ed16c0c10de27bcce9978e3471e5b3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1112
1
+ 3.0.1122
@@ -1567,30 +1567,6 @@ module TencentCloud
1567
1567
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1568
1568
  end
1569
1569
 
1570
- # 应用类型列表
1571
-
1572
- # @param request: Request instance for ListAppCategory.
1573
- # @type request: :class:`Tencentcloud::lke::V20231130::ListAppCategoryRequest`
1574
- # @rtype: :class:`Tencentcloud::lke::V20231130::ListAppCategoryResponse`
1575
- def ListAppCategory(request)
1576
- body = send_request('ListAppCategory', request.serialize)
1577
- response = JSON.parse(body)
1578
- if response['Response'].key?('Error') == false
1579
- model = ListAppCategoryResponse.new
1580
- model.deserialize(response['Response'])
1581
- model
1582
- else
1583
- code = response['Response']['Error']['Code']
1584
- message = response['Response']['Error']['Message']
1585
- reqid = response['Response']['RequestId']
1586
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1587
- end
1588
- rescue TencentCloud::Common::TencentCloudSDKException => e
1589
- raise e
1590
- rescue StandardError => e
1591
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1592
- end
1593
-
1594
1570
  # 列表查询知识库容量详情
1595
1571
 
1596
1572
  # @param request: Request instance for ListAppKnowledgeDetail.
@@ -2047,18 +2047,29 @@ module TencentCloud
2047
2047
  class CreateAttributeLabelResponse < TencentCloud::Common::AbstractModel
2048
2048
  # @param AttrBizId: 标签ID
2049
2049
  # @type AttrBizId: String
2050
+ # @param Labels: 标签值ID与名称
2051
+ # @type Labels: Array
2050
2052
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2051
2053
  # @type RequestId: String
2052
2054
 
2053
- attr_accessor :AttrBizId, :RequestId
2055
+ attr_accessor :AttrBizId, :Labels, :RequestId
2054
2056
 
2055
- def initialize(attrbizid=nil, requestid=nil)
2057
+ def initialize(attrbizid=nil, labels=nil, requestid=nil)
2056
2058
  @AttrBizId = attrbizid
2059
+ @Labels = labels
2057
2060
  @RequestId = requestid
2058
2061
  end
2059
2062
 
2060
2063
  def deserialize(params)
2061
2064
  @AttrBizId = params['AttrBizId']
2065
+ unless params['Labels'].nil?
2066
+ @Labels = []
2067
+ params['Labels'].each do |i|
2068
+ attributelabel_tmp = AttributeLabel.new
2069
+ attributelabel_tmp.deserialize(i)
2070
+ @Labels << attributelabel_tmp
2071
+ end
2072
+ end
2062
2073
  @RequestId = params['RequestId']
2063
2074
  end
2064
2075
  end
@@ -4721,6 +4732,26 @@ module TencentCloud
4721
4732
  end
4722
4733
  end
4723
4734
 
4735
+ # 重复文档处理方式
4736
+ class DuplicateFileHandle < TencentCloud::Common::AbstractModel
4737
+ # @param CheckType: 重复文档判断方式,1:按文档内容,即cos_hash字段判断是否重复
4738
+ # @type CheckType: Integer
4739
+ # @param HandleType: 重复文档处理方式,1:返回报错,2:跳过,返回重复的文档业务ID
4740
+ # @type HandleType: Integer
4741
+
4742
+ attr_accessor :CheckType, :HandleType
4743
+
4744
+ def initialize(checktype=nil, handletype=nil)
4745
+ @CheckType = checktype
4746
+ @HandleType = handletype
4747
+ end
4748
+
4749
+ def deserialize(params)
4750
+ @CheckType = params['CheckType']
4751
+ @HandleType = params['HandleType']
4752
+ end
4753
+ end
4754
+
4724
4755
  # ExportAttributeLabel请求参数结构体
4725
4756
  class ExportAttributeLabelRequest < TencentCloud::Common::AbstractModel
4726
4757
  # @param BotBizId: 应用ID
@@ -6554,72 +6585,6 @@ module TencentCloud
6554
6585
  end
6555
6586
  end
6556
6587
 
6557
- # ListAppCategory请求参数结构体
6558
- class ListAppCategoryRequest < TencentCloud::Common::AbstractModel
6559
-
6560
-
6561
- def initialize()
6562
- end
6563
-
6564
- def deserialize(params)
6565
- end
6566
- end
6567
-
6568
- # ListAppCategory返回参数结构体
6569
- class ListAppCategoryResponse < TencentCloud::Common::AbstractModel
6570
- # @param List: 应用类型列表
6571
- # 注意:此字段可能返回 null,表示取不到有效值。
6572
- # @type List: Array
6573
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6574
- # @type RequestId: String
6575
-
6576
- attr_accessor :List, :RequestId
6577
-
6578
- def initialize(list=nil, requestid=nil)
6579
- @List = list
6580
- @RequestId = requestid
6581
- end
6582
-
6583
- def deserialize(params)
6584
- unless params['List'].nil?
6585
- @List = []
6586
- params['List'].each do |i|
6587
- listappcategoryrspoption_tmp = ListAppCategoryRspOption.new
6588
- listappcategoryrspoption_tmp.deserialize(i)
6589
- @List << listappcategoryrspoption_tmp
6590
- end
6591
- end
6592
- @RequestId = params['RequestId']
6593
- end
6594
- end
6595
-
6596
- # 应用类型详情
6597
- class ListAppCategoryRspOption < TencentCloud::Common::AbstractModel
6598
- # @param Text: 类型名称
6599
- # 注意:此字段可能返回 null,表示取不到有效值。
6600
- # @type Text: String
6601
- # @param Value: 类型值
6602
- # 注意:此字段可能返回 null,表示取不到有效值。
6603
- # @type Value: String
6604
- # @param Logo: 类型log
6605
- # 注意:此字段可能返回 null,表示取不到有效值。
6606
- # @type Logo: String
6607
-
6608
- attr_accessor :Text, :Value, :Logo
6609
-
6610
- def initialize(text=nil, value=nil, logo=nil)
6611
- @Text = text
6612
- @Value = value
6613
- @Logo = logo
6614
- end
6615
-
6616
- def deserialize(params)
6617
- @Text = params['Text']
6618
- @Value = params['Value']
6619
- @Logo = params['Logo']
6620
- end
6621
- end
6622
-
6623
6588
  # ListAppKnowledgeDetail请求参数结构体
6624
6589
  class ListAppKnowledgeDetailRequest < TencentCloud::Common::AbstractModel
6625
6590
  # @param PageNumber: 页码
@@ -8617,18 +8582,29 @@ module TencentCloud
8617
8582
  class ModifyAttributeLabelResponse < TencentCloud::Common::AbstractModel
8618
8583
  # @param TaskId: 任务ID
8619
8584
  # @type TaskId: String
8585
+ # @param Labels: 标签ID与名称
8586
+ # @type Labels: Array
8620
8587
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8621
8588
  # @type RequestId: String
8622
8589
 
8623
- attr_accessor :TaskId, :RequestId
8590
+ attr_accessor :TaskId, :Labels, :RequestId
8624
8591
 
8625
- def initialize(taskid=nil, requestid=nil)
8592
+ def initialize(taskid=nil, labels=nil, requestid=nil)
8626
8593
  @TaskId = taskid
8594
+ @Labels = labels
8627
8595
  @RequestId = requestid
8628
8596
  end
8629
8597
 
8630
8598
  def deserialize(params)
8631
8599
  @TaskId = params['TaskId']
8600
+ unless params['Labels'].nil?
8601
+ @Labels = []
8602
+ params['Labels'].each do |i|
8603
+ attributelabel_tmp = AttributeLabel.new
8604
+ attributelabel_tmp.deserialize(i)
8605
+ @Labels << attributelabel_tmp
8606
+ end
8607
+ end
8632
8608
  @RequestId = params['RequestId']
8633
8609
  end
8634
8610
  end
@@ -10553,10 +10529,12 @@ module TencentCloud
10553
10529
  # @type CateBizId: String
10554
10530
  # @param IsDownload: 是否可下载,IsRefer为true并且ReferUrlType为0时,该值才有意义
10555
10531
  # @type IsDownload: Boolean
10532
+ # @param DuplicateFileHandles: 重复文档处理方式,按顺序匹配第一个满足条件的方式处理
10533
+ # @type DuplicateFileHandles: Array
10556
10534
 
10557
- attr_accessor :BotBizId, :FileName, :FileType, :CosUrl, :ETag, :CosHash, :Size, :AttrRange, :Source, :WebUrl, :AttrLabels, :ReferUrlType, :ExpireStart, :ExpireEnd, :IsRefer, :Opt, :CateBizId, :IsDownload
10535
+ attr_accessor :BotBizId, :FileName, :FileType, :CosUrl, :ETag, :CosHash, :Size, :AttrRange, :Source, :WebUrl, :AttrLabels, :ReferUrlType, :ExpireStart, :ExpireEnd, :IsRefer, :Opt, :CateBizId, :IsDownload, :DuplicateFileHandles
10558
10536
 
10559
- 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)
10537
+ 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)
10560
10538
  @BotBizId = botbizid
10561
10539
  @FileName = filename
10562
10540
  @FileType = filetype
@@ -10575,6 +10553,7 @@ module TencentCloud
10575
10553
  @Opt = opt
10576
10554
  @CateBizId = catebizid
10577
10555
  @IsDownload = isdownload
10556
+ @DuplicateFileHandles = duplicatefilehandles
10578
10557
  end
10579
10558
 
10580
10559
  def deserialize(params)
@@ -10603,6 +10582,14 @@ module TencentCloud
10603
10582
  @Opt = params['Opt']
10604
10583
  @CateBizId = params['CateBizId']
10605
10584
  @IsDownload = params['IsDownload']
10585
+ unless params['DuplicateFileHandles'].nil?
10586
+ @DuplicateFileHandles = []
10587
+ params['DuplicateFileHandles'].each do |i|
10588
+ duplicatefilehandle_tmp = DuplicateFileHandle.new
10589
+ duplicatefilehandle_tmp.deserialize(i)
10590
+ @DuplicateFileHandles << duplicatefilehandle_tmp
10591
+ end
10592
+ end
10606
10593
  end
10607
10594
  end
10608
10595
 
@@ -10616,16 +10603,19 @@ module TencentCloud
10616
10603
  # @type ErrorLink: String
10617
10604
  # @param ErrorLinkText: 错误链接文本
10618
10605
  # @type ErrorLinkText: String
10606
+ # @param DuplicateFileCheckType: 重复类型,0:未重复,其他取值请参考入参DuplicateFileHandle结构体的CheckType字段
10607
+ # @type DuplicateFileCheckType: Integer
10619
10608
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10620
10609
  # @type RequestId: String
10621
10610
 
10622
- attr_accessor :DocBizId, :ErrorMsg, :ErrorLink, :ErrorLinkText, :RequestId
10611
+ attr_accessor :DocBizId, :ErrorMsg, :ErrorLink, :ErrorLinkText, :DuplicateFileCheckType, :RequestId
10623
10612
 
10624
- def initialize(docbizid=nil, errormsg=nil, errorlink=nil, errorlinktext=nil, requestid=nil)
10613
+ def initialize(docbizid=nil, errormsg=nil, errorlink=nil, errorlinktext=nil, duplicatefilechecktype=nil, requestid=nil)
10625
10614
  @DocBizId = docbizid
10626
10615
  @ErrorMsg = errormsg
10627
10616
  @ErrorLink = errorlink
10628
10617
  @ErrorLinkText = errorlinktext
10618
+ @DuplicateFileCheckType = duplicatefilechecktype
10629
10619
  @RequestId = requestid
10630
10620
  end
10631
10621
 
@@ -10634,6 +10624,7 @@ module TencentCloud
10634
10624
  @ErrorMsg = params['ErrorMsg']
10635
10625
  @ErrorLink = params['ErrorLink']
10636
10626
  @ErrorLinkText = params['ErrorLinkText']
10627
+ @DuplicateFileCheckType = params['DuplicateFileCheckType']
10637
10628
  @RequestId = params['RequestId']
10638
10629
  end
10639
10630
  end
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.1112
4
+ version: 3.0.1122
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-07-29 00:00:00.000000000 Z
11
+ date: 2025-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common