tencentcloud-sdk-cls 3.0.621 → 3.0.623
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201016/client.rb +24 -0
- data/lib/v20201016/models.rb +240 -3
- 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: 6db77105a5edce54f46c48373f7aacb4b7fb05bd
|
4
|
+
data.tar.gz: a3ebea7e55ac3c4bc4e281cb6c1c5a75c09c7c7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b14d2466404b654676eb05d0fd49516183d9c872eddc825a80459ea3004bbae89221494a8420fad4f5605e9f7300564fd7c061d6ef3a4b8357b1e3b65f56691c
|
7
|
+
data.tar.gz: bcd46a0fadd97a57671f7ea9373c152cb69aa0c5c4f094f093c9c47ff0fb4804997d1db06e9218b42661034b76206633195e60fefd221ceaa9ff880af2617354
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.623
|
data/lib/v20201016/client.rb
CHANGED
@@ -1061,6 +1061,30 @@ module TencentCloud
|
|
1061
1061
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1062
1062
|
end
|
1063
1063
|
|
1064
|
+
# 本接口用于获取仪表盘
|
1065
|
+
|
1066
|
+
# @param request: Request instance for DescribeDashboards.
|
1067
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeDashboardsRequest`
|
1068
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::DescribeDashboardsResponse`
|
1069
|
+
def DescribeDashboards(request)
|
1070
|
+
body = send_request('DescribeDashboards', request.serialize)
|
1071
|
+
response = JSON.parse(body)
|
1072
|
+
if response['Response'].key?('Error') == false
|
1073
|
+
model = DescribeDashboardsResponse.new
|
1074
|
+
model.deserialize(response['Response'])
|
1075
|
+
model
|
1076
|
+
else
|
1077
|
+
code = response['Response']['Error']['Code']
|
1078
|
+
message = response['Response']['Error']['Message']
|
1079
|
+
reqid = response['Response']['RequestId']
|
1080
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1081
|
+
end
|
1082
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1083
|
+
raise e
|
1084
|
+
rescue StandardError => e
|
1085
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1086
|
+
end
|
1087
|
+
|
1064
1088
|
# 本接口用于获取数据加工任务列表基本信息
|
1065
1089
|
|
1066
1090
|
# @param request: Request instance for DescribeDataTransformInfo.
|
data/lib/v20201016/models.rb
CHANGED
@@ -2362,6 +2362,104 @@ module TencentCloud
|
|
2362
2362
|
end
|
2363
2363
|
end
|
2364
2364
|
|
2365
|
+
# 仪表盘信息
|
2366
|
+
class DashboardInfo < TencentCloud::Common::AbstractModel
|
2367
|
+
# @param DashboardId: 仪表盘id
|
2368
|
+
# @type DashboardId: String
|
2369
|
+
# @param DashboardName: 仪表盘名字
|
2370
|
+
# @type DashboardName: String
|
2371
|
+
# @param Data: 仪表盘数据
|
2372
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2373
|
+
# @type Data: String
|
2374
|
+
# @param CreateTime: 创建仪表盘的时间
|
2375
|
+
# @type CreateTime: String
|
2376
|
+
# @param AssumerUin: AssumerUin非空则表示创建该日志主题的服务方Uin
|
2377
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2378
|
+
# @type AssumerUin: Integer
|
2379
|
+
# @param RoleName: RoleName非空则表示创建该日志主题的服务方使用的角色
|
2380
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2381
|
+
# @type RoleName: String
|
2382
|
+
# @param AssumerName: AssumerName非空则表示创建该日志主题的服务方名称
|
2383
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2384
|
+
# @type AssumerName: String
|
2385
|
+
# @param Tags: 日志主题绑定的标签信息
|
2386
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2387
|
+
# @type Tags: Array
|
2388
|
+
# @param DashboardRegion: 仪表盘所在地域: 为了兼容老的地域。
|
2389
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2390
|
+
# @type DashboardRegion: String
|
2391
|
+
# @param UpdateTime: 修改仪表盘的时间
|
2392
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2393
|
+
# @type UpdateTime: String
|
2394
|
+
# @param DashboardTopicInfos: 仪表盘对应的topic相关信息
|
2395
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2396
|
+
# @type DashboardTopicInfos: Array
|
2397
|
+
|
2398
|
+
attr_accessor :DashboardId, :DashboardName, :Data, :CreateTime, :AssumerUin, :RoleName, :AssumerName, :Tags, :DashboardRegion, :UpdateTime, :DashboardTopicInfos
|
2399
|
+
|
2400
|
+
def initialize(dashboardid=nil, dashboardname=nil, data=nil, createtime=nil, assumeruin=nil, rolename=nil, assumername=nil, tags=nil, dashboardregion=nil, updatetime=nil, dashboardtopicinfos=nil)
|
2401
|
+
@DashboardId = dashboardid
|
2402
|
+
@DashboardName = dashboardname
|
2403
|
+
@Data = data
|
2404
|
+
@CreateTime = createtime
|
2405
|
+
@AssumerUin = assumeruin
|
2406
|
+
@RoleName = rolename
|
2407
|
+
@AssumerName = assumername
|
2408
|
+
@Tags = tags
|
2409
|
+
@DashboardRegion = dashboardregion
|
2410
|
+
@UpdateTime = updatetime
|
2411
|
+
@DashboardTopicInfos = dashboardtopicinfos
|
2412
|
+
end
|
2413
|
+
|
2414
|
+
def deserialize(params)
|
2415
|
+
@DashboardId = params['DashboardId']
|
2416
|
+
@DashboardName = params['DashboardName']
|
2417
|
+
@Data = params['Data']
|
2418
|
+
@CreateTime = params['CreateTime']
|
2419
|
+
@AssumerUin = params['AssumerUin']
|
2420
|
+
@RoleName = params['RoleName']
|
2421
|
+
@AssumerName = params['AssumerName']
|
2422
|
+
unless params['Tags'].nil?
|
2423
|
+
@Tags = []
|
2424
|
+
params['Tags'].each do |i|
|
2425
|
+
tag_tmp = Tag.new
|
2426
|
+
tag_tmp.deserialize(i)
|
2427
|
+
@Tags << tag_tmp
|
2428
|
+
end
|
2429
|
+
end
|
2430
|
+
@DashboardRegion = params['DashboardRegion']
|
2431
|
+
@UpdateTime = params['UpdateTime']
|
2432
|
+
unless params['DashboardTopicInfos'].nil?
|
2433
|
+
@DashboardTopicInfos = []
|
2434
|
+
params['DashboardTopicInfos'].each do |i|
|
2435
|
+
dashboardtopicinfo_tmp = DashboardTopicInfo.new
|
2436
|
+
dashboardtopicinfo_tmp.deserialize(i)
|
2437
|
+
@DashboardTopicInfos << dashboardtopicinfo_tmp
|
2438
|
+
end
|
2439
|
+
end
|
2440
|
+
end
|
2441
|
+
end
|
2442
|
+
|
2443
|
+
# 仪表盘关联的topic信息
|
2444
|
+
class DashboardTopicInfo < TencentCloud::Common::AbstractModel
|
2445
|
+
# @param TopicId: 主题id
|
2446
|
+
# @type TopicId: String
|
2447
|
+
# @param Region: topic所在的地域
|
2448
|
+
# @type Region: String
|
2449
|
+
|
2450
|
+
attr_accessor :TopicId, :Region
|
2451
|
+
|
2452
|
+
def initialize(topicid=nil, region=nil)
|
2453
|
+
@TopicId = topicid
|
2454
|
+
@Region = region
|
2455
|
+
end
|
2456
|
+
|
2457
|
+
def deserialize(params)
|
2458
|
+
@TopicId = params['TopicId']
|
2459
|
+
@Region = params['Region']
|
2460
|
+
end
|
2461
|
+
end
|
2462
|
+
|
2365
2463
|
# 数据加工的资源信息
|
2366
2464
|
class DataTransformResouceInfo < TencentCloud::Common::AbstractModel
|
2367
2465
|
# @param TopicId: 目标主题id
|
@@ -3520,6 +3618,116 @@ module TencentCloud
|
|
3520
3618
|
end
|
3521
3619
|
end
|
3522
3620
|
|
3621
|
+
# DescribeDashboards请求参数结构体
|
3622
|
+
class DescribeDashboardsRequest < TencentCloud::Common::AbstractModel
|
3623
|
+
# @param Offset: 分页的偏移量,默认值为0。
|
3624
|
+
# @type Offset: Integer
|
3625
|
+
# @param Limit: 分页单页限制数目,默认值为20,最大值100。
|
3626
|
+
# @type Limit: Integer
|
3627
|
+
# @param Filters: <br><li> dashboardId
|
3628
|
+
|
3629
|
+
# 按照【仪表盘id】进行过滤。
|
3630
|
+
# 类型:String
|
3631
|
+
|
3632
|
+
# 必选:否
|
3633
|
+
|
3634
|
+
# <br><li> dashboardName
|
3635
|
+
|
3636
|
+
# 按照【仪表盘名字】进行模糊搜索过滤。
|
3637
|
+
# 类型:String
|
3638
|
+
|
3639
|
+
# 必选:否
|
3640
|
+
|
3641
|
+
# <br><li> dashboardRegion
|
3642
|
+
|
3643
|
+
# 按照【仪表盘地域】进行过滤,为了兼容老的仪表盘,通过云API创建的仪表盘没有地域属性
|
3644
|
+
# 类型:String
|
3645
|
+
|
3646
|
+
# 必选:否
|
3647
|
+
|
3648
|
+
# <br><li> tagKey
|
3649
|
+
|
3650
|
+
# 按照【标签键】进行过滤。
|
3651
|
+
|
3652
|
+
# 类型:String
|
3653
|
+
|
3654
|
+
# 必选:否
|
3655
|
+
|
3656
|
+
# <br><li> tag:tagKey
|
3657
|
+
|
3658
|
+
# 按照【标签键值对】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例2。
|
3659
|
+
|
3660
|
+
# 类型:String
|
3661
|
+
|
3662
|
+
# 必选:否
|
3663
|
+
|
3664
|
+
# 每次请求的Filters的上限为10,Filter.Values的上限为100。
|
3665
|
+
# @type Filters: Array
|
3666
|
+
# @param TopicIdRegionFilter: 按照topicId和regionId过滤。
|
3667
|
+
# @type TopicIdRegionFilter: Array
|
3668
|
+
|
3669
|
+
attr_accessor :Offset, :Limit, :Filters, :TopicIdRegionFilter
|
3670
|
+
|
3671
|
+
def initialize(offset=nil, limit=nil, filters=nil, topicidregionfilter=nil)
|
3672
|
+
@Offset = offset
|
3673
|
+
@Limit = limit
|
3674
|
+
@Filters = filters
|
3675
|
+
@TopicIdRegionFilter = topicidregionfilter
|
3676
|
+
end
|
3677
|
+
|
3678
|
+
def deserialize(params)
|
3679
|
+
@Offset = params['Offset']
|
3680
|
+
@Limit = params['Limit']
|
3681
|
+
unless params['Filters'].nil?
|
3682
|
+
@Filters = []
|
3683
|
+
params['Filters'].each do |i|
|
3684
|
+
filter_tmp = Filter.new
|
3685
|
+
filter_tmp.deserialize(i)
|
3686
|
+
@Filters << filter_tmp
|
3687
|
+
end
|
3688
|
+
end
|
3689
|
+
unless params['TopicIdRegionFilter'].nil?
|
3690
|
+
@TopicIdRegionFilter = []
|
3691
|
+
params['TopicIdRegionFilter'].each do |i|
|
3692
|
+
topicidandregion_tmp = TopicIdAndRegion.new
|
3693
|
+
topicidandregion_tmp.deserialize(i)
|
3694
|
+
@TopicIdRegionFilter << topicidandregion_tmp
|
3695
|
+
end
|
3696
|
+
end
|
3697
|
+
end
|
3698
|
+
end
|
3699
|
+
|
3700
|
+
# DescribeDashboards返回参数结构体
|
3701
|
+
class DescribeDashboardsResponse < TencentCloud::Common::AbstractModel
|
3702
|
+
# @param TotalCount: 仪表盘的数量
|
3703
|
+
# @type TotalCount: Integer
|
3704
|
+
# @param DashboardInfos: 仪表盘详细明细
|
3705
|
+
# @type DashboardInfos: Array
|
3706
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3707
|
+
# @type RequestId: String
|
3708
|
+
|
3709
|
+
attr_accessor :TotalCount, :DashboardInfos, :RequestId
|
3710
|
+
|
3711
|
+
def initialize(totalcount=nil, dashboardinfos=nil, requestid=nil)
|
3712
|
+
@TotalCount = totalcount
|
3713
|
+
@DashboardInfos = dashboardinfos
|
3714
|
+
@RequestId = requestid
|
3715
|
+
end
|
3716
|
+
|
3717
|
+
def deserialize(params)
|
3718
|
+
@TotalCount = params['TotalCount']
|
3719
|
+
unless params['DashboardInfos'].nil?
|
3720
|
+
@DashboardInfos = []
|
3721
|
+
params['DashboardInfos'].each do |i|
|
3722
|
+
dashboardinfo_tmp = DashboardInfo.new
|
3723
|
+
dashboardinfo_tmp.deserialize(i)
|
3724
|
+
@DashboardInfos << dashboardinfo_tmp
|
3725
|
+
end
|
3726
|
+
end
|
3727
|
+
@RequestId = params['RequestId']
|
3728
|
+
end
|
3729
|
+
end
|
3730
|
+
|
3523
3731
|
# DescribeDataTransformInfo请求参数结构体
|
3524
3732
|
class DescribeDataTransformInfoRequest < TencentCloud::Common::AbstractModel
|
3525
3733
|
# @param Filters: <br><li> taskName
|
@@ -7184,19 +7392,27 @@ module TencentCloud
|
|
7184
7392
|
class ScheduledSqlResouceInfo < TencentCloud::Common::AbstractModel
|
7185
7393
|
# @param TopicId: 目标主题id
|
7186
7394
|
# @type TopicId: String
|
7187
|
-
# @param Region:
|
7395
|
+
# @param Region: 主题的的地域信息
|
7188
7396
|
# @type Region: String
|
7397
|
+
# @param BizType: 主题类型:0为日志主题,1为指标主题
|
7398
|
+
# @type BizType: Integer
|
7399
|
+
# @param MetricName: 指标名称
|
7400
|
+
# @type MetricName: String
|
7189
7401
|
|
7190
|
-
attr_accessor :TopicId, :Region
|
7402
|
+
attr_accessor :TopicId, :Region, :BizType, :MetricName
|
7191
7403
|
|
7192
|
-
def initialize(topicid=nil, region=nil)
|
7404
|
+
def initialize(topicid=nil, region=nil, biztype=nil, metricname=nil)
|
7193
7405
|
@TopicId = topicid
|
7194
7406
|
@Region = region
|
7407
|
+
@BizType = biztype
|
7408
|
+
@MetricName = metricname
|
7195
7409
|
end
|
7196
7410
|
|
7197
7411
|
def deserialize(params)
|
7198
7412
|
@TopicId = params['TopicId']
|
7199
7413
|
@Region = params['Region']
|
7414
|
+
@BizType = params['BizType']
|
7415
|
+
@MetricName = params['MetricName']
|
7200
7416
|
end
|
7201
7417
|
end
|
7202
7418
|
|
@@ -7700,6 +7916,27 @@ module TencentCloud
|
|
7700
7916
|
end
|
7701
7917
|
end
|
7702
7918
|
|
7919
|
+
# 仪表盘 topic与地域信息
|
7920
|
+
class TopicIdAndRegion < TencentCloud::Common::AbstractModel
|
7921
|
+
# @param TopicId: 日志主题id
|
7922
|
+
# @type TopicId: String
|
7923
|
+
# @param RegionId: 日志主题id 所在的地域id
|
7924
|
+
# 地域ID - 访问链接查看详情:https://iwiki.woa.com/pages/viewpage.action?pageId=780556968#id-地域码表-一.region大区(标准地域)
|
7925
|
+
# @type RegionId: Integer
|
7926
|
+
|
7927
|
+
attr_accessor :TopicId, :RegionId
|
7928
|
+
|
7929
|
+
def initialize(topicid=nil, regionid=nil)
|
7930
|
+
@TopicId = topicid
|
7931
|
+
@RegionId = regionid
|
7932
|
+
end
|
7933
|
+
|
7934
|
+
def deserialize(params)
|
7935
|
+
@TopicId = params['TopicId']
|
7936
|
+
@RegionId = params['RegionId']
|
7937
|
+
end
|
7938
|
+
end
|
7939
|
+
|
7703
7940
|
# 日志主题信息
|
7704
7941
|
class TopicInfo < TencentCloud::Common::AbstractModel
|
7705
7942
|
# @param LogsetId: 日志集ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.623
|
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-07-
|
11
|
+
date: 2023-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|