tencentcloud-sdk-lke 3.0.1012 → 3.0.1014

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: 306a6dcef1e483c89db8a637c72389ab96a1ecd4
4
- data.tar.gz: 508dcf8bbfef47da202f00cb54abebabb625478f
3
+ metadata.gz: cdd6af5600280ecfb1c6f28aefd2982b14029286
4
+ data.tar.gz: 80511d0f93460119d3a7be702663fe6bf81b2594
5
5
  SHA512:
6
- metadata.gz: 1fcc1ab3893abb2e144b3b1b7648b8e7b9ddba061b35651b144a14d2db65d01a287774e6191891270452834e2e39ed150191b2aba84802a1a39c2215b6b1579b
7
- data.tar.gz: 746ca6be0401cb84d8d9a0bd2073a08465f02a31b3bdd04c5646ef2b00903f9ed844fb54d54e59024a25ea667c75acc5ce5461041ead9decb05802b46b610f1f
6
+ metadata.gz: 79bd70364cbbb6238c23dc5906131cc9762f3821e936c2ff04373bb7d589df5cc9273ef959b391455c2ace065c208663057e4849353cf58a410a594c614d9de1
7
+ data.tar.gz: a598152fd9f5cf3a6ea7e4add53a211d6c513ab3ff2006f2eadf8e29711ce7898b24dfc93ef0d8d8650c194c1a318b79f8d59059c049e74dc65f6a10f3bf13f4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1012
1
+ 3.0.1014
@@ -322,6 +322,30 @@ module TencentCloud
322
322
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
323
323
  end
324
324
 
325
+ # 创建变量
326
+
327
+ # @param request: Request instance for CreateVar.
328
+ # @type request: :class:`Tencentcloud::lke::V20231130::CreateVarRequest`
329
+ # @rtype: :class:`Tencentcloud::lke::V20231130::CreateVarResponse`
330
+ def CreateVar(request)
331
+ body = send_request('CreateVar', request.serialize)
332
+ response = JSON.parse(body)
333
+ if response['Response'].key?('Error') == false
334
+ model = CreateVarResponse.new
335
+ model.deserialize(response['Response'])
336
+ model
337
+ else
338
+ code = response['Response']['Error']['Code']
339
+ message = response['Response']['Error']['Message']
340
+ reqid = response['Response']['RequestId']
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
342
+ end
343
+ rescue TencentCloud::Common::TencentCloudSDKException => e
344
+ raise e
345
+ rescue StandardError => e
346
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
347
+ end
348
+
325
349
  # 删除应用
326
350
 
327
351
  # @param request: Request instance for DeleteApp.
@@ -1283,6 +1307,30 @@ module TencentCloud
1283
1307
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1284
1308
  end
1285
1309
 
1310
+ # 查询自定义变量列表
1311
+
1312
+ # @param request: Request instance for GetVarList.
1313
+ # @type request: :class:`Tencentcloud::lke::V20231130::GetVarListRequest`
1314
+ # @rtype: :class:`Tencentcloud::lke::V20231130::GetVarListResponse`
1315
+ def GetVarList(request)
1316
+ body = send_request('GetVarList', request.serialize)
1317
+ response = JSON.parse(body)
1318
+ if response['Response'].key?('Error') == false
1319
+ model = GetVarListResponse.new
1320
+ model.deserialize(response['Response'])
1321
+ model
1322
+ else
1323
+ code = response['Response']['Error']['Code']
1324
+ message = response['Response']['Error']['Message']
1325
+ reqid = response['Response']['RequestId']
1326
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1327
+ end
1328
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1329
+ raise e
1330
+ rescue StandardError => e
1331
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1332
+ end
1333
+
1286
1334
  # 获取ws token
1287
1335
 
1288
1336
  # @param request: Request instance for GetWsToken.
@@ -2051,58 +2099,6 @@ module TencentCloud
2051
2099
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2052
2100
  end
2053
2101
 
