tencentcloud-sdk-wedata 3.0.729 → 3.0.730
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 +24 -0
- data/lib/v20210820/models.rb +84 -14
- 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: 75730e74105e4491d29c6f370f71b4b45785123c
|
4
|
+
data.tar.gz: a112d8f5efa2a49c91b2ecbfbb37048ccc83c6fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e23b542bd633d2ee31fabc31697067c72065533cb6042f1b455873777ee8510b43a46cbe381765796e05fe69dd1697c0807f1eb886eb08a84fa32d166b9a9bc
|
7
|
+
data.tar.gz: 069796485352a2542c4436129bf7e91df803fb0cbf2fe8a12cab3c0eaf2361620c2481b86f48867d80e4dd5b03429fa357a962f6e426fdea64ce7fb74d4693b9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.730
|
data/lib/v20210820/client.rb
CHANGED
@@ -5067,6 +5067,30 @@ module TencentCloud
|
|
5067
5067
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5068
5068
|
end
|
5069
5069
|
|
5070
|
+
# 查询表元数据详情
|
5071
|
+
|
5072
|
+
# @param request: Request instance for DescribeTableMeta.
|
5073
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeTableMetaRequest`
|
5074
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeTableMetaResponse`
|
5075
|
+
def DescribeTableMeta(request)
|
5076
|
+
body = send_request('DescribeTableMeta', request.serialize)
|
5077
|
+
response = JSON.parse(body)
|
5078
|
+
if response['Response'].key?('Error') == false
|
5079
|
+
model = DescribeTableMetaResponse.new
|
5080
|
+
model.deserialize(response['Response'])
|
5081
|
+
model
|
5082
|
+
else
|
5083
|
+
code = response['Response']['Error']['Code']
|
5084
|
+
message = response['Response']['Error']['Message']
|
5085
|
+
reqid = response['Response']['RequestId']
|
5086
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5087
|
+
end
|
5088
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5089
|
+
raise e
|
5090
|
+
rescue StandardError => e
|
5091
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5092
|
+
end
|
5093
|
+
|
5070
5094
|
# 获取表元数据list
|
5071
5095
|
|
5072
5096
|
# @param request: Request instance for DescribeTableMetas.
|
data/lib/v20210820/models.rb
CHANGED
@@ -505,10 +505,13 @@ module TencentCloud
|
|
505
505
|
# @param WecomGroup: 企业微信群,0:未设置,1:成功,2:失败
|
506
506
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
507
507
|
# @type WecomGroup: Integer
|
508
|
+
# @param LarkGroup: 飞书群,0:未设置,1:成功,2:失败
|
509
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
510
|
+
# @type LarkGroup: Integer
|
508
511
|
|
509
|
-
attr_accessor :AlarmId, :AlarmReceiver, :Email, :Sms, :Wechat, :Voice, :Wecom, :Http, :WecomGroup
|
512
|
+
attr_accessor :AlarmId, :AlarmReceiver, :Email, :Sms, :Wechat, :Voice, :Wecom, :Http, :WecomGroup, :LarkGroup
|
510
513
|
|
511
|
-
def initialize(alarmid=nil, alarmreceiver=nil, email=nil, sms=nil, wechat=nil, voice=nil, wecom=nil, http=nil, wecomgroup=nil)
|
514
|
+
def initialize(alarmid=nil, alarmreceiver=nil, email=nil, sms=nil, wechat=nil, voice=nil, wecom=nil, http=nil, wecomgroup=nil, larkgroup=nil)
|
512
515
|
@AlarmId = alarmid
|
513
516
|
@AlarmReceiver = alarmreceiver
|
514
517
|
@Email = email
|
@@ -518,6 +521,7 @@ module TencentCloud
|
|
518
521
|
@Wecom = wecom
|
519
522
|
@Http = http
|
520
523
|
@WecomGroup = wecomgroup
|
524
|
+
@LarkGroup = larkgroup
|
521
525
|
end
|
522
526
|
|
523
527
|
def deserialize(params)
|
@@ -530,6 +534,7 @@ module TencentCloud
|
|
530
534
|
@Wecom = params['Wecom']
|
531
535
|
@Http = params['Http']
|
532
536
|
@WecomGroup = params['WecomGroup']
|
537
|
+
@LarkGroup = params['LarkGroup']
|
533
538
|
end
|
534
539
|
end
|
535
540
|
|
@@ -2582,19 +2587,23 @@ module TencentCloud
|
|
2582
2587
|
# @type TaskType: Integer
|
2583
2588
|
# @param ProjectId: 项目id
|
2584
2589
|
# @type ProjectId: String
|
2590
|
+
# @param Event: 事件类型(START, STOP, SUSPEND, SUSPEND_WITHOUT_SP,RESUME, COMMIT, TIMESTAMP)
|
2591
|
+
# @type Event: String
|
2585
2592
|
|
2586
|
-
attr_accessor :TaskIds, :TaskType, :ProjectId
|
2593
|
+
attr_accessor :TaskIds, :TaskType, :ProjectId, :Event
|
2587
2594
|
|
2588
|
-
def initialize(taskids=nil, tasktype=nil, projectid=nil)
|
2595
|
+
def initialize(taskids=nil, tasktype=nil, projectid=nil, event=nil)
|
2589
2596
|
@TaskIds = taskids
|
2590
2597
|
@TaskType = tasktype
|
2591
2598
|
@ProjectId = projectid
|
2599
|
+
@Event = event
|
2592
2600
|
end
|
2593
2601
|
|
2594
2602
|
def deserialize(params)
|
2595
2603
|
@TaskIds = params['TaskIds']
|
2596
2604
|
@TaskType = params['TaskType']
|
2597
2605
|
@ProjectId = params['ProjectId']
|
2606
|
+
@Event = params['Event']
|
2598
2607
|
end
|
2599
2608
|
end
|
2600
2609
|
|
@@ -3567,10 +3576,12 @@ module TencentCloud
|
|
3567
3576
|
# @type VersionDesc: String
|
3568
3577
|
# @param InstanceVersion: 提交版本号
|
3569
3578
|
# @type InstanceVersion: Integer
|
3579
|
+
# @param EventDesc: 前端操作类型描述
|
3580
|
+
# @type EventDesc: String
|
3570
3581
|
|
3571
|
-
attr_accessor :TaskId, :ProjectId, :CommitType, :TaskType, :ExtConfig, :VersionDesc, :InstanceVersion
|
3582
|
+
attr_accessor :TaskId, :ProjectId, :CommitType, :TaskType, :ExtConfig, :VersionDesc, :InstanceVersion, :EventDesc
|
3572
3583
|
|
3573
|
-
def initialize(taskid=nil, projectid=nil, committype=nil, tasktype=nil, extconfig=nil, versiondesc=nil, instanceversion=nil)
|
3584
|
+
def initialize(taskid=nil, projectid=nil, committype=nil, tasktype=nil, extconfig=nil, versiondesc=nil, instanceversion=nil, eventdesc=nil)
|
3574
3585
|
@TaskId = taskid
|
3575
3586
|
@ProjectId = projectid
|
3576
3587
|
@CommitType = committype
|
@@ -3578,6 +3589,7 @@ module TencentCloud
|
|
3578
3589
|
@ExtConfig = extconfig
|
3579
3590
|
@VersionDesc = versiondesc
|
3580
3591
|
@InstanceVersion = instanceversion
|
3592
|
+
@EventDesc = eventdesc
|
3581
3593
|
end
|
3582
3594
|
|
3583
3595
|
def deserialize(params)
|
@@ -3595,6 +3607,7 @@ module TencentCloud
|
|
3595
3607
|
end
|
3596
3608
|
@VersionDesc = params['VersionDesc']
|
3597
3609
|
@InstanceVersion = params['InstanceVersion']
|
3610
|
+
@EventDesc = params['EventDesc']
|
3598
3611
|
end
|
3599
3612
|
end
|
3600
3613
|
|
@@ -15880,6 +15893,46 @@ module TencentCloud
|
|
15880
15893
|
end
|
15881
15894
|
end
|
15882
15895
|
|
15896
|
+
# DescribeTableMeta请求参数结构体
|
15897
|
+
class DescribeTableMetaRequest < TencentCloud::Common::AbstractModel
|
15898
|
+
# @param TableId: 表唯一id
|
15899
|
+
# @type TableId: String
|
15900
|
+
|
15901
|
+
attr_accessor :TableId
|
15902
|
+
|
15903
|
+
def initialize(tableid=nil)
|
15904
|
+
@TableId = tableid
|
15905
|
+
end
|
15906
|
+
|
15907
|
+
def deserialize(params)
|
15908
|
+
@TableId = params['TableId']
|
15909
|
+
end
|
15910
|
+
end
|
15911
|
+
|
15912
|
+
# DescribeTableMeta返回参数结构体
|
15913
|
+
class DescribeTableMetaResponse < TencentCloud::Common::AbstractModel
|
15914
|
+
# @param TableMeta: 表的元数据信息
|
15915
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15916
|
+
# @type TableMeta: :class:`Tencentcloud::Wedata.v20210820.models.TableMeta`
|
15917
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
15918
|
+
# @type RequestId: String
|
15919
|
+
|
15920
|
+
attr_accessor :TableMeta, :RequestId
|
15921
|
+
|
15922
|
+
def initialize(tablemeta=nil, requestid=nil)
|
15923
|
+
@TableMeta = tablemeta
|
15924
|
+
@RequestId = requestid
|
15925
|
+
end
|
15926
|
+
|
15927
|
+
def deserialize(params)
|
15928
|
+
unless params['TableMeta'].nil?
|
15929
|
+
@TableMeta = TableMeta.new
|
15930
|
+
@TableMeta.deserialize(params['TableMeta'])
|
15931
|
+
end
|
15932
|
+
@RequestId = params['RequestId']
|
15933
|
+
end
|
15934
|
+
end
|
15935
|
+
|
15883
15936
|
# DescribeTableMetas请求参数结构体
|
15884
15937
|
class DescribeTableMetasRequest < TencentCloud::Common::AbstractModel
|
15885
15938
|
# @param PageNumber: 分页页码
|
@@ -26423,14 +26476,17 @@ module TencentCloud
|
|
26423
26476
|
# @type Event: String
|
26424
26477
|
# @param ExtConfig: 额外参数
|
26425
26478
|
# @type ExtConfig: Array
|
26479
|
+
# @param EventDesc: 前端操作类型描述
|
26480
|
+
# @type EventDesc: String
|
26426
26481
|
|
26427
|
-
attr_accessor :TaskId, :ProjectId, :Event, :ExtConfig
|
26482
|
+
attr_accessor :TaskId, :ProjectId, :Event, :ExtConfig, :EventDesc
|
26428
26483
|
|
26429
|
-
def initialize(taskid=nil, projectid=nil, event=nil, extconfig=nil)
|
26484
|
+
def initialize(taskid=nil, projectid=nil, event=nil, extconfig=nil, eventdesc=nil)
|
26430
26485
|
@TaskId = taskid
|
26431
26486
|
@ProjectId = projectid
|
26432
26487
|
@Event = event
|
26433
26488
|
@ExtConfig = extconfig
|
26489
|
+
@EventDesc = eventdesc
|
26434
26490
|
end
|
26435
26491
|
|
26436
26492
|
def deserialize(params)
|
@@ -26445,6 +26501,7 @@ module TencentCloud
|
|
26445
26501
|
@ExtConfig << recordfield_tmp
|
26446
26502
|
end
|
26447
26503
|
end
|
26504
|
+
@EventDesc = params['EventDesc']
|
26448
26505
|
end
|
26449
26506
|
end
|
26450
26507
|
|
@@ -29653,14 +29710,17 @@ module TencentCloud
|
|
29653
29710
|
# @type Event: String
|
29654
29711
|
# @param ExtConfig: 额外参数
|
29655
29712
|
# @type ExtConfig: Array
|
29713
|
+
# @param EventDesc: 操作类型描述
|
29714
|
+
# @type EventDesc: String
|
29656
29715
|
|
29657
|
-
attr_accessor :TaskId, :ProjectId, :Event, :ExtConfig
|
29716
|
+
attr_accessor :TaskId, :ProjectId, :Event, :ExtConfig, :EventDesc
|
29658
29717
|
|
29659
|
-
def initialize(taskid=nil, projectid=nil, event=nil, extconfig=nil)
|
29718
|
+
def initialize(taskid=nil, projectid=nil, event=nil, extconfig=nil, eventdesc=nil)
|
29660
29719
|
@TaskId = taskid
|
29661
29720
|
@ProjectId = projectid
|
29662
29721
|
@Event = event
|
29663
29722
|
@ExtConfig = extconfig
|
29723
|
+
@EventDesc = eventdesc
|
29664
29724
|
end
|
29665
29725
|
|
29666
29726
|
def deserialize(params)
|
@@ -29675,6 +29735,7 @@ module TencentCloud
|
|
29675
29735
|
@ExtConfig << recordfield_tmp
|
29676
29736
|
end
|
29677
29737
|
end
|
29738
|
+
@EventDesc = params['EventDesc']
|
29678
29739
|
end
|
29679
29740
|
end
|
29680
29741
|
|
@@ -30278,17 +30339,21 @@ module TencentCloud
|
|
30278
30339
|
# @type TaskId: String
|
30279
30340
|
# @param ProjectId: 项目id
|
30280
30341
|
# @type ProjectId: String
|
30342
|
+
# @param Event: 事件类型(START, STOP, SUSPEND, SUSPEND_WITHOUT_SP,RESUME, COMMIT, TIMESTAMP)
|
30343
|
+
# @type Event: String
|
30281
30344
|
|
30282
|
-
attr_accessor :TaskId, :ProjectId
|
30345
|
+
attr_accessor :TaskId, :ProjectId, :Event
|
30283
30346
|
|
30284
|
-
def initialize(taskid=nil, projectid=nil)
|
30347
|
+
def initialize(taskid=nil, projectid=nil, event=nil)
|
30285
30348
|
@TaskId = taskid
|
30286
30349
|
@ProjectId = projectid
|
30350
|
+
@Event = event
|
30287
30351
|
end
|
30288
30352
|
|
30289
30353
|
def deserialize(params)
|
30290
30354
|
@TaskId = params['TaskId']
|
30291
30355
|
@ProjectId = params['ProjectId']
|
30356
|
+
@Event = params['Event']
|
30292
30357
|
end
|
30293
30358
|
end
|
30294
30359
|
|
@@ -31112,10 +31177,13 @@ module TencentCloud
|
|
31112
31177
|
# @param Description: 告警规则描述
|
31113
31178
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
31114
31179
|
# @type Description: String
|
31180
|
+
# @param LarkWebHooks: 飞书群Hook地址,多个hook地址使用,隔开
|
31181
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31182
|
+
# @type LarkWebHooks: String
|
31115
31183
|
|
31116
|
-
attr_accessor :TaskId, :RegularName, :RegularStatus, :AlarmLevel, :AlarmWay, :TaskType, :Id, :RegularId, :AlarmIndicator, :TriggerType, :EstimatedTime, :AlarmRecipientId, :ProjectId, :Creater, :AlarmRecipientName, :AlarmIndicatorDesc, :Operator, :NodeId, :NodeName, :AlarmIndicatorInfos, :AlarmRecipientType, :WeComHook, :UpdateTime, :OperatorUin, :TaskCount, :MonitorType, :MonitorObjectIds, :LatestAlarmInstanceId, :LatestAlarmTime, :Description
|
31184
|
+
attr_accessor :TaskId, :RegularName, :RegularStatus, :AlarmLevel, :AlarmWay, :TaskType, :Id, :RegularId, :AlarmIndicator, :TriggerType, :EstimatedTime, :AlarmRecipientId, :ProjectId, :Creater, :AlarmRecipientName, :AlarmIndicatorDesc, :Operator, :NodeId, :NodeName, :AlarmIndicatorInfos, :AlarmRecipientType, :WeComHook, :UpdateTime, :OperatorUin, :TaskCount, :MonitorType, :MonitorObjectIds, :LatestAlarmInstanceId, :LatestAlarmTime, :Description, :LarkWebHooks
|
31117
31185
|
|
31118
|
-
def initialize(taskid=nil, regularname=nil, regularstatus=nil, alarmlevel=nil, alarmway=nil, tasktype=nil, id=nil, regularid=nil, alarmindicator=nil, triggertype=nil, estimatedtime=nil, alarmrecipientid=nil, projectid=nil, creater=nil, alarmrecipientname=nil, alarmindicatordesc=nil, operator=nil, nodeid=nil, nodename=nil, alarmindicatorinfos=nil, alarmrecipienttype=nil, wecomhook=nil, updatetime=nil, operatoruin=nil, taskcount=nil, monitortype=nil, monitorobjectids=nil, latestalarminstanceid=nil, latestalarmtime=nil, description=nil)
|
31186
|
+
def initialize(taskid=nil, regularname=nil, regularstatus=nil, alarmlevel=nil, alarmway=nil, tasktype=nil, id=nil, regularid=nil, alarmindicator=nil, triggertype=nil, estimatedtime=nil, alarmrecipientid=nil, projectid=nil, creater=nil, alarmrecipientname=nil, alarmindicatordesc=nil, operator=nil, nodeid=nil, nodename=nil, alarmindicatorinfos=nil, alarmrecipienttype=nil, wecomhook=nil, updatetime=nil, operatoruin=nil, taskcount=nil, monitortype=nil, monitorobjectids=nil, latestalarminstanceid=nil, latestalarmtime=nil, description=nil, larkwebhooks=nil)
|
31119
31187
|
@TaskId = taskid
|
31120
31188
|
@RegularName = regularname
|
31121
31189
|
@RegularStatus = regularstatus
|
@@ -31146,6 +31214,7 @@ module TencentCloud
|
|
31146
31214
|
@LatestAlarmInstanceId = latestalarminstanceid
|
31147
31215
|
@LatestAlarmTime = latestalarmtime
|
31148
31216
|
@Description = description
|
31217
|
+
@LarkWebHooks = larkwebhooks
|
31149
31218
|
end
|
31150
31219
|
|
31151
31220
|
def deserialize(params)
|
@@ -31186,6 +31255,7 @@ module TencentCloud
|
|
31186
31255
|
@LatestAlarmInstanceId = params['LatestAlarmInstanceId']
|
31187
31256
|
@LatestAlarmTime = params['LatestAlarmTime']
|
31188
31257
|
@Description = params['Description']
|
31258
|
+
@LarkWebHooks = params['LarkWebHooks']
|
31189
31259
|
end
|
31190
31260
|
end
|
31191
31261
|
|
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.730
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|