tencentcloud-sdk-wedata 3.0.428 → 3.0.429
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/v20210820/client.rb +144 -0
- data/lib/v20210820/models.rb +552 -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: d12eaa461ac8cbf4c26eb40d6c181f93e68d3a58
|
4
|
+
data.tar.gz: 872c071d492cafc65b34692b64e2a7c055c168c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b390f18a2462036c64e58eb4fee4a8e25489ffcda9e2c6505c2ed566a3e13f846a1dc12114477f81fffaa5d076581a6fe7ea858cfc084d299dd2eeec609f2af
|
7
|
+
data.tar.gz: df1410dfc6d4a97d36e371e27db30a57b700292eecbb03d4420e2933fdaf8838630a5646553a1895cc9482d8dc60944a8d988b769b4e39bb1150b30570411ac9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.429
|
data/lib/v20210820/client.rb
CHANGED
@@ -228,6 +228,30 @@ module TencentCloud
|
|
228
228
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
229
229
|
end
|
230
230
|
|
231
|
+
# 删除用户自定义函数
|
232
|
+
|
233
|
+
# @param request: Request instance for DeleteCustomFunction.
|
234
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DeleteCustomFunctionRequest`
|
235
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DeleteCustomFunctionResponse`
|
236
|
+
def DeleteCustomFunction(request)
|
237
|
+
body = send_request('DeleteCustomFunction', request.serialize)
|
238
|
+
response = JSON.parse(body)
|
239
|
+
if response['Response'].key?('Error') == false
|
240
|
+
model = DeleteCustomFunctionResponse.new
|
241
|
+
model.deserialize(response['Response'])
|
242
|
+
model
|
243
|
+
else
|
244
|
+
code = response['Response']['Error']['Code']
|
245
|
+
message = response['Response']['Error']['Message']
|
246
|
+
reqid = response['Response']['RequestId']
|
247
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
248
|
+
end
|
249
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
250
|
+
raise e
|
251
|
+
rescue StandardError => e
|
252
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
253
|
+
end
|
254
|
+
|
231
255
|
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
232
256
|
# 删除数据源
|
233
257
|
|
@@ -453,6 +477,54 @@ module TencentCloud
|
|
453
477
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
454
478
|
end
|
455
479
|
|
480
|
+
# 查询函数分类
|
481
|
+
|
482
|
+
# @param request: Request instance for DescribeFunctionKinds.
|
483
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeFunctionKindsRequest`
|
484
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeFunctionKindsResponse`
|
485
|
+
def DescribeFunctionKinds(request)
|
486
|
+
body = send_request('DescribeFunctionKinds', request.serialize)
|
487
|
+
response = JSON.parse(body)
|
488
|
+
if response['Response'].key?('Error') == false
|
489
|
+
model = DescribeFunctionKindsResponse.new
|
490
|
+
model.deserialize(response['Response'])
|
491
|
+
model
|
492
|
+
else
|
493
|
+
code = response['Response']['Error']['Code']
|
494
|
+
message = response['Response']['Error']['Message']
|
495
|
+
reqid = response['Response']['RequestId']
|
496
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
497
|
+
end
|
498
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
499
|
+
raise e
|
500
|
+
rescue StandardError => e
|
501
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
502
|
+
end
|
503
|
+
|
504
|
+
# 查询函数类型
|
505
|
+
|
506
|
+
# @param request: Request instance for DescribeFunctionTypes.
|
507
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeFunctionTypesRequest`
|
508
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeFunctionTypesResponse`
|
509
|
+
def DescribeFunctionTypes(request)
|
510
|
+
body = send_request('DescribeFunctionTypes', request.serialize)
|
511
|
+
response = JSON.parse(body)
|
512
|
+
if response['Response'].key?('Error') == false
|
513
|
+
model = DescribeFunctionTypesResponse.new
|
514
|
+
model.deserialize(response['Response'])
|
515
|
+
model
|
516
|
+
else
|
517
|
+
code = response['Response']['Error']['Code']
|
518
|
+
message = response['Response']['Error']['Message']
|
519
|
+
reqid = response['Response']['RequestId']
|
520
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
521
|
+
end
|
522
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
523
|
+
raise e
|
524
|
+
rescue StandardError => e
|
525
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
526
|
+
end
|
527
|
+
|
456
528
|
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
457
529
|
# 获取实例日志列表
|
458
530
|
|
@@ -478,6 +550,30 @@ module TencentCloud
|
|
478
550
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
479
551
|
end
|
480
552
|
|
553
|
+
# 查询全量函数
|
554
|
+
|
555
|
+
# @param request: Request instance for DescribeOrganizationalFunctions.
|
556
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeOrganizationalFunctionsRequest`
|
557
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeOrganizationalFunctionsResponse`
|
558
|
+
def DescribeOrganizationalFunctions(request)
|
559
|
+
body = send_request('DescribeOrganizationalFunctions', request.serialize)
|
560
|
+
response = JSON.parse(body)
|
561
|
+
if response['Response'].key?('Error') == false
|
562
|
+
model = DescribeOrganizationalFunctionsResponse.new
|
563
|
+
model.deserialize(response['Response'])
|
564
|
+
model
|
565
|
+
else
|
566
|
+
code = response['Response']['Error']['Code']
|
567
|
+
message = response['Response']['Error']['Message']
|
568
|
+
reqid = response['Response']['RequestId']
|
569
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
570
|
+
end
|
571
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
572
|
+
raise e
|
573
|
+
rescue StandardError => e
|
574
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
575
|
+
end
|
576
|
+
|
481
577
|
# 获取项目信息
|
482
578
|
|
483
579
|
# @param request: Request instance for DescribeProject.
|
@@ -1052,6 +1148,30 @@ module TencentCloud
|
|
1052
1148
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1053
1149
|
end
|
1054
1150
|
|
1151
|
+
# 保存用户自定义函数
|
1152
|
+
|
1153
|
+
# @param request: Request instance for SaveCustomFunction.
|
1154
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::SaveCustomFunctionRequest`
|
1155
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::SaveCustomFunctionResponse`
|
1156
|
+
def SaveCustomFunction(request)
|
1157
|
+
body = send_request('SaveCustomFunction', request.serialize)
|
1158
|
+
response = JSON.parse(body)
|
1159
|
+
if response['Response'].key?('Error') == false
|
1160
|
+
model = SaveCustomFunctionResponse.new
|
1161
|
+
model.deserialize(response['Response'])
|
1162
|
+
model
|
1163
|
+
else
|
1164
|
+
code = response['Response']['Error']['Code']
|
1165
|
+
message = response['Response']['Error']['Message']
|
1166
|
+
reqid = response['Response']['RequestId']
|
1167
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1168
|
+
end
|
1169
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1170
|
+
raise e
|
1171
|
+
rescue StandardError => e
|
1172
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1173
|
+
end
|
1174
|
+
|
1055
1175
|
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
1056
1176
|
# 设置任务告警,新建/更新告警信息(最新)
|
1057
1177
|
|
@@ -1077,6 +1197,30 @@ module TencentCloud
|
|
1077
1197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1078
1198
|
end
|
1079
1199
|
|
1200
|
+
# 提交自定义函数
|
1201
|
+
|
1202
|
+
# @param request: Request instance for SubmitCustomFunction.
|
1203
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::SubmitCustomFunctionRequest`
|
1204
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::SubmitCustomFunctionResponse`
|
1205
|
+
def SubmitCustomFunction(request)
|
1206
|
+
body = send_request('SubmitCustomFunction', request.serialize)
|
1207
|
+
response = JSON.parse(body)
|
1208
|
+
if response['Response'].key?('Error') == false
|
1209
|
+
model = SubmitCustomFunctionResponse.new
|
1210
|
+
model.deserialize(response['Response'])
|
1211
|
+
model
|
1212
|
+
else
|
1213
|
+
code = response['Response']['Error']['Code']
|
1214
|
+
message = response['Response']['Error']['Message']
|
1215
|
+
reqid = response['Response']['RequestId']
|
1216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1217
|
+
end
|
1218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1219
|
+
raise e
|
1220
|
+
rescue StandardError => e
|
1221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1222
|
+
end
|
1223
|
+
|
1080
1224
|
# <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
|
1081
1225
|
# 提交任务
|
1082
1226
|
|
data/lib/v20210820/models.rb
CHANGED
@@ -881,6 +881,52 @@ module TencentCloud
|
|
881
881
|
end
|
882
882
|
end
|
883
883
|
|
884
|
+
# DeleteCustomFunction请求参数结构体
|
885
|
+
class DeleteCustomFunctionRequest < TencentCloud::Common::AbstractModel
|
886
|
+
# @param ClusterIdentifier: 集群实例 ID
|
887
|
+
# @type ClusterIdentifier: String
|
888
|
+
# @param FunctionId: 函数 ID
|
889
|
+
# @type FunctionId: String
|
890
|
+
|
891
|
+
attr_accessor :ClusterIdentifier, :FunctionId
|
892
|
+
|
893
|
+
def initialize(clusteridentifier=nil, functionid=nil)
|
894
|
+
@ClusterIdentifier = clusteridentifier
|
895
|
+
@FunctionId = functionid
|
896
|
+
end
|
897
|
+
|
898
|
+
def deserialize(params)
|
899
|
+
@ClusterIdentifier = params['ClusterIdentifier']
|
900
|
+
@FunctionId = params['FunctionId']
|
901
|
+
end
|
902
|
+
end
|
903
|
+
|
904
|
+
# DeleteCustomFunction返回参数结构体
|
905
|
+
class DeleteCustomFunctionResponse < TencentCloud::Common::AbstractModel
|
906
|
+
# @param FunctionId: 函数 ID
|
907
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
908
|
+
# @type FunctionId: String
|
909
|
+
# @param ErrorMessage: 无
|
910
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
911
|
+
# @type ErrorMessage: String
|
912
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
913
|
+
# @type RequestId: String
|
914
|
+
|
915
|
+
attr_accessor :FunctionId, :ErrorMessage, :RequestId
|
916
|
+
|
917
|
+
def initialize(functionid=nil, errormessage=nil, requestid=nil)
|
918
|
+
@FunctionId = functionid
|
919
|
+
@ErrorMessage = errormessage
|
920
|
+
@RequestId = requestid
|
921
|
+
end
|
922
|
+
|
923
|
+
def deserialize(params)
|
924
|
+
@FunctionId = params['FunctionId']
|
925
|
+
@ErrorMessage = params['ErrorMessage']
|
926
|
+
@RequestId = params['RequestId']
|
927
|
+
end
|
928
|
+
end
|
929
|
+
|
884
930
|
# DeleteDataSources请求参数结构体
|
885
931
|
class DeleteDataSourcesRequest < TencentCloud::Common::AbstractModel
|
886
932
|
# @param Ids: id列表
|
@@ -1457,6 +1503,94 @@ module TencentCloud
|
|
1457
1503
|
end
|
1458
1504
|
end
|
1459
1505
|
|
1506
|
+
# DescribeFunctionKinds请求参数结构体
|
1507
|
+
class DescribeFunctionKindsRequest < TencentCloud::Common::AbstractModel
|
1508
|
+
|
1509
|
+
|
1510
|
+
def initialize()
|
1511
|
+
end
|
1512
|
+
|
1513
|
+
def deserialize(params)
|
1514
|
+
end
|
1515
|
+
end
|
1516
|
+
|
1517
|
+
# DescribeFunctionKinds返回参数结构体
|
1518
|
+
class DescribeFunctionKindsResponse < TencentCloud::Common::AbstractModel
|
1519
|
+
# @param Kinds: 无
|
1520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1521
|
+
# @type Kinds: Array
|
1522
|
+
# @param ErrorMessage: 无
|
1523
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1524
|
+
# @type ErrorMessage: String
|
1525
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1526
|
+
# @type RequestId: String
|
1527
|
+
|
1528
|
+
attr_accessor :Kinds, :ErrorMessage, :RequestId
|
1529
|
+
|
1530
|
+
def initialize(kinds=nil, errormessage=nil, requestid=nil)
|
1531
|
+
@Kinds = kinds
|
1532
|
+
@ErrorMessage = errormessage
|
1533
|
+
@RequestId = requestid
|
1534
|
+
end
|
1535
|
+
|
1536
|
+
def deserialize(params)
|
1537
|
+
unless params['Kinds'].nil?
|
1538
|
+
@Kinds = []
|
1539
|
+
params['Kinds'].each do |i|
|
1540
|
+
functiontypeorkind_tmp = FunctionTypeOrKind.new
|
1541
|
+
functiontypeorkind_tmp.deserialize(i)
|
1542
|
+
@Kinds << functiontypeorkind_tmp
|
1543
|
+
end
|
1544
|
+
end
|
1545
|
+
@ErrorMessage = params['ErrorMessage']
|
1546
|
+
@RequestId = params['RequestId']
|
1547
|
+
end
|
1548
|
+
end
|
1549
|
+
|
1550
|
+
# DescribeFunctionTypes请求参数结构体
|
1551
|
+
class DescribeFunctionTypesRequest < TencentCloud::Common::AbstractModel
|
1552
|
+
|
1553
|
+
|
1554
|
+
def initialize()
|
1555
|
+
end
|
1556
|
+
|
1557
|
+
def deserialize(params)
|
1558
|
+
end
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
# DescribeFunctionTypes返回参数结构体
|
1562
|
+
class DescribeFunctionTypesResponse < TencentCloud::Common::AbstractModel
|
1563
|
+
# @param Types: 无
|
1564
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1565
|
+
# @type Types: Array
|
1566
|
+
# @param ErrorMessage: 无
|
1567
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1568
|
+
# @type ErrorMessage: String
|
1569
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1570
|
+
# @type RequestId: String
|
1571
|
+
|
1572
|
+
attr_accessor :Types, :ErrorMessage, :RequestId
|
1573
|
+
|
1574
|
+
def initialize(types=nil, errormessage=nil, requestid=nil)
|
1575
|
+
@Types = types
|
1576
|
+
@ErrorMessage = errormessage
|
1577
|
+
@RequestId = requestid
|
1578
|
+
end
|
1579
|
+
|
1580
|
+
def deserialize(params)
|
1581
|
+
unless params['Types'].nil?
|
1582
|
+
@Types = []
|
1583
|
+
params['Types'].each do |i|
|
1584
|
+
functiontypeorkind_tmp = FunctionTypeOrKind.new
|
1585
|
+
functiontypeorkind_tmp.deserialize(i)
|
1586
|
+
@Types << functiontypeorkind_tmp
|
1587
|
+
end
|
1588
|
+
end
|
1589
|
+
@ErrorMessage = params['ErrorMessage']
|
1590
|
+
@RequestId = params['RequestId']
|
1591
|
+
end
|
1592
|
+
end
|
1593
|
+
|
1460
1594
|
# DescribeInstanceLogs请求参数结构体
|
1461
1595
|
class DescribeInstanceLogsRequest < TencentCloud::Common::AbstractModel
|
1462
1596
|
# @param ProjectId: 项目Id
|
@@ -1509,6 +1643,67 @@ module TencentCloud
|
|
1509
1643
|
end
|
1510
1644
|
end
|
1511
1645
|
|
1646
|
+
# DescribeOrganizationalFunctions请求参数结构体
|
1647
|
+
class DescribeOrganizationalFunctionsRequest < TencentCloud::Common::AbstractModel
|
1648
|
+
# @param Type: 场景类型:开发、使用
|
1649
|
+
# @type Type: String
|
1650
|
+
# @param ProjectId: 项目 ID
|
1651
|
+
# @type ProjectId: String
|
1652
|
+
# @param Name: 函数名称
|
1653
|
+
# @type Name: String
|
1654
|
+
# @param DisplayName: 展示名称
|
1655
|
+
# @type DisplayName: String
|
1656
|
+
|
1657
|
+
attr_accessor :Type, :ProjectId, :Name, :DisplayName
|
1658
|
+
|
1659
|
+
def initialize(type=nil, projectid=nil, name=nil, displayname=nil)
|
1660
|
+
@Type = type
|
1661
|
+
@ProjectId = projectid
|
1662
|
+
@Name = name
|
1663
|
+
@DisplayName = displayname
|
1664
|
+
end
|
1665
|
+
|
1666
|
+
def deserialize(params)
|
1667
|
+
@Type = params['Type']
|
1668
|
+
@ProjectId = params['ProjectId']
|
1669
|
+
@Name = params['Name']
|
1670
|
+
@DisplayName = params['DisplayName']
|
1671
|
+
end
|
1672
|
+
end
|
1673
|
+
|
1674
|
+
# DescribeOrganizationalFunctions返回参数结构体
|
1675
|
+
class DescribeOrganizationalFunctionsResponse < TencentCloud::Common::AbstractModel
|
1676
|
+
# @param Content: 无
|
1677
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1678
|
+
# @type Content: Array
|
1679
|
+
# @param ErrorMessage: 无
|
1680
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1681
|
+
# @type ErrorMessage: String
|
1682
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1683
|
+
# @type RequestId: String
|
1684
|
+
|
1685
|
+
attr_accessor :Content, :ErrorMessage, :RequestId
|
1686
|
+
|
1687
|
+
def initialize(content=nil, errormessage=nil, requestid=nil)
|
1688
|
+
@Content = content
|
1689
|
+
@ErrorMessage = errormessage
|
1690
|
+
@RequestId = requestid
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
def deserialize(params)
|
1694
|
+
unless params['Content'].nil?
|
1695
|
+
@Content = []
|
1696
|
+
params['Content'].each do |i|
|
1697
|
+
organizationalfunction_tmp = OrganizationalFunction.new
|
1698
|
+
organizationalfunction_tmp.deserialize(i)
|
1699
|
+
@Content << organizationalfunction_tmp
|
1700
|
+
end
|
1701
|
+
end
|
1702
|
+
@ErrorMessage = params['ErrorMessage']
|
1703
|
+
@RequestId = params['RequestId']
|
1704
|
+
end
|
1705
|
+
end
|
1706
|
+
|
1512
1707
|
# DescribeProject请求参数结构体
|
1513
1708
|
class DescribeProjectRequest < TencentCloud::Common::AbstractModel
|
1514
1709
|
# @param ProjectId: 项目id。一般使用项目Id来查询,与projectName必须存在一个。
|
@@ -2096,6 +2291,108 @@ module TencentCloud
|
|
2096
2291
|
end
|
2097
2292
|
end
|
2098
2293
|
|
2294
|
+
# 函数资源信息
|
2295
|
+
class FunctionResource < TencentCloud::Common::AbstractModel
|
2296
|
+
# @param Path: 资源路径
|
2297
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2298
|
+
# @type Path: String
|
2299
|
+
# @param Name: 无
|
2300
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2301
|
+
# @type Name: String
|
2302
|
+
# @param Id: 资源唯一标识
|
2303
|
+
# @type Id: String
|
2304
|
+
# @param Md5: 资源 MD5 值
|
2305
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2306
|
+
# @type Md5: String
|
2307
|
+
# @param Type: 默认是 hdfs
|
2308
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2309
|
+
# @type Type: String
|
2310
|
+
|
2311
|
+
attr_accessor :Path, :Name, :Id, :Md5, :Type
|
2312
|
+
|
2313
|
+
def initialize(path=nil, name=nil, id=nil, md5=nil, type=nil)
|
2314
|
+
@Path = path
|
2315
|
+
@Name = name
|
2316
|
+
@Id = id
|
2317
|
+
@Md5 = md5
|
2318
|
+
@Type = type
|
2319
|
+
end
|
2320
|
+
|
2321
|
+
def deserialize(params)
|
2322
|
+
@Path = params['Path']
|
2323
|
+
@Name = params['Name']
|
2324
|
+
@Id = params['Id']
|
2325
|
+
@Md5 = params['Md5']
|
2326
|
+
@Type = params['Type']
|
2327
|
+
end
|
2328
|
+
end
|
2329
|
+
|
2330
|
+
# 函数类型或函数分类
|
2331
|
+
class FunctionTypeOrKind < TencentCloud::Common::AbstractModel
|
2332
|
+
# @param Name: 无
|
2333
|
+
# @type Name: String
|
2334
|
+
# @param ZhName: 无
|
2335
|
+
# @type ZhName: String
|
2336
|
+
# @param EnName: 无
|
2337
|
+
# @type EnName: String
|
2338
|
+
|
2339
|
+
attr_accessor :Name, :ZhName, :EnName
|
2340
|
+
|
2341
|
+
def initialize(name=nil, zhname=nil, enname=nil)
|
2342
|
+
@Name = name
|
2343
|
+
@ZhName = zhname
|
2344
|
+
@EnName = enname
|
2345
|
+
end
|
2346
|
+
|
2347
|
+
def deserialize(params)
|
2348
|
+
@Name = params['Name']
|
2349
|
+
@ZhName = params['ZhName']
|
2350
|
+
@EnName = params['EnName']
|
2351
|
+
end
|
2352
|
+
end
|
2353
|
+
|
2354
|
+
# 函数提交版本信息
|
2355
|
+
class FunctionVersion < TencentCloud::Common::AbstractModel
|
2356
|
+
# @param Tag: 版本号:V0 V1 V2
|
2357
|
+
# @type Tag: String
|
2358
|
+
# @param UserId: 提交人 ID
|
2359
|
+
# @type UserId: String
|
2360
|
+
# @param Type: 变更类型:ADD、MODIFY
|
2361
|
+
# @type Type: String
|
2362
|
+
# @param Comment: 备注
|
2363
|
+
# @type Comment: String
|
2364
|
+
# @param Timestamp: 提交时间: UTC 秒数
|
2365
|
+
# @type Timestamp: String
|
2366
|
+
# @param UserName: 提交人名称
|
2367
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2368
|
+
# @type UserName: String
|
2369
|
+
# @param Content: 版本内容:json string 格式
|
2370
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2371
|
+
# @type Content: String
|
2372
|
+
|
2373
|
+
attr_accessor :Tag, :UserId, :Type, :Comment, :Timestamp, :UserName, :Content
|
2374
|
+
|
2375
|
+
def initialize(tag=nil, userid=nil, type=nil, comment=nil, timestamp=nil, username=nil, content=nil)
|
2376
|
+
@Tag = tag
|
2377
|
+
@UserId = userid
|
2378
|
+
@Type = type
|
2379
|
+
@Comment = comment
|
2380
|
+
@Timestamp = timestamp
|
2381
|
+
@UserName = username
|
2382
|
+
@Content = content
|
2383
|
+
end
|
2384
|
+
|
2385
|
+
def deserialize(params)
|
2386
|
+
@Tag = params['Tag']
|
2387
|
+
@UserId = params['UserId']
|
2388
|
+
@Type = params['Type']
|
2389
|
+
@Comment = params['Comment']
|
2390
|
+
@Timestamp = params['Timestamp']
|
2391
|
+
@UserName = params['UserName']
|
2392
|
+
@Content = params['Content']
|
2393
|
+
end
|
2394
|
+
end
|
2395
|
+
|
2099
2396
|
# Spark SQL配置参数
|
2100
2397
|
class GeneralTaskParam < TencentCloud::Common::AbstractModel
|
2101
2398
|
# @param Type: 通用任务参数类型,例:SPARK_SQL
|
@@ -3211,6 +3508,126 @@ module TencentCloud
|
|
3211
3508
|
end
|
3212
3509
|
end
|
3213
3510
|
|
3511
|
+
# 包含层级信息的函数
|
3512
|
+
class OrganizationalFunction < TencentCloud::Common::AbstractModel
|
3513
|
+
# @param Name: 名称
|
3514
|
+
# @type Name: String
|
3515
|
+
# @param DisplayName: 展示名称
|
3516
|
+
# @type DisplayName: String
|
3517
|
+
# @param LayerPath: 层级路径
|
3518
|
+
# @type LayerPath: String
|
3519
|
+
# @param ParentLayerPath: 上级层级路径
|
3520
|
+
# @type ParentLayerPath: String
|
3521
|
+
# @param Type: 函数类型
|
3522
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3523
|
+
# @type Type: String
|
3524
|
+
# @param Kind: 函数分类:窗口函数、聚合函数、日期函数......
|
3525
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3526
|
+
# @type Kind: String
|
3527
|
+
# @param Category: 函数种类:系统函数、自定义函数
|
3528
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3529
|
+
# @type Category: String
|
3530
|
+
# @param Status: 函数状态
|
3531
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3532
|
+
# @type Status: String
|
3533
|
+
# @param Description: 函数说明
|
3534
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3535
|
+
# @type Description: String
|
3536
|
+
# @param Usage: 函数用法
|
3537
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3538
|
+
# @type Usage: String
|
3539
|
+
# @param ParamDesc: 函数参数说明
|
3540
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3541
|
+
# @type ParamDesc: String
|
3542
|
+
# @param ReturnDesc: 函数返回值说明
|
3543
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3544
|
+
# @type ReturnDesc: String
|
3545
|
+
# @param Example: 函数示例
|
3546
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3547
|
+
# @type Example: String
|
3548
|
+
# @param ClusterIdentifier: 集群实例引擎 ID
|
3549
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3550
|
+
# @type ClusterIdentifier: String
|
3551
|
+
# @param FuncId: 函数 ID
|
3552
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3553
|
+
# @type FuncId: String
|
3554
|
+
# @param ClassName: 函数类名
|
3555
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3556
|
+
# @type ClassName: String
|
3557
|
+
# @param ResourceList: 函数资源列表
|
3558
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3559
|
+
# @type ResourceList: Array
|
3560
|
+
# @param OperatorUserIds: 操作人 ID 列表
|
3561
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3562
|
+
# @type OperatorUserIds: Array
|
3563
|
+
# @param OwnerUserIds: 公有云 Owner ID 列表
|
3564
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3565
|
+
# @type OwnerUserIds: Array
|
3566
|
+
# @param DbName: 数据库名称
|
3567
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3568
|
+
# @type DbName: String
|
3569
|
+
# @param SubmitErrorMsg: 提交失败错误信息
|
3570
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3571
|
+
# @type SubmitErrorMsg: String
|
3572
|
+
|
3573
|
+
attr_accessor :Name, :DisplayName, :LayerPath, :ParentLayerPath, :Type, :Kind, :Category, :Status, :Description, :Usage, :ParamDesc, :ReturnDesc, :Example, :ClusterIdentifier, :FuncId, :ClassName, :ResourceList, :OperatorUserIds, :OwnerUserIds, :DbName, :SubmitErrorMsg
|
3574
|
+
|
3575
|
+
def initialize(name=nil, displayname=nil, layerpath=nil, parentlayerpath=nil, type=nil, kind=nil, category=nil, status=nil, description=nil, usage=nil, paramdesc=nil, returndesc=nil, example=nil, clusteridentifier=nil, funcid=nil, classname=nil, resourcelist=nil, operatoruserids=nil, owneruserids=nil, dbname=nil, submiterrormsg=nil)
|
3576
|
+
@Name = name
|
3577
|
+
@DisplayName = displayname
|
3578
|
+
@LayerPath = layerpath
|
3579
|
+
@ParentLayerPath = parentlayerpath
|
3580
|
+
@Type = type
|
3581
|
+
@Kind = kind
|
3582
|
+
@Category = category
|
3583
|
+
@Status = status
|
3584
|
+
@Description = description
|
3585
|
+
@Usage = usage
|
3586
|
+
@ParamDesc = paramdesc
|
3587
|
+
@ReturnDesc = returndesc
|
3588
|
+
@Example = example
|
3589
|
+
@ClusterIdentifier = clusteridentifier
|
3590
|
+
@FuncId = funcid
|
3591
|
+
@ClassName = classname
|
3592
|
+
@ResourceList = resourcelist
|
3593
|
+
@OperatorUserIds = operatoruserids
|
3594
|
+
@OwnerUserIds = owneruserids
|
3595
|
+
@DbName = dbname
|
3596
|
+
@SubmitErrorMsg = submiterrormsg
|
3597
|
+
end
|
3598
|
+
|
3599
|
+
def deserialize(params)
|
3600
|
+
@Name = params['Name']
|
3601
|
+
@DisplayName = params['DisplayName']
|
3602
|
+
@LayerPath = params['LayerPath']
|
3603
|
+
@ParentLayerPath = params['ParentLayerPath']
|
3604
|
+
@Type = params['Type']
|
3605
|
+
@Kind = params['Kind']
|
3606
|
+
@Category = params['Category']
|
3607
|
+
@Status = params['Status']
|
3608
|
+
@Description = params['Description']
|
3609
|
+
@Usage = params['Usage']
|
3610
|
+
@ParamDesc = params['ParamDesc']
|
3611
|
+
@ReturnDesc = params['ReturnDesc']
|
3612
|
+
@Example = params['Example']
|
3613
|
+
@ClusterIdentifier = params['ClusterIdentifier']
|
3614
|
+
@FuncId = params['FuncId']
|
3615
|
+
@ClassName = params['ClassName']
|
3616
|
+
unless params['ResourceList'].nil?
|
3617
|
+
@ResourceList = []
|
3618
|
+
params['ResourceList'].each do |i|
|
3619
|
+
functionversion_tmp = FunctionVersion.new
|
3620
|
+
functionversion_tmp.deserialize(i)
|
3621
|
+
@ResourceList << functionversion_tmp
|
3622
|
+
end
|
3623
|
+
end
|
3624
|
+
@OperatorUserIds = params['OperatorUserIds']
|
3625
|
+
@OwnerUserIds = params['OwnerUserIds']
|
3626
|
+
@DbName = params['DbName']
|
3627
|
+
@SubmitErrorMsg = params['SubmitErrorMsg']
|
3628
|
+
end
|
3629
|
+
end
|
3630
|
+
|
3214
3631
|
# 参数参数
|
3215
3632
|
class ParamInfo < TencentCloud::Common::AbstractModel
|
3216
3633
|
# @param ParamKey: 参数名
|
@@ -3493,6 +3910,91 @@ module TencentCloud
|
|
3493
3910
|
end
|
3494
3911
|
end
|
3495
3912
|
|
3913
|
+
# SaveCustomFunction请求参数结构体
|
3914
|
+
class SaveCustomFunctionRequest < TencentCloud::Common::AbstractModel
|
3915
|
+
# @param FunctionId: 函数唯一标识
|
3916
|
+
# @type FunctionId: String
|
3917
|
+
# @param Kind: 分类:窗口函数、聚合函数、日期函数......
|
3918
|
+
# @type Kind: String
|
3919
|
+
# @param ClusterIdentifier: 集群引擎实例
|
3920
|
+
# @type ClusterIdentifier: String
|
3921
|
+
# @param ClassName: 类名
|
3922
|
+
# @type ClassName: String
|
3923
|
+
# @param ResourceList: 资源列表
|
3924
|
+
# @type ResourceList: Array
|
3925
|
+
# @param Description: 函数说明
|
3926
|
+
# @type Description: String
|
3927
|
+
# @param Usage: 用法
|
3928
|
+
# @type Usage: String
|
3929
|
+
# @param ParamDesc: 参数说明
|
3930
|
+
# @type ParamDesc: String
|
3931
|
+
# @param ReturnDesc: 返回值说明
|
3932
|
+
# @type ReturnDesc: String
|
3933
|
+
# @param Example: 示例
|
3934
|
+
# @type Example: String
|
3935
|
+
|
3936
|
+
attr_accessor :FunctionId, :Kind, :ClusterIdentifier, :ClassName, :ResourceList, :Description, :Usage, :ParamDesc, :ReturnDesc, :Example
|
3937
|
+
|
3938
|
+
def initialize(functionid=nil, kind=nil, clusteridentifier=nil, classname=nil, resourcelist=nil, description=nil, usage=nil, paramdesc=nil, returndesc=nil, example=nil)
|
3939
|
+
@FunctionId = functionid
|
3940
|
+
@Kind = kind
|
3941
|
+
@ClusterIdentifier = clusteridentifier
|
3942
|
+
@ClassName = classname
|
3943
|
+
@ResourceList = resourcelist
|
3944
|
+
@Description = description
|
3945
|
+
@Usage = usage
|
3946
|
+
@ParamDesc = paramdesc
|
3947
|
+
@ReturnDesc = returndesc
|
3948
|
+
@Example = example
|
3949
|
+
end
|
3950
|
+
|
3951
|
+
def deserialize(params)
|
3952
|
+
@FunctionId = params['FunctionId']
|
3953
|
+
@Kind = params['Kind']
|
3954
|
+
@ClusterIdentifier = params['ClusterIdentifier']
|
3955
|
+
@ClassName = params['ClassName']
|
3956
|
+
unless params['ResourceList'].nil?
|
3957
|
+
@ResourceList = []
|
3958
|
+
params['ResourceList'].each do |i|
|
3959
|
+
functionresource_tmp = FunctionResource.new
|
3960
|
+
functionresource_tmp.deserialize(i)
|
3961
|
+
@ResourceList << functionresource_tmp
|
3962
|
+
end
|
3963
|
+
end
|
3964
|
+
@Description = params['Description']
|
3965
|
+
@Usage = params['Usage']
|
3966
|
+
@ParamDesc = params['ParamDesc']
|
3967
|
+
@ReturnDesc = params['ReturnDesc']
|
3968
|
+
@Example = params['Example']
|
3969
|
+
end
|
3970
|
+
end
|
3971
|
+
|
3972
|
+
# SaveCustomFunction返回参数结构体
|
3973
|
+
class SaveCustomFunctionResponse < TencentCloud::Common::AbstractModel
|
3974
|
+
# @param FunctionId: 函数唯一标识
|
3975
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3976
|
+
# @type FunctionId: String
|
3977
|
+
# @param ErrorMessage: 无
|
3978
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3979
|
+
# @type ErrorMessage: String
|
3980
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3981
|
+
# @type RequestId: String
|
3982
|
+
|
3983
|
+
attr_accessor :FunctionId, :ErrorMessage, :RequestId
|
3984
|
+
|
3985
|
+
def initialize(functionid=nil, errormessage=nil, requestid=nil)
|
3986
|
+
@FunctionId = functionid
|
3987
|
+
@ErrorMessage = errormessage
|
3988
|
+
@RequestId = requestid
|
3989
|
+
end
|
3990
|
+
|
3991
|
+
def deserialize(params)
|
3992
|
+
@FunctionId = params['FunctionId']
|
3993
|
+
@ErrorMessage = params['ErrorMessage']
|
3994
|
+
@RequestId = params['RequestId']
|
3995
|
+
end
|
3996
|
+
end
|
3997
|
+
|
3496
3998
|
# SetTaskAlarmNew请求参数结构体
|
3497
3999
|
class SetTaskAlarmNewRequest < TencentCloud::Common::AbstractModel
|
3498
4000
|
# @param AlarmInfoList: 设置任务超时告警和失败告警信息
|
@@ -3563,6 +4065,56 @@ module TencentCloud
|
|
3563
4065
|
end
|
3564
4066
|
end
|
3565
4067
|
|
4068
|
+
# SubmitCustomFunction请求参数结构体
|
4069
|
+
class SubmitCustomFunctionRequest < TencentCloud::Common::AbstractModel
|
4070
|
+
# @param FunctionId: 函数唯一标识
|
4071
|
+
# @type FunctionId: String
|
4072
|
+
# @param ClusterIdentifier: 集群实例 ID
|
4073
|
+
# @type ClusterIdentifier: String
|
4074
|
+
# @param Comment: 备注信息
|
4075
|
+
# @type Comment: String
|
4076
|
+
|
4077
|
+
attr_accessor :FunctionId, :ClusterIdentifier, :Comment
|
4078
|
+
|
4079
|
+
def initialize(functionid=nil, clusteridentifier=nil, comment=nil)
|
4080
|
+
@FunctionId = functionid
|
4081
|
+
@ClusterIdentifier = clusteridentifier
|
4082
|
+
@Comment = comment
|
4083
|
+
end
|
4084
|
+
|
4085
|
+
def deserialize(params)
|
4086
|
+
@FunctionId = params['FunctionId']
|
4087
|
+
@ClusterIdentifier = params['ClusterIdentifier']
|
4088
|
+
@Comment = params['Comment']
|
4089
|
+
end
|
4090
|
+
end
|
4091
|
+
|
4092
|
+
# SubmitCustomFunction返回参数结构体
|
4093
|
+
class SubmitCustomFunctionResponse < TencentCloud::Common::AbstractModel
|
4094
|
+
# @param FunctionId: 函数唯一标识
|
4095
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4096
|
+
# @type FunctionId: String
|
4097
|
+
# @param ErrorMessage: 无
|
4098
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4099
|
+
# @type ErrorMessage: String
|
4100
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4101
|
+
# @type RequestId: String
|
4102
|
+
|
4103
|
+
attr_accessor :FunctionId, :ErrorMessage, :RequestId
|
4104
|
+
|
4105
|
+
def initialize(functionid=nil, errormessage=nil, requestid=nil)
|
4106
|
+
@FunctionId = functionid
|
4107
|
+
@ErrorMessage = errormessage
|
4108
|
+
@RequestId = requestid
|
4109
|
+
end
|
4110
|
+
|
4111
|
+
def deserialize(params)
|
4112
|
+
@FunctionId = params['FunctionId']
|
4113
|
+
@ErrorMessage = params['ErrorMessage']
|
4114
|
+
@RequestId = params['RequestId']
|
4115
|
+
end
|
4116
|
+
end
|
4117
|
+
|
3566
4118
|
# SubmitTask请求参数结构体
|
3567
4119
|
class SubmitTaskRequest < TencentCloud::Common::AbstractModel
|
3568
4120
|
# @param ProjectId: 项目Id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-wedata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.429
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|