tencentcloud-sdk-lke 3.0.1012 → 3.0.1013
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 +48 -0
- data/lib/v20231130/models.rb +145 -0
- 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: 666b914c5d6603b7aa75a28ce6bbf1f6cb2e547c
|
4
|
+
data.tar.gz: e93e93732dd80c13f86f6079411bc22c82b454d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 538ea38fca1d282d973d01a0b73dad617b9ebae11c89a0f8fa400f20700a098283ecf5d40daf2376d552571dc53d4c198fe58e5f6fe869ed66fd01e2f0f921d9
|
7
|
+
data.tar.gz: 5d58016720e51b15daedc3864d41449ba7167fcc85af9aa563cac767d7a6daef8432b5f600d587d2658c99f9380bd28f7b011ba20e46e3f7a0f0ea257078111e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1013
|
data/lib/v20231130/client.rb
CHANGED
@@ -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.
|
data/lib/v20231130/models.rb
CHANGED
@@ -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: 标签名
|
@@ -9401,6 +9516,36 @@ module TencentCloud
|
|
9401
9516
|
end
|
9402
9517
|
end
|
9403
9518
|
|
9519
|
+
# 变量详情
|
9520
|
+
class TaskFLowVar < TencentCloud::Common::AbstractModel
|
9521
|
+
# @param VarId: 变量ID
|
9522
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9523
|
+
# @type VarId: String
|
9524
|
+
# @param VarName: 变量名称
|
9525
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9526
|
+
# @type VarName: String
|
9527
|
+
# @param VarDesc: 变量描述(默认为"-")
|
9528
|
+
# @type VarDesc: String
|
9529
|
+
# @param VarType: 变量类型 (STRING,INT,FLOAT,BOOL,OBJECT,ARRAY_STRING,ARRAY_INT,ARRAY_FLOAT,ARRAY_BOOL,ARRAY_OBJECT,FILE,DOCUMENT,IMAGE,AUDIO)
|
9530
|
+
# @type VarType: String
|
9531
|
+
|
9532
|
+
attr_accessor :VarId, :VarName, :VarDesc, :VarType
|
9533
|
+
|
9534
|
+
def initialize(varid=nil, varname=nil, vardesc=nil, vartype=nil)
|
9535
|
+
@VarId = varid
|
9536
|
+
@VarName = varname
|
9537
|
+
@VarDesc = vardesc
|
9538
|
+
@VarType = vartype
|
9539
|
+
end
|
9540
|
+
|
9541
|
+
def deserialize(params)
|
9542
|
+
@VarId = params['VarId']
|
9543
|
+
@VarName = params['VarName']
|
9544
|
+
@VarDesc = params['VarDesc']
|
9545
|
+
@VarType = params['VarType']
|
9546
|
+
end
|
9547
|
+
end
|
9548
|
+
|
9404
9549
|
# 任务流程信息
|
9405
9550
|
class TaskFlowInfo < TencentCloud::Common::AbstractModel
|
9406
9551
|
# @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.
|
4
|
+
version: 3.0.1013
|
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-
|
11
|
+
date: 2025-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|