tencentcloud-sdk-eb 3.0.654 → 3.0.656
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/v20210416/client.rb +96 -0
- data/lib/v20210416/models.rb +224 -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: 3b3a5e1f0c8bbb357245997b8439250fae9ba92e
|
4
|
+
data.tar.gz: 6cd8faabea562b497bdb508556a7f448b50547d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbcf8f444b150c365a0c7eb5a33065aeae6c252c37c56b56314a247b028cf4999647fe4e27aef627a9ea096adaf02dc97800c3317811b146d7b056d7ffdd18cd
|
7
|
+
data.tar.gz: 1f768774b0bc56f96f1375569296608c748f266371d3715524aa8ea2d6b26f969e27c2b0cd307767fa290d37fc91a6b95511f1248c3b0d13872709dfd6a2a649
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.656
|
data/lib/v20210416/client.rb
CHANGED
@@ -365,6 +365,30 @@ module TencentCloud
|
|
365
365
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
366
|
end
|
367
367
|
|
368
|
+
# 获取平台产品事件模板
|
369
|
+
|
370
|
+
# @param request: Request instance for GetPlatformEventTemplate.
|
371
|
+
# @type request: :class:`Tencentcloud::eb::V20210416::GetPlatformEventTemplateRequest`
|
372
|
+
# @rtype: :class:`Tencentcloud::eb::V20210416::GetPlatformEventTemplateResponse`
|
373
|
+
def GetPlatformEventTemplate(request)
|
374
|
+
body = send_request('GetPlatformEventTemplate', request.serialize)
|
375
|
+
response = JSON.parse(body)
|
376
|
+
if response['Response'].key?('Error') == false
|
377
|
+
model = GetPlatformEventTemplateResponse.new
|
378
|
+
model.deserialize(response['Response'])
|
379
|
+
model
|
380
|
+
else
|
381
|
+
code = response['Response']['Error']['Code']
|
382
|
+
message = response['Response']['Error']['Message']
|
383
|
+
reqid = response['Response']['RequestId']
|
384
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
385
|
+
end
|
386
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
387
|
+
raise e
|
388
|
+
rescue StandardError => e
|
389
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
|
+
end
|
391
|
+
|
368
392
|
# 获取事件规则详情
|
369
393
|
|
370
394
|
# @param request: Request instance for GetRule.
|
@@ -461,6 +485,78 @@ module TencentCloud
|
|
461
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
486
|
end
|
463
487
|
|
488
|
+
# 获取平台产品事件名称
|
489
|
+
|
490
|
+
# @param request: Request instance for ListPlatformEventNames.
|
491
|
+
# @type request: :class:`Tencentcloud::eb::V20210416::ListPlatformEventNamesRequest`
|
492
|
+
# @rtype: :class:`Tencentcloud::eb::V20210416::ListPlatformEventNamesResponse`
|
493
|
+
def ListPlatformEventNames(request)
|
494
|
+
body = send_request('ListPlatformEventNames', request.serialize)
|
495
|
+
response = JSON.parse(body)
|
496
|
+
if response['Response'].key?('Error') == false
|
497
|
+
model = ListPlatformEventNamesResponse.new
|
498
|
+
model.deserialize(response['Response'])
|
499
|
+
model
|
500
|
+
else
|
501
|
+
code = response['Response']['Error']['Code']
|
502
|
+
message = response['Response']['Error']['Message']
|
503
|
+
reqid = response['Response']['RequestId']
|
504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
505
|
+
end
|
506
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
507
|
+
raise e
|
508
|
+
rescue StandardError => e
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
|
+
end
|
511
|
+
|
512
|
+
# 获取平台产品事件匹配规则
|
513
|
+
|
514
|
+
# @param request: Request instance for ListPlatformEventPatterns.
|
515
|
+
# @type request: :class:`Tencentcloud::eb::V20210416::ListPlatformEventPatternsRequest`
|
516
|
+
# @rtype: :class:`Tencentcloud::eb::V20210416::ListPlatformEventPatternsResponse`
|
517
|
+
def ListPlatformEventPatterns(request)
|
518
|
+
body = send_request('ListPlatformEventPatterns', request.serialize)
|
519
|
+
response = JSON.parse(body)
|
520
|
+
if response['Response'].key?('Error') == false
|
521
|
+
model = ListPlatformEventPatternsResponse.new
|
522
|
+
model.deserialize(response['Response'])
|
523
|
+
model
|
524
|
+
else
|
525
|
+
code = response['Response']['Error']['Code']
|
526
|
+
message = response['Response']['Error']['Message']
|
527
|
+
reqid = response['Response']['RequestId']
|
528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
529
|
+
end
|
530
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
531
|
+
raise e
|
532
|
+
rescue StandardError => e
|
533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
|
+
end
|
535
|
+
|
536
|
+
# 获取平台产品列表
|
537
|
+
|
538
|
+
# @param request: Request instance for ListPlatformProducts.
|
539
|
+
# @type request: :class:`Tencentcloud::eb::V20210416::ListPlatformProductsRequest`
|
540
|
+
# @rtype: :class:`Tencentcloud::eb::V20210416::ListPlatformProductsResponse`
|
541
|
+
def ListPlatformProducts(request)
|
542
|
+
body = send_request('ListPlatformProducts', request.serialize)
|
543
|
+
response = JSON.parse(body)
|
544
|
+
if response['Response'].key?('Error') == false
|
545
|
+
model = ListPlatformProductsResponse.new
|
546
|
+
model.deserialize(response['Response'])
|
547
|
+
model
|
548
|
+
else
|
549
|
+
code = response['Response']['Error']['Code']
|
550
|
+
message = response['Response']['Error']['Message']
|
551
|
+
reqid = response['Response']['RequestId']
|
552
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
553
|
+
end
|
554
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
555
|
+
raise e
|
556
|
+
rescue StandardError => e
|
557
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
558
|
+
end
|
559
|
+
|
464
560
|
# 获取事件规则列表
|
465
561
|
|
466
562
|
# @param request: Request instance for ListRules.
|
data/lib/v20210416/models.rb
CHANGED
@@ -1136,6 +1136,42 @@ module TencentCloud
|
|
1136
1136
|
end
|
1137
1137
|
end
|
1138
1138
|
|
1139
|
+
# GetPlatformEventTemplate请求参数结构体
|
1140
|
+
class GetPlatformEventTemplateRequest < TencentCloud::Common::AbstractModel
|
1141
|
+
# @param EventType: 平台产品事件类型
|
1142
|
+
# @type EventType: String
|
1143
|
+
|
1144
|
+
attr_accessor :EventType
|
1145
|
+
|
1146
|
+
def initialize(eventtype=nil)
|
1147
|
+
@EventType = eventtype
|
1148
|
+
end
|
1149
|
+
|
1150
|
+
def deserialize(params)
|
1151
|
+
@EventType = params['EventType']
|
1152
|
+
end
|
1153
|
+
end
|
1154
|
+
|
1155
|
+
# GetPlatformEventTemplate返回参数结构体
|
1156
|
+
class GetPlatformEventTemplateResponse < TencentCloud::Common::AbstractModel
|
1157
|
+
# @param EventTemplate: 平台产品事件模板
|
1158
|
+
# @type EventTemplate: String
|
1159
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1160
|
+
# @type RequestId: String
|
1161
|
+
|
1162
|
+
attr_accessor :EventTemplate, :RequestId
|
1163
|
+
|
1164
|
+
def initialize(eventtemplate=nil, requestid=nil)
|
1165
|
+
@EventTemplate = eventtemplate
|
1166
|
+
@RequestId = requestid
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
def deserialize(params)
|
1170
|
+
@EventTemplate = params['EventTemplate']
|
1171
|
+
@RequestId = params['RequestId']
|
1172
|
+
end
|
1173
|
+
end
|
1174
|
+
|
1139
1175
|
# GetRule请求参数结构体
|
1140
1176
|
class GetRuleRequest < TencentCloud::Common::AbstractModel
|
1141
1177
|
# @param EventBusId: 事件集ID
|
@@ -1392,6 +1428,130 @@ module TencentCloud
|
|
1392
1428
|
end
|
1393
1429
|
end
|
1394
1430
|
|
1431
|
+
# ListPlatformEventNames请求参数结构体
|
1432
|
+
class ListPlatformEventNamesRequest < TencentCloud::Common::AbstractModel
|
1433
|
+
# @param ProductType: 平台产品类型
|
1434
|
+
# @type ProductType: String
|
1435
|
+
|
1436
|
+
attr_accessor :ProductType
|
1437
|
+
|
1438
|
+
def initialize(producttype=nil)
|
1439
|
+
@ProductType = producttype
|
1440
|
+
end
|
1441
|
+
|
1442
|
+
def deserialize(params)
|
1443
|
+
@ProductType = params['ProductType']
|
1444
|
+
end
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
# ListPlatformEventNames返回参数结构体
|
1448
|
+
class ListPlatformEventNamesResponse < TencentCloud::Common::AbstractModel
|
1449
|
+
# @param EventNames: 平台产品列表
|
1450
|
+
# @type EventNames: Array
|
1451
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1452
|
+
# @type RequestId: String
|
1453
|
+
|
1454
|
+
attr_accessor :EventNames, :RequestId
|
1455
|
+
|
1456
|
+
def initialize(eventnames=nil, requestid=nil)
|
1457
|
+
@EventNames = eventnames
|
1458
|
+
@RequestId = requestid
|
1459
|
+
end
|
1460
|
+
|
1461
|
+
def deserialize(params)
|
1462
|
+
unless params['EventNames'].nil?
|
1463
|
+
@EventNames = []
|
1464
|
+
params['EventNames'].each do |i|
|
1465
|
+
platformeventdetail_tmp = PlatformEventDetail.new
|
1466
|
+
platformeventdetail_tmp.deserialize(i)
|
1467
|
+
@EventNames << platformeventdetail_tmp
|
1468
|
+
end
|
1469
|
+
end
|
1470
|
+
@RequestId = params['RequestId']
|
1471
|
+
end
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
# ListPlatformEventPatterns请求参数结构体
|
1475
|
+
class ListPlatformEventPatternsRequest < TencentCloud::Common::AbstractModel
|
1476
|
+
# @param ProductType: 平台产品类型
|
1477
|
+
# @type ProductType: String
|
1478
|
+
|
1479
|
+
attr_accessor :ProductType
|
1480
|
+
|
1481
|
+
def initialize(producttype=nil)
|
1482
|
+
@ProductType = producttype
|
1483
|
+
end
|
1484
|
+
|
1485
|
+
def deserialize(params)
|
1486
|
+
@ProductType = params['ProductType']
|
1487
|
+
end
|
1488
|
+
end
|
1489
|
+
|
1490
|
+
# ListPlatformEventPatterns返回参数结构体
|
1491
|
+
class ListPlatformEventPatternsResponse < TencentCloud::Common::AbstractModel
|
1492
|
+
# @param EventPatterns: 平台产品事件匹配规则
|
1493
|
+
# @type EventPatterns: Array
|
1494
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1495
|
+
# @type RequestId: String
|
1496
|
+
|
1497
|
+
attr_accessor :EventPatterns, :RequestId
|
1498
|
+
|
1499
|
+
def initialize(eventpatterns=nil, requestid=nil)
|
1500
|
+
@EventPatterns = eventpatterns
|
1501
|
+
@RequestId = requestid
|
1502
|
+
end
|
1503
|
+
|
1504
|
+
def deserialize(params)
|
1505
|
+
unless params['EventPatterns'].nil?
|
1506
|
+
@EventPatterns = []
|
1507
|
+
params['EventPatterns'].each do |i|
|
1508
|
+
platformeventsummary_tmp = PlatformEventSummary.new
|
1509
|
+
platformeventsummary_tmp.deserialize(i)
|
1510
|
+
@EventPatterns << platformeventsummary_tmp
|
1511
|
+
end
|
1512
|
+
end
|
1513
|
+
@RequestId = params['RequestId']
|
1514
|
+
end
|
1515
|
+
end
|
1516
|
+
|
1517
|
+
# ListPlatformProducts请求参数结构体
|
1518
|
+
class ListPlatformProductsRequest < TencentCloud::Common::AbstractModel
|
1519
|
+
|
1520
|
+
|
1521
|
+
def initialize()
|
1522
|
+
end
|
1523
|
+
|
1524
|
+
def deserialize(params)
|
1525
|
+
end
|
1526
|
+
end
|
1527
|
+
|
1528
|
+
# ListPlatformProducts返回参数结构体
|
1529
|
+
class ListPlatformProductsResponse < TencentCloud::Common::AbstractModel
|
1530
|
+
# @param PlatformProducts: 平台产品列表
|
1531
|
+
# @type PlatformProducts: Array
|
1532
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1533
|
+
# @type RequestId: String
|
1534
|
+
|
1535
|
+
attr_accessor :PlatformProducts, :RequestId
|
1536
|
+
|
1537
|
+
def initialize(platformproducts=nil, requestid=nil)
|
1538
|
+
@PlatformProducts = platformproducts
|
1539
|
+
@RequestId = requestid
|
1540
|
+
end
|
1541
|
+
|
1542
|
+
def deserialize(params)
|
1543
|
+
unless params['PlatformProducts'].nil?
|
1544
|
+
@PlatformProducts = []
|
1545
|
+
params['PlatformProducts'].each do |i|
|
1546
|
+
platformproduct_tmp = PlatformProduct.new
|
1547
|
+
platformproduct_tmp.deserialize(i)
|
1548
|
+
@PlatformProducts << platformproduct_tmp
|
1549
|
+
end
|
1550
|
+
end
|
1551
|
+
@RequestId = params['RequestId']
|
1552
|
+
end
|
1553
|
+
end
|
1554
|
+
|
1395
1555
|
# ListRules请求参数结构体
|
1396
1556
|
class ListRulesRequest < TencentCloud::Common::AbstractModel
|
1397
1557
|
# @param EventBusId: 事件集ID
|
@@ -1609,6 +1769,70 @@ module TencentCloud
|
|
1609
1769
|
end
|
1610
1770
|
end
|
1611
1771
|
|
1772
|
+
# 平台事件名称
|
1773
|
+
class PlatformEventDetail < TencentCloud::Common::AbstractModel
|
1774
|
+
# @param EventName: 事件名称
|
1775
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1776
|
+
# @type EventName: String
|
1777
|
+
# @param EventType: 事件类型
|
1778
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1779
|
+
# @type EventType: String
|
1780
|
+
|
1781
|
+
attr_accessor :EventName, :EventType
|
1782
|
+
|
1783
|
+
def initialize(eventname=nil, eventtype=nil)
|
1784
|
+
@EventName = eventname
|
1785
|
+
@EventType = eventtype
|
1786
|
+
end
|
1787
|
+
|
1788
|
+
def deserialize(params)
|
1789
|
+
@EventName = params['EventName']
|
1790
|
+
@EventType = params['EventType']
|
1791
|
+
end
|
1792
|
+
end
|
1793
|
+
|
1794
|
+
# 平台事件匹配规则
|
1795
|
+
class PlatformEventSummary < TencentCloud::Common::AbstractModel
|
1796
|
+
# @param EventName: 平台事件名称
|
1797
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1798
|
+
# @type EventName: String
|
1799
|
+
# @param EventPattern: 平台事件匹配规则
|
1800
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1801
|
+
# @type EventPattern: String
|
1802
|
+
|
1803
|
+
attr_accessor :EventName, :EventPattern
|
1804
|
+
|
1805
|
+
def initialize(eventname=nil, eventpattern=nil)
|
1806
|
+
@EventName = eventname
|
1807
|
+
@EventPattern = eventpattern
|
1808
|
+
end
|
1809
|
+
|
1810
|
+
def deserialize(params)
|
1811
|
+
@EventName = params['EventName']
|
1812
|
+
@EventPattern = params['EventPattern']
|
1813
|
+
end
|
1814
|
+
end
|
1815
|
+
|
1816
|
+
# 平台产品基础信息
|
1817
|
+
class PlatformProduct < TencentCloud::Common::AbstractModel
|
1818
|
+
# @param ProductName: 平台产品名称
|
1819
|
+
# @type ProductName: String
|
1820
|
+
# @param ProductType: 平台产品类型
|
1821
|
+
# @type ProductType: String
|
1822
|
+
|
1823
|
+
attr_accessor :ProductName, :ProductType
|
1824
|
+
|
1825
|
+
def initialize(productname=nil, producttype=nil)
|
1826
|
+
@ProductName = productname
|
1827
|
+
@ProductType = producttype
|
1828
|
+
end
|
1829
|
+
|
1830
|
+
def deserialize(params)
|
1831
|
+
@ProductName = params['ProductName']
|
1832
|
+
@ProductType = params['ProductType']
|
1833
|
+
end
|
1834
|
+
end
|
1835
|
+
|
1612
1836
|
# PublishEvent请求参数结构体
|
1613
1837
|
class PublishEventRequest < TencentCloud::Common::AbstractModel
|
1614
1838
|
# @param EventList: 事件列表
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-eb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.656
|
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-09-
|
11
|
+
date: 2023-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|