tencentcloud-sdk-cls 3.0.622 → 3.0.624

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ce48fab7245b4cba4f5add772591d99848ab1d6
4
- data.tar.gz: 20e4b3a9d9c9c3b995c8a34d785182cbf0bdb751
3
+ metadata.gz: 7e6302b805ee0bac521dc53462825b2b3cfa1374
4
+ data.tar.gz: 0a23cebaa2586efd737cfb6888c46d9c900b7859
5
5
  SHA512:
6
- metadata.gz: a4057df0dacca662c391a168d3bbe14b85625a770043a917f75dca606ffa151e3ec3dec78ac472eb23440243934dd161300268a4715466000038d944a39517dd
7
- data.tar.gz: 66975a841f58c3d1adaaf285d65f9ef3c5ff76f86d300d9a8cd035fca5d9290eff7b45659fdaa81e0316cee4e0abdf659984032500876c7965ee47336ce546e8
6
+ metadata.gz: d26f12edfea96b85d9072d30b745e97e63469558d3a8f22dc0116519fe5584a79f25f96c429e10ccdc6ea18298f585bec337057c49ee50155811a912bca945d6
7
+ data.tar.gz: 4b8f7cea7d4b3af8b2a398c3d72a5227767b5078c198d6839d79c3708bfa4166427145903dc4af33b7618835071d6863d395c232c87f1b2a5b36e03547010909
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.622
1
+ 3.0.624
@@ -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.
@@ -2067,7 +2067,7 @@ module TencentCloud
2067
2067
  # @type SrcTopicId: String
2068
2068
  # @param Name: 任务名称
2069
2069
  # @type Name: String
2070
- # @param EnableFlag: 任务启动状态. 1正常开启, 2关闭
2070
+ # @param EnableFlag: 任务启动状态. 1开启, 2关闭
2071
2071
  # @type EnableFlag: Integer
2072
2072
  # @param DstResource: 定时SQL分析目标日志主题
2073
2073
  # @type DstResource: :class:`Tencentcloud::Cls.v20201016.models.ScheduledSqlResouceInfo`
@@ -2075,7 +2075,7 @@ module TencentCloud
2075
2075
  # @type ScheduledSqlContent: String
2076
2076
  # @param ProcessStartTime: 调度开始时间,Unix时间戳,单位ms
2077
2077
  # @type ProcessStartTime: Integer
2078
- # @param ProcessType: 调度类型,1:持续运行 2:指定调度结束时间
2078
+ # @param ProcessType: 调度类型,1:持续运行 2:指定时间范围
2079
2079
  # @type ProcessType: Integer
2080
2080
  # @param ProcessPeriod: 调度周期(分钟)
2081
2081
  # @type ProcessPeriod: Integer
@@ -2087,7 +2087,7 @@ module TencentCloud
2087
2087
  # @type SrcTopicRegion: String
2088
2088
  # @param ProcessEndTime: 调度结束时间,当ProcessType=2时为必传字段, Unix时间戳,单位ms
2089
2089
  # @type ProcessEndTime: Integer
2090
- # @param SyntaxRule: 语法规则。 默认值为0。0:Lucene语法,1:CQL语法
2090
+ # @param SyntaxRule: 查询语法规则。 默认值为0。0:Lucene语法,1:CQL语法
2091
2091
  # @type SyntaxRule: Integer
2092
2092
 
2093
2093
  attr_accessor :SrcTopicId, :Name, :EnableFlag, :DstResource, :ScheduledSqlContent, :ProcessStartTime, :ProcessType, :ProcessPeriod, :ProcessTimeWindow, :ProcessDelay, :SrcTopicRegion, :ProcessEndTime, :SyntaxRule
@@ -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
@@ -6473,7 +6681,7 @@ module TencentCloud
6473
6681
  # @type TaskId: String
6474
6682
  # @param SrcTopicId: 源日志主题
6475
6683
  # @type SrcTopicId: String
6476
- # @param EnableFlag: 任务启动状态. 1正常开启, 2关闭
6684
+ # @param EnableFlag: 任务启动状态. 1开启, 2关闭
6477
6685
  # @type EnableFlag: Integer
6478
6686
  # @param DstResource: 定时SQL分析的目标日志主题
6479
6687
  # @type DstResource: :class:`Tencentcloud::Cls.v20201016.models.ScheduledSqlResouceInfo`
@@ -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: topic的地域信息
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
 
@@ -7226,7 +7442,7 @@ module TencentCloud
7226
7442
  # @type ScheduledSqlContent: String
7227
7443
  # @param ProcessStartTime: 调度开始时间
7228
7444
  # @type ProcessStartTime: String
7229
- # @param ProcessType: 调度类型,1:持续运行 2:指定调度结束时间
7445
+ # @param ProcessType: 调度类型,1:持续运行 2:指定时间范围
7230
7446
  # @type ProcessType: Integer
7231
7447
  # @param ProcessEndTime: 调度结束时间,当process_type=2时为必传字段
7232
7448
  # @type ProcessEndTime: String
@@ -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.622
4
+ version: 3.0.624
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-27 00:00:00.000000000 Z
11
+ date: 2023-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common