2054
- # 接口已迁移到新接口了,无调用量
2055
-
2056
- # 接口即将下线,请切换使用新接口:[文档解析](https://cloud.tencent.com/document/product/1759/107504)
2057
-
2058
- # @param request: Request instance for ParseDoc.
2059
- # @type request: :class:`Tencentcloud::lke::V20231130::ParseDocRequest`
2060
- # @rtype: :class:`Tencentcloud::lke::V20231130::ParseDocResponse`
2061
- def ParseDoc(request)
2062
- body = send_request('ParseDoc', request.serialize)
2063
- response = JSON.parse(body)
2064
- if response['Response'].key?('Error') == false
2065
- model = ParseDocResponse.new
2066
- model.deserialize(response['Response'])
2067
- model
2068
- else
2069
- code = response['Response']['Error']['Code']
2070
- message = response['Response']['Error']['Message']
2071
- reqid = response['Response']['RequestId']
2072
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2073
- end
2074
- rescue TencentCloud::Common::TencentCloudSDKException => e
2075
- raise e
2076
- rescue StandardError => e
2077
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2078
- end
2079
-
2080
- # 接口已迁移到新接口了,无调用量
2081
-
2082
- # 查询文档解析结果。该接口需开通文档解析原子能力后调用。文档解析原子能力内测中,如有需要请联系架构师或[联系客服](https://cloud.tencent.com/act/event/Online_service) 。
2083
-
2084
- # @param request: Request instance for QueryParseDocResult.
2085
- # @type request: :class:`Tencentcloud::lke::V20231130::QueryParseDocResultRequest`
2086
- # @rtype: :class:`Tencentcloud::lke::V20231130::QueryParseDocResultResponse`
2087
- def QueryParseDocResult(request)
2088
- body = send_request('QueryParseDocResult', request.serialize)
2089
- response = JSON.parse(body)
2090
- if response['Response'].key?('Error') == false
2091
- model = QueryParseDocResultResponse.new
2092
- model.deserialize(response['Response'])
2093
- model
2094
- else
2095
- code = response['Response']['Error']['Code']
2096
- message = response['Response']['Error']['Message']
2097
- reqid = response['Response']['RequestId']
2098
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2099
- end
2100
- rescue TencentCloud::Common::TencentCloudSDKException => e
2101
- raise e
2102
- rescue StandardError => e
2103
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2104
- end
2105
-
2106
2102
  # 多轮改写(QueryRewrite)主要用于多轮对话中,进行指代消解和省略补全。使用本接口,无需输入prompt描述,根据对话历史即可生成更精确的用户查询。在应用场景上,本接口可应用于智能问答、对话式搜索等多种场景。
2107
2103
  # 本接口(QueryRewrite)有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。
2108
2104
 
@@ -1618,6 +1618,54 @@ module TencentCloud
1618
1618
  end
1619
1619
  end
1620
1620
 
1621
+ # CreateVar请求参数结构体
1622
+ class CreateVarRequest < TencentCloud::Common::AbstractModel
1623
+ # @param AppBizId: 应用ID
1624
+ # @type AppBizId: String
1625
+ # @param VarName: 变量名称,不允许重复,最大支持50个字符
1626
+ # @type VarName: String
1627
+ # @param VarDesc: 变量描述,最大支持120个字符
1628
+ # @type VarDesc: String
1629
+ # @param VarType: 变量类型定义,支持类型如下:(STRING,INT,FLOAT,BOOL,OBJECT,ARRAY_STRING,ARRAY_INT,ARRAY_FLOAT,ARRAY_BOOL,ARRAY_OBJECT,FILE,DOCUMENT,IMAGE,AUDIO);传输过程是json字符串,标签中仅支持"STRING"类型使用
1630
+ # @type VarType: String
1631
+
1632
+ attr_accessor :AppBizId, :VarName, :VarDesc, :VarType
1633
+
1634
+ def initialize(appbizid=nil, varname=nil, vardesc=nil, vartype=nil)
1635
+ @AppBizId = appbizid
1636
+ @VarName = varname
1637
+ @VarDesc = vardesc
1638
+ @VarType = vartype
1639
+ end
1640
+
1641
+ def deserialize(params)
1642
+ @AppBizId = params['AppBizId']
1643
+ @VarName = params['VarName']
1644
+ @VarDesc = params['VarDesc']
1645
+ @VarType = params['VarType']
1646
+ end
1647
+ end
1648
+
1649
+ # CreateVar返回参数结构体
1650
+ class CreateVarResponse < TencentCloud::Common::AbstractModel
1651
+ # @param VarId: 变量ID
1652
+ # @type VarId: String
1653
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1654
+ # @type RequestId: String
1655
+
1656
+ attr_accessor :VarId, :RequestId
1657
+
1658
+ def initialize(varid=nil, requestid=nil)
1659
+ @VarId = varid
1660
+ @RequestId = requestid
1661
+ end
1662
+
1663
+ def deserialize(params)
1664
+ @VarId = params['VarId']
1665
+ @RequestId = params['RequestId']
1666
+ end
1667
+ end
1668
+
1621
1669
  # 临时密钥结构
1622
1670
  class Credentials < TencentCloud::Common::AbstractModel
1623
1671
  # @param Token: token
@@ -4397,6 +4445,73 @@ module TencentCloud
4397
4445
  end
4398
4446
  end
4399
4447
 
