tencentcloud-sdk-lke 3.0.1083 → 3.0.1085

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: f5f2e25c7c60412ad2bb9a1a7c26e485b18bae3e
4
- data.tar.gz: 9a42769401ab37932ea4f82d5a608b36d2d7ce45
3
+ metadata.gz: 1db2088f0e3bc6478cc021d4e55fd27e84c3a6e1
4
+ data.tar.gz: 7b8ec3a1aadc05a676af7e538e90952f9729bf99
5
5
  SHA512:
6
- metadata.gz: 96ae7e1eebeea335bfc30dd85759d6fb66a38bb8c0f8352b15c42ae487c25e3854e3c0e55b6d9ee654e53c8053fc2df0b9d8d223f8d4dc25f79dbf8dc654d4ef
7
- data.tar.gz: d4a75e135b24de00b9b1a45283f9438000b95aa4a6cfc92b21a5164b5ea2a93f047720d1a693e7e07b4c10dfd98cbc9f9213397706c7edc0a0665c952c224678
6
+ metadata.gz: 25e4e4cc690f634e0ab955b57576e5e55ea9290cc93841451b9cea4c972ecb2c1ea5309430461d6e89ba045619a51dccad31dd3b92d4b7de54e71fb8b02d349d
7
+ data.tar.gz: 06a124ef62986fd7af761d996aa75ee0647eeba216ee993babc6424f295b258acc3dc79f53b72cc6f3c051720b4c0c17fec87aa76bf6210c9aa79ecff47ad24e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1083
1
+ 3.0.1085
@@ -560,6 +560,30 @@ module TencentCloud
560
560
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
561
561
  end
562
562
 
563
+ # 删除变量
564
+
565
+ # @param request: Request instance for DeleteVar.
566
+ # @type request: :class:`Tencentcloud::lke::V20231130::DeleteVarRequest`
567
+ # @rtype: :class:`Tencentcloud::lke::V20231130::DeleteVarResponse`
568
+ def DeleteVar(request)
569
+ body = send_request('DeleteVar', request.serialize)
570
+ response = JSON.parse(body)
571
+ if response['Response'].key?('Error') == false
572
+ model = DeleteVarResponse.new
573
+ model.deserialize(response['Response'])
574
+ model
575
+ else
576
+ code = response['Response']['Error']['Code']
577
+ message = response['Response']['Error']['Message']
578
+ reqid = response['Response']['RequestId']
579
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
580
+ end
581
+ rescue TencentCloud::Common::TencentCloudSDKException => e
582
+ raise e
583
+ rescue StandardError => e
584
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
585
+ end
586
+
563
587
  # 获取企业下应用详情
564
588
 
565
589
  # @param request: Request instance for DescribeApp.
@@ -2611,6 +2635,30 @@ module TencentCloud
2611
2635
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2612
2636
  end
2613
2637
 
2638
+ # 更新变量
2639
+
2640
+ # @param request: Request instance for UpdateVar.
2641
+ # @type request: :class:`Tencentcloud::lke::V20231130::UpdateVarRequest`
2642
+ # @rtype: :class:`Tencentcloud::lke::V20231130::UpdateVarResponse`
2643
+ def UpdateVar(request)
2644
+ body = send_request('UpdateVar', request.serialize)
2645
+ response = JSON.parse(body)
2646
+ if response['Response'].key?('Error') == false
2647
+ model = UpdateVarResponse.new
2648
+ model.deserialize(response['Response'])
2649
+ model
2650
+ else
2651
+ code = response['Response']['Error']['Code']
2652
+ message = response['Response']['Error']['Message']
2653
+ reqid = response['Response']['RequestId']
2654
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2655
+ end
2656
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2657
+ raise e
2658
+ rescue StandardError => e
2659
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2660
+ end
2661
+
2614
2662
  # 上传导入属性标签
2615
2663
 
2616
2664
  # @param request: Request instance for UploadAttributeLabel.
@@ -2240,6 +2240,42 @@ module TencentCloud
2240
2240
  end
2241
2241
  end
2242
2242
 
2243
+ # DeleteVar请求参数结构体
2244
+ class DeleteVarRequest < TencentCloud::Common::AbstractModel
2245
+ # @param AppBizId: 应用ID
2246
+ # @type AppBizId: String
2247
+ # @param VarId: 变量ID
2248
+ # @type VarId: String
2249
+
2250
+ attr_accessor :AppBizId, :VarId
2251
+
2252
+ def initialize(appbizid=nil, varid=nil)
2253
+ @AppBizId = appbizid
2254
+ @VarId = varid
2255
+ end
2256
+
2257
+ def deserialize(params)
2258
+ @AppBizId = params['AppBizId']
2259
+ @VarId = params['VarId']
2260
+ end
2261
+ end
2262
+
2263
+ # DeleteVar返回参数结构体
2264
+ class DeleteVarResponse < TencentCloud::Common::AbstractModel
2265
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2266
+ # @type RequestId: String
2267
+
2268
+ attr_accessor :RequestId
2269
+
2270
+ def initialize(requestid=nil)
2271
+ @RequestId = requestid
2272
+ end
2273
+
2274
+ def deserialize(params)
2275
+ @RequestId = params['RequestId']
2276
+ end
2277
+ end
2278
+
2243
2279
  # DescribeApp请求参数结构体
2244
2280
  class DescribeAppRequest < TencentCloud::Common::AbstractModel
2245
2281
  # @param AppBizId: 应用ID
@@ -5526,14 +5562,18 @@ module TencentCloud
5526
5562
  # @param ExceedCharSize: 超量字符数
5527
5563
  # 注意:此字段可能返回 null,表示取不到有效值。
5528
5564
  # @type ExceedCharSize: String
5565
+ # @param IsSharedKnowledge: 是否共享知识库类型
5566
+ # 注意:此字段可能返回 null,表示取不到有效值。
5567
+ # @type IsSharedKnowledge: Boolean
5529
5568
 
5530
- attr_accessor :AppName, :UsedCharSize, :Proportion, :ExceedCharSize
5569
+ attr_accessor :AppName, :UsedCharSize, :Proportion, :ExceedCharSize, :IsSharedKnowledge
5531
5570
 
5532
- def initialize(appname=nil, usedcharsize=nil, proportion=nil, exceedcharsize=nil)
5571
+ def initialize(appname=nil, usedcharsize=nil, proportion=nil, exceedcharsize=nil, issharedknowledge=nil)
5533
5572
  @AppName = appname
5534
5573
  @UsedCharSize = usedcharsize
5535
5574
  @Proportion = proportion
5536
5575
  @ExceedCharSize = exceedcharsize
5576
+ @IsSharedKnowledge = issharedknowledge
5537
5577
  end
5538
5578
 
5539
5579
  def deserialize(params)
@@ -5541,6 +5581,7 @@ module TencentCloud
5541
5581
  @UsedCharSize = params['UsedCharSize']
5542
5582
  @Proportion = params['Proportion']
5543
5583
  @ExceedCharSize = params['ExceedCharSize']
5584
+ @IsSharedKnowledge = params['IsSharedKnowledge']
5544
5585
  end
5545
5586
  end
5546
5587
 
@@ -8180,7 +8221,7 @@ module TencentCloud
8180
8221
  # @type DocBizId: String
8181
8222
  # @param IsRefer: 是否引用链接
8182
8223
  # @type IsRefer: Boolean
8183
- # @param AttrRange: 标签适用范围 1:全部,2:按条件
8224
+ # @param AttrRange: 标签适用范围,需要传参为1
8184
8225
  # @type AttrRange: Integer
8185
8226
  # @param LoginUin: 登录用户主账号(集成商模式必填)
8186
8227
  # @type LoginUin: String
@@ -8199,10 +8240,12 @@ module TencentCloud
8199
8240
  # @type ExpireEnd: String
8200
8241
  # @param CateBizId: 分类ID
8201
8242
  # @type CateBizId: String
8243
+ # @param IsDownload: 是否可下载,IsRefer为true并且ReferUrlType为0时,该值才有意义
8244
+ # @type IsDownload: Boolean
8202
8245
 
8203
- attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId
8246
+ attr_accessor :BotBizId, :DocBizId, :IsRefer, :AttrRange, :LoginUin, :LoginSubAccountUin, :AttrLabels, :WebUrl, :ReferUrlType, :ExpireStart, :ExpireEnd, :CateBizId, :IsDownload
8204
8247
 