4448
+ # GetVarList请求参数结构体
4449
+ class GetVarListRequest < TencentCloud::Common::AbstractModel
4450
+ # @param AppBizId: 应用ID
4451
+ # @type AppBizId: String
4452
+ # @param VarIds: 变量ID数组
4453
+ # @type VarIds: Array
4454
+ # @param Keyword: 按变量名称关键词搜索
4455
+ # @type Keyword: String
4456
+ # @param Offset: 起始偏移量(默认0)
4457
+ # @type Offset: Integer
4458
+ # @param Limit: 限定数量(默认15)
4459
+ # @type Limit: Integer
4460
+ # @param VarType: 按变量类型过滤,默认查询所有类型(STRING,INT,FLOAT,BOOL,OBJECT,ARRAY_STRING,ARRAY_INT,ARRAY_FLOAT,ARRAY_BOOL,ARRAY_OBJECT,FILE,DOCUMENT,IMAGE,AUDIO)
4461
+ # @type VarType: String
4462
+
4463
+ attr_accessor :AppBizId, :VarIds, :Keyword, :Offset, :Limit, :VarType
4464
+
4465
+ def initialize(appbizid=nil, varids=nil, keyword=nil, offset=nil, limit=nil, vartype=nil)
4466
+ @AppBizId = appbizid
4467
+ @VarIds = varids
4468
+ @Keyword = keyword
4469
+ @Offset = offset
4470
+ @Limit = limit
4471
+ @VarType = vartype
4472
+ end
4473
+
4474
+ def deserialize(params)
4475
+ @AppBizId = params['AppBizId']
4476
+ @VarIds = params['VarIds']
4477
+ @Keyword = params['Keyword']
4478
+ @Offset = params['Offset']
4479
+ @Limit = params['Limit']
4480
+ @VarType = params['VarType']
4481
+ end
4482
+ end
4483
+
4484
+ # GetVarList返回参数结构体
4485
+ class GetVarListResponse < TencentCloud::Common::AbstractModel
4486
+ # @param Total: 变量总数
4487
+ # @type Total: Integer
4488
+ # @param List: 变量信息列表
4489
+ # @type List: Array
4490
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4491
+ # @type RequestId: String
4492
+
4493
+ attr_accessor :Total, :List, :RequestId
4494
+
4495
+ def initialize(total=nil, list=nil, requestid=nil)
4496
+ @Total = total
4497
+ @List = list
4498
+ @RequestId = requestid
4499
+ end
4500
+
4501
+ def deserialize(params)
4502
+ @Total = params['Total']
4503
+ unless params['List'].nil?
4504
+ @List = []
4505
+ params['List'].each do |i|
4506
+ taskflowvar_tmp = TaskFLowVar.new
4507
+ taskflowvar_tmp.deserialize(i)
4508
+ @List << taskflowvar_tmp
4509
+ end
4510
+ end
4511
+ @RequestId = params['RequestId']
4512
+ end
4513
+ end
4514
+
4400
4515
  # 获取ws token label
4401
4516
  class GetWsTokenReq_Label < TencentCloud::Common::AbstractModel
4402
4517
  # @param Name: 标签名
@@ -7649,61 +7764,6 @@ module TencentCloud
7649
7764
  end
7650
7765
  end
7651
7766
 
7652
- # ParseDoc请求参数结构体
7653
- class ParseDocRequest < TencentCloud::Common::AbstractModel
7654
- # @param Name: 文件名称(需要包括文件后缀, 最大长度1024字节)
7655
- # @type Name: String
7656
- # @param Url: 文件下载链接 (支持的文件类型: docx, txt, markdown, pdf), 该地址需要外网可以直接无状态访问
7657
- # @type Url: String
7658
- # @param TaskId: 任务ID, 用于幂等去重, 业务自行定义(最大长度64字节)
7659
- # @type TaskId: String
7660
- # @param Policy: 切分策略
7661
- # @type Policy: String
7662
- # @param Operate: 默认值: parse
7663
- # @type Operate: String
7664
-
7665
- attr_accessor :Name, :Url, :TaskId, :Policy, :Operate
7666
- extend Gem::Deprecate
7667
- deprecate :Operate, :none, 2025, 3
7668
- deprecate :Operate=, :none, 2025, 3
7669
-
7670
- def initialize(name=nil, url=nil, taskid=nil, policy=nil, operate=nil)
7671
- @Name = name
7672
- @Url = url
7673
- @TaskId = taskid
7674
- @Policy = policy
7675
- @Operate = operate
7676
- end
7677
-
7678
- def deserialize(params)
7679
- @Name = params['Name']
7680
- @Url = params['Url']
7681
- @TaskId = params['TaskId']
7682
- @Policy = params['Policy']
7683
- @Operate = params['Operate']
7684
- end
7685
- end
7686
-
7687
- # ParseDoc返回参数结构体
7688
- class ParseDocResponse < TencentCloud::Common::AbstractModel
7689
- # @param TaskId: 任务ID
7690
- # @type TaskId: String
7691
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7692
- # @type RequestId: String
7693
-
7694
- attr_accessor :TaskId, :RequestId
7695
-
7696
- def initialize(taskid=nil, requestid=nil)
7697
- @TaskId = taskid
7698
- @RequestId = requestid
7699
- end
7700
-
7701
- def deserialize(params)
7702
- @TaskId = params['TaskId']
7703
- @RequestId = params['RequestId']
7704
- end
7705
- end
7706
-
7707
7767
  # 插件参数请求结构
7708
7768
  class PluginToolReqParam < TencentCloud::Common::AbstractModel
7709
7769
  # @param Name: 参数名称
@@ -8047,61 +8107,6 @@ module TencentCloud
8047
8107
  end
8048
8108
  end
8049
8109
 
8050
- # QueryParseDocResult请求参数结构体
8051
- class QueryParseDocResultRequest < TencentCloud::Common::AbstractModel
8052
- # @param TaskId: 任务ID
8053
- # @type TaskId: String
8054
-
8055
- attr_accessor :TaskId
8056
-
8057
- def initialize(taskid=nil)
8058
- @TaskId = taskid
8059
- end
8060
-
8061
- def deserialize(params)
8062
- @TaskId = params['TaskId']
8063
- end
8064
- end
8065
-
8066
- # QueryParseDocResult返回参数结构体
8067
- class QueryParseDocResultResponse < TencentCloud::Common::AbstractModel
8068
- # @param Status: 等待 / 执行中 / 成功 / 失败
8069
- # @type Status: String
8070
- # @param Name: 解析后的文件内容
8071
- # @type Name: String
8072
- # @param Url: 文件下载地址
8073
- # @type Url: String
8074
- # @param Reason: 解析失败原因
8075
- # @type Reason: String
8076
- # @param Usage: 消耗量,输出页数
8077
- # @type Usage: :class:`Tencentcloud::Lke.v20231130.models.Usage`
8078
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8079
- # @type RequestId: String
8080
-
8081
- attr_accessor :Status, :Name, :Url, :Reason, :Usage, :RequestId
8082
-
8083
- def initialize(status=nil, name=nil, url=nil, reason=nil, usage=nil, requestid=nil)
8084
- @Status = status
8085
- @Name = name
8086
- @Url = url
8087
- @Reason = reason
8088
- @Usage = usage
8089
- @RequestId = requestid
8090
- end
8091
-
8092
- def deserialize(params)
8093
- @Status = params['Status']
8094
- @Name = params['Name']
8095
- @Url = params['Url']
8096
- @Reason = params['Reason']
8097
- unless params['Usage'].nil?
8098
- @Usage = Usage.new
8099
- @Usage.deserialize(params['Usage'])
8100
- end
8101
- @RequestId = params['RequestId']
8102
- end
8103
- end
8104
-
8105
8110
  # QueryRewrite请求参数结构体
8106
8111
  class QueryRewriteRequest < TencentCloud::Common::AbstractModel
8107
8112
  # @param Question: 需要改写的问题
@@ -9401,6 +9406,36 @@ module TencentCloud
9401
9406
  end
9402
9407
  end
9403
9408
 
9409
+ # 变量详情
9410
+ class TaskFLowVar < TencentCloud::Common::AbstractModel
9411
+ # @param VarId: 变量ID
9412
+ # 注意:此字段可能返回 null,表示取不到有效值。
9413
+ # @type VarId: String
9414
+ # @param VarName: 变量名称
9415
+ # 注意:此字段可能返回 null,表示取不到有效值。
9416
+ # @type VarName: String
9417
+ # @param VarDesc: 变量描述(默认为"-")
9418
+ # @type VarDesc: String
9419
+ # @param VarType: 变量类型 (STRING,INT,FLOAT,BOOL,OBJECT,ARRAY_STRING,ARRAY_INT,ARRAY_FLOAT,ARRAY_BOOL,ARRAY_OBJECT,FILE,DOCUMENT,IMAGE,AUDIO)
9420
+ # @type VarType: String
9421
+
9422
+ attr_accessor :VarId, :VarName, :VarDesc, :VarType
9423
+
9424
+ def initialize(varid=nil, varname=nil, vardesc=nil, vartype=nil)
9425
+ @VarId = varid
9426
+ @VarName = varname
9427
+ @VarDesc = vardesc
9428
+ @VarType = vartype
9429
+ end
9430
+
9431
+ def deserialize(params)
9432
+ @VarId = params['VarId']
9433
+ @VarName = params['VarName']
9434
+ @VarDesc = params['VarDesc']
9435
+ @VarType = params['VarType']
9436
+ end
9437
+ end
9438
+
9404
9439
  # 任务流程信息
9405
9440
  class TaskFlowInfo < TencentCloud::Common::AbstractModel
9406
9441
  # @param TaskFlowId: 任务流程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.1012
4
+ version: 3.0.1014
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-03-05 00:00:00.000000000 Z
11
+ date: 2025-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common