8205
- 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)
8248
+ 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, isdownload=nil)
8206
8249
  @BotBizId = botbizid
8207
8250
  @DocBizId = docbizid
8208
8251
  @IsRefer = isrefer
@@ -8215,6 +8258,7 @@ module TencentCloud
8215
8258
  @ExpireStart = expirestart
8216
8259
  @ExpireEnd = expireend
8217
8260
  @CateBizId = catebizid
8261
+ @IsDownload = isdownload
8218
8262
  end
8219
8263
 
8220
8264
  def deserialize(params)
@@ -8237,6 +8281,7 @@ module TencentCloud
8237
8281
  @ExpireStart = params['ExpireStart']
8238
8282
  @ExpireEnd = params['ExpireEnd']
8239
8283
  @CateBizId = params['CateBizId']
8284
+ @IsDownload = params['IsDownload']
8240
8285
  end
8241
8286
  end
8242
8287
 
@@ -11009,6 +11054,66 @@ module TencentCloud
11009
11054
  end
11010
11055
  end
11011
11056
 
11057
+ # UpdateVar请求参数结构体
11058
+ class UpdateVarRequest < TencentCloud::Common::AbstractModel
11059
+ # @param AppBizId: 应用ID
11060
+ # @type AppBizId: String
11061
+ # @param VarId: 变量ID
11062
+ # @type VarId: String
11063
+ # @param VarName: 变量名称,最大支持50个字符
11064
+ # @type VarName: String
11065
+ # @param VarDesc: 参数描述
11066
+ # @type VarDesc: String
11067
+ # @param VarType: 参数类型
11068
+ # @type VarType: String
11069
+ # @param VarDefaultValue: 自定义变量默认值
11070
+ # @type VarDefaultValue: String
11071
+ # @param VarDefaultFileName: 自定义变量文件默认名称
11072
+ # @type VarDefaultFileName: String
11073
+
11074
+ attr_accessor :AppBizId, :VarId, :VarName, :VarDesc, :VarType, :VarDefaultValue, :VarDefaultFileName
11075
+
11076
+ def initialize(appbizid=nil, varid=nil, varname=nil, vardesc=nil, vartype=nil, vardefaultvalue=nil, vardefaultfilename=nil)
11077
+ @AppBizId = appbizid
11078
+ @VarId = varid
11079
+ @VarName = varname
11080
+ @VarDesc = vardesc
11081
+ @VarType = vartype
11082
+ @VarDefaultValue = vardefaultvalue
11083
+ @VarDefaultFileName = vardefaultfilename
11084
+ end
11085
+
11086
+ def deserialize(params)
11087
+ @AppBizId = params['AppBizId']
11088
+ @VarId = params['VarId']
11089
+ @VarName = params['VarName']
11090
+ @VarDesc = params['VarDesc']
11091
+ @VarType = params['VarType']
11092
+ @VarDefaultValue = params['VarDefaultValue']
11093
+ @VarDefaultFileName = params['VarDefaultFileName']
11094
+ end
11095
+ end
11096
+
11097
+ # UpdateVar返回参数结构体
11098
+ class UpdateVarResponse < TencentCloud::Common::AbstractModel
11099
+ # @param VarId: 变量ID
11100
+ # @type VarId: String
11101
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11102
+ # @type RequestId: String
11103
+
11104
+ attr_accessor :VarId, :RequestId
11105
+
11106
+ def initialize(varid=nil, requestid=nil)
11107
+ @VarId = varid
11108
+ @RequestId = requestid
11109
+ end
11110
+
11111
+ def deserialize(params)
11112
+ @VarId = params['VarId']
11113
+ @RequestId = params['RequestId']
11114
+ end
11115
+ end
11116
+
11012
11117
  # UploadAttributeLabel请求参数结构体
11013
11118
  class UploadAttributeLabelRequest < TencentCloud::Common::AbstractModel
11014
11119
  # @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.1083
4
+ version: 3.0.1085
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-06-17 00:00:00.000000000 Z
11
+ date: 2025-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common