tencentcloud-sdk-apm 3.0.1188 → 3.0.1189

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2bef4f8b51cc4e829f623b08a50df12f6e20166f
4
- data.tar.gz: 5ec1b701d5bc660ba0728e89db1069e527d3fea5
3
+ metadata.gz: 13fc5093be1b4719a07adf031b75f4eac3c2cecc
4
+ data.tar.gz: c43aee4795803bf0432e125249b15ad5b24486e5
5
5
  SHA512:
6
- metadata.gz: 46fd0a4d542399799b78d7662e84ec8db6f764c4ea3614fd49ec37d651869d31e949ca04298c83b14405fe8c4077517a39d14624f38a9d961c4736900b5ad5d6
7
- data.tar.gz: 05fff6504ffe113407576b022f3468ebffd3caff16bc1ee49c9958d5555f56b8b39ce4dae0e295408385089aef01998f9f14f4ee04661d2f27d156c0693c759a
6
+ metadata.gz: 65a6aed79c3b7cdc5c32223a227e16e2b8ea8d0390d56c51b23394011088b81468f94578f263d2313b11c0f10b43eafec3f40d5f3c220a6e361df437aa3d71f8
7
+ data.tar.gz: 89697f1e47d284473de38d7380b8d597624b09ddfcff6858b67a9bd1c54b65e68aa6967fb96422d47ece459084d37c35a068b1615beddccfc2ef3fc41ccab21a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1188
1
+ 3.0.1189
@@ -486,6 +486,30 @@ module TencentCloud
486
486
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
487
487
  end
488
488
 
489
+ # 根据应用名查询服务拓扑图
490
+
491
+ # @param request: Request instance for DescribeTopologyNew.
492
+ # @type request: :class:`Tencentcloud::apm::V20210622::DescribeTopologyNewRequest`
493
+ # @rtype: :class:`Tencentcloud::apm::V20210622::DescribeTopologyNewResponse`
494
+ def DescribeTopologyNew(request)
495
+ body = send_request('DescribeTopologyNew', request.serialize)
496
+ response = JSON.parse(body)
497
+ if response['Response'].key?('Error') == false
498
+ model = DescribeTopologyNewResponse.new
499
+ model.deserialize(response['Response'])
500
+ model
501
+ else
502
+ code = response['Response']['Error']['Code']
503
+ message = response['Response']['Error']['Message']
504
+ reqid = response['Response']['RequestId']
505
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
506
+ end
507
+ rescue TencentCloud::Common::TencentCloudSDKException => e
508
+ raise e
509
+ rescue StandardError => e
510
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
511
+ end
512
+
489
513
  # 修改应用配置接口
490
514
 
491
515
  # @param request: Request instance for ModifyApmApplicationConfig.
@@ -1042,6 +1042,55 @@ module TencentCloud
1042
1042
  end
1043
1043
  end
1044
1044
 
1045
+ # CVM元数据
1046
+ class CVMMeta < TencentCloud::Common::AbstractModel
1047
+ # @param Region: 地域
1048
+ # 注意:此字段可能返回 null,表示取不到有效值。
1049
+ # @type Region: String
1050
+ # @param InstanceID: 实例ID
1051
+ # 注意:此字段可能返回 null,表示取不到有效值。
1052
+ # @type InstanceID: String
1053
+
1054
+ attr_accessor :Region, :InstanceID
1055
+
1056
+ def initialize(region=nil, instanceid=nil)
1057
+ @Region = region
1058
+ @InstanceID = instanceid
1059
+ end
1060
+
1061
+ def deserialize(params)
1062
+ @Region = params['Region']
1063
+ @InstanceID = params['InstanceID']
1064
+ end
1065
+ end
1066
+
1067
+ # 包含了视图中节点组件类型的数量
1068
+ class ComponentTopologyView < TencentCloud::Common::AbstractModel
1069
+ # @param Service: 服务纬度的节点数量
1070
+ # 注意:此字段可能返回 null,表示取不到有效值。
1071
+ # @type Service: Integer
1072
+ # @param Database: 数据库节点数量
1073
+ # 注意:此字段可能返回 null,表示取不到有效值。
1074
+ # @type Database: Integer
1075
+ # @param MQ: 消息队列节点数量
1076
+ # 注意:此字段可能返回 null,表示取不到有效值。
1077
+ # @type MQ: Integer
1078
+
1079
+ attr_accessor :Service, :Database, :MQ
1080
+
1081
+ def initialize(service=nil, database=nil, mq=nil)
1082
+ @Service = service
1083
+ @Database = database
1084
+ @MQ = mq
1085
+ end
1086
+
1087
+ def deserialize(params)
1088
+ @Service = params['Service']
1089
+ @Database = params['Database']
1090
+ @MQ = params['MQ']
1091
+ end
1092
+ end
1093
+
1045
1094
  # CreateApmInstance请求参数结构体
1046
1095
  class CreateApmInstanceRequest < TencentCloud::Common::AbstractModel
1047
1096
  # @param Name: 业务系统名
@@ -2395,6 +2444,158 @@ module TencentCloud
2395
2444
  end
2396
2445
  end
2397
2446
 
2447
+ # DescribeTopologyNew请求参数结构体
2448
+ class DescribeTopologyNewRequest < TencentCloud::Common::AbstractModel
2449
+ # @param InstanceId: 业务系统 ID
2450
+ # @type InstanceId: String
2451
+ # @param StartTime: 查询开始时间
2452
+ # @type StartTime: Integer
2453
+ # @param EndTime: 查询结束时间
2454
+ # @type EndTime: Integer
2455
+ # @param ServiceName: 应用名
2456
+ # @type ServiceName: String
2457
+ # @param UpLevel: 上游层级
2458
+ # @type UpLevel: Integer
2459
+ # @param ServiceInstance: 应用实例信息
2460
+ # @type ServiceInstance: String
2461
+ # @param DownLevel: 下游层级
2462
+ # @type DownLevel: Integer
2463
+ # @param View: 视角
2464
+ # @type View: String
2465
+ # @param Filters: 过滤器
2466
+ # @type Filters: Array
2467
+ # @param Topic: 表示Topic(MQ拓扑图用)
2468
+ # @type Topic: String
2469
+ # @param Selectors: 视图筛选列表
2470
+ # @type Selectors: :class:`Tencentcloud::Apm.v20210622.models.Selectors`
2471
+ # @param Id: 视图ID
2472
+ # @type Id: String
2473
+ # @param TraceID: TraceID
2474
+ # @type TraceID: String
2475
+ # @param IsSlowTopFive: 查询top5慢响应节点
2476
+ # @type IsSlowTopFive: Boolean
2477
+ # @param GetResource: 是否获取资源层信息
2478
+ # @type GetResource: Boolean
2479
+ # @param Tags: 根据应用标签过滤
2480
+ # @type Tags: Array
2481
+ # @param Hidden: 不显示的节点类型
2482
+ # @type Hidden: :class:`Tencentcloud::Apm.v20210622.models.Selectors`
2483
+
2484
+ attr_accessor :InstanceId, :StartTime, :EndTime, :ServiceName, :UpLevel, :ServiceInstance, :DownLevel, :View, :Filters, :Topic, :Selectors, :Id, :TraceID, :IsSlowTopFive, :GetResource, :Tags, :Hidden
2485
+
2486
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, servicename=nil, uplevel=nil, serviceinstance=nil, downlevel=nil, view=nil, filters=nil, topic=nil, selectors=nil, id=nil, traceid=nil, isslowtopfive=nil, getresource=nil, tags=nil, hidden=nil)
2487
+ @InstanceId = instanceid
2488
+ @StartTime = starttime
2489
+ @EndTime = endtime
2490
+ @ServiceName = servicename
2491
+ @UpLevel = uplevel
2492
+ @ServiceInstance = serviceinstance
2493
+ @DownLevel = downlevel
2494
+ @View = view
2495
+ @Filters = filters
2496
+ @Topic = topic
2497
+ @Selectors = selectors
2498
+ @Id = id
2499
+ @TraceID = traceid
2500
+ @IsSlowTopFive = isslowtopfive
2501
+ @GetResource = getresource
2502
+ @Tags = tags
2503
+ @Hidden = hidden
2504
+ end
2505
+
2506
+ def deserialize(params)
2507
+ @InstanceId = params['InstanceId']
2508
+ @StartTime = params['StartTime']
2509
+ @EndTime = params['EndTime']
2510
+ @ServiceName = params['ServiceName']
2511
+ @UpLevel = params['UpLevel']
2512
+ @ServiceInstance = params['ServiceInstance']
2513
+ @DownLevel = params['DownLevel']
2514
+ @View = params['View']
2515
+ unless params['Filters'].nil?
2516
+ @Filters = []
2517
+ params['Filters'].each do |i|
2518
+ filter_tmp = Filter.new
2519
+ filter_tmp.deserialize(i)
2520
+ @Filters << filter_tmp
2521
+ end
2522
+ end
2523
+ @Topic = params['Topic']
2524
+ unless params['Selectors'].nil?
2525
+ @Selectors = Selectors.new
2526
+ @Selectors.deserialize(params['Selectors'])
2527
+ end
2528
+ @Id = params['Id']
2529
+ @TraceID = params['TraceID']
2530
+ @IsSlowTopFive = params['IsSlowTopFive']
2531
+ @GetResource = params['GetResource']
2532
+ unless params['Tags'].nil?
2533
+ @Tags = []
2534
+ params['Tags'].each do |i|
2535
+ apmtag_tmp = ApmTag.new
2536
+ apmtag_tmp.deserialize(i)
2537
+ @Tags << apmtag_tmp
2538
+ end
2539
+ end
2540
+ unless params['Hidden'].nil?
2541
+ @Hidden = Selectors.new
2542
+ @Hidden.deserialize(params['Hidden'])
2543
+ end
2544
+ end
2545
+ end
2546
+
2547
+ # DescribeTopologyNew返回参数结构体
2548
+ class DescribeTopologyNewResponse < TencentCloud::Common::AbstractModel
2549
+ # @param Nodes: 节点集合
2550
+ # 注意:此字段可能返回 null,表示取不到有效值。
2551
+ # @type Nodes: Array
2552
+ # @param Edges: 边集合
2553
+ # @type Edges: Array
2554
+ # @param TopologyModifyFlag: 拓扑图是否有修改
2555
+ # 注意:此字段可能返回 null,表示取不到有效值。
2556
+ # @type TopologyModifyFlag: Integer
2557
+ # @param Selectors: 节点数量
2558
+ # 注意:此字段可能返回 null,表示取不到有效值。
2559
+ # @type Selectors: :class:`Tencentcloud::Apm.v20210622.models.SelectorView`
2560
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2561
+ # @type RequestId: String
2562
+
2563
+ attr_accessor :Nodes, :Edges, :TopologyModifyFlag, :Selectors, :RequestId
2564
+
2565
+ def initialize(nodes=nil, edges=nil, topologymodifyflag=nil, selectors=nil, requestid=nil)
2566
+ @Nodes = nodes
2567
+ @Edges = edges
2568
+ @TopologyModifyFlag = topologymodifyflag
2569
+ @Selectors = selectors
2570
+ @RequestId = requestid
2571
+ end
2572
+
2573
+ def deserialize(params)
2574
+ unless params['Nodes'].nil?
2575
+ @Nodes = []
2576
+ params['Nodes'].each do |i|
2577
+ topologynode_tmp = TopologyNode.new
2578
+ topologynode_tmp.deserialize(i)
2579
+ @Nodes << topologynode_tmp
2580
+ end
2581
+ end
2582
+ unless params['Edges'].nil?
2583
+ @Edges = []
2584
+ params['Edges'].each do |i|
2585
+ topologyedgenew_tmp = TopologyEdgeNew.new
2586
+ topologyedgenew_tmp.deserialize(i)
2587
+ @Edges << topologyedgenew_tmp
2588
+ end
2589
+ end
2590
+ @TopologyModifyFlag = params['TopologyModifyFlag']
2591
+ unless params['Selectors'].nil?
2592
+ @Selectors = SelectorView.new
2593
+ @Selectors.deserialize(params['Selectors'])
2594
+ end
2595
+ @RequestId = params['RequestId']
2596
+ end
2597
+ end
2598
+
2398
2599
  # 查询过滤参数
2399
2600
  class Filter < TencentCloud::Common::AbstractModel
2400
2601
  # @param Type: 过滤方式(=, !=, in)
@@ -3201,6 +3402,28 @@ module TencentCloud
3201
3402
  end
3202
3403
  end
3203
3404
 
3405
+ # 节点位置信息
3406
+ class Position < TencentCloud::Common::AbstractModel
3407
+ # @param X: 节点位置横坐标
3408
+ # 注意:此字段可能返回 null,表示取不到有效值。
3409
+ # @type X: Float
3410
+ # @param Y: 节点位置纵坐标
3411
+ # 注意:此字段可能返回 null,表示取不到有效值。
3412
+ # @type Y: Float
3413
+
3414
+ attr_accessor :X, :Y
3415
+
3416
+ def initialize(x=nil, y=nil)
3417
+ @X = x
3418
+ @Y = y
3419
+ end
3420
+
3421
+ def deserialize(params)
3422
+ @X = params['X']
3423
+ @Y = params['Y']
3424
+ end
3425
+ end
3426
+
3204
3427
  # 查询
3205
3428
  class QueryMetricItem < TencentCloud::Common::AbstractModel
3206
3429
  # @param MetricName: 指标名
@@ -3225,6 +3448,83 @@ module TencentCloud
3225
3448
  end
3226
3449
  end
3227
3450
 
3451
+ # 资源层信息
3452
+ class Resource < TencentCloud::Common::AbstractModel
3453
+ # @param Type: 资源类型
3454
+ # 注意:此字段可能返回 null,表示取不到有效值。
3455
+ # @type Type: Array
3456
+ # @param TKEMeta: tke资源层信息
3457
+ # @type TKEMeta: Array
3458
+ # @param CVMMeta: cvm资源信息
3459
+ # 注意:此字段可能返回 null,表示取不到有效值。
3460
+ # @type CVMMeta: Array
3461
+
3462
+ attr_accessor :Type, :TKEMeta, :CVMMeta
3463
+
3464
+ def initialize(type=nil, tkemeta=nil, cvmmeta=nil)
3465
+ @Type = type
3466
+ @TKEMeta = tkemeta
3467
+ @CVMMeta = cvmmeta
3468
+ end
3469
+
3470
+ def deserialize(params)
3471
+ @Type = params['Type']
3472
+ unless params['TKEMeta'].nil?
3473
+ @TKEMeta = []
3474
+ params['TKEMeta'].each do |i|
3475
+ tkemeta_tmp = TkeMeta.new
3476
+ tkemeta_tmp.deserialize(i)
3477
+ @TKEMeta << tkemeta_tmp
3478
+ end
3479
+ end
3480
+ unless params['CVMMeta'].nil?
3481
+ @CVMMeta = []
3482
+ params['CVMMeta'].each do |i|
3483
+ cvmmeta_tmp = CVMMeta.new
3484
+ cvmmeta_tmp.deserialize(i)
3485
+ @CVMMeta << cvmmeta_tmp
3486
+ end
3487
+ end
3488
+ end
3489
+ end
3490
+
3491
+ # 包含了节点的组件数量和健康度数量
3492
+ class SelectorView < TencentCloud::Common::AbstractModel
3493
+ # @param Component: 组件数量
3494
+ # 注意:此字段可能返回 null,表示取不到有效值。
3495
+ # @type Component: :class:`Tencentcloud::Apm.v20210622.models.ComponentTopologyView`
3496
+
3497
+ attr_accessor :Component
3498
+
3499
+ def initialize(component=nil)
3500
+ @Component = component
3501
+ end
3502
+
3503
+ def deserialize(params)
3504
+ unless params['Component'].nil?
3505
+ @Component = ComponentTopologyView.new
3506
+ @Component.deserialize(params['Component'])
3507
+ end
3508
+ end
3509
+ end
3510
+
3511
+ # 视图方案勾选情况
3512
+ class Selectors < TencentCloud::Common::AbstractModel
3513
+ # @param Component: 组件勾选情况
3514
+ # 注意:此字段可能返回 null,表示取不到有效值。
3515
+ # @type Component: Array
3516
+
3517
+ attr_accessor :Component
3518
+
3519
+ def initialize(component=nil)
3520
+ @Component = component
3521
+ end
3522
+
3523
+ def deserialize(params)
3524
+ @Component = params['Component']
3525
+ end
3526
+ end
3527
+
3228
3528
  # 应用详细信息
3229
3529
  class ServiceDetail < TencentCloud::Common::AbstractModel
3230
3530
  # @param ServiceID: 应用ID
@@ -3509,6 +3809,236 @@ module TencentCloud
3509
3809
  end
3510
3810
  end
3511
3811
 
3812
+ # tke资源元数据
3813
+ class TkeMeta < TencentCloud::Common::AbstractModel
3814
+ # @param Region: 地域
3815
+ # @type Region: String
3816
+ # @param ClusterID: 集群ID
3817
+ # @type ClusterID: String
3818
+ # @param PodName: pod name
3819
+ # @type PodName: String
3820
+ # @param Namespace: 命名空间
3821
+ # @type Namespace: String
3822
+ # @param Deployment: 工作负载
3823
+ # @type Deployment: String
3824
+ # @param PodIP: pod ip
3825
+ # @type PodIP: String
3826
+ # @param NodeIP: node ip
3827
+ # @type NodeIP: String
3828
+
3829
+ attr_accessor :Region, :ClusterID, :PodName, :Namespace, :Deployment, :PodIP, :NodeIP
3830
+
3831
+ def initialize(region=nil, clusterid=nil, podname=nil, namespace=nil, deployment=nil, podip=nil, nodeip=nil)
3832
+ @Region = region
3833
+ @ClusterID = clusterid
3834
+ @PodName = podname
3835
+ @Namespace = namespace
3836
+ @Deployment = deployment
3837
+ @PodIP = podip
3838
+ @NodeIP = nodeip
3839
+ end
3840
+
3841
+ def deserialize(params)
3842
+ @Region = params['Region']
3843
+ @ClusterID = params['ClusterID']
3844
+ @PodName = params['PodName']
3845
+ @Namespace = params['Namespace']
3846
+ @Deployment = params['Deployment']
3847
+ @PodIP = params['PodIP']
3848
+ @NodeIP = params['NodeIP']
3849
+ end
3850
+ end
3851
+
3852
+ # 拓扑图边定义
3853
+ class TopologyEdgeNew < TencentCloud::Common::AbstractModel
3854
+ # @param Source: 源节点
3855
+ # @type Source: String
3856
+ # @param Id: 边ID
3857
+ # @type Id: String
3858
+ # @param Weight: 边权重
3859
+ # 注意:此字段可能返回 null,表示取不到有效值。
3860
+ # @type Weight: Float
3861
+ # @param Target: 目标节点
3862
+ # @type Target: String
3863
+ # @param Duration: 响应时间
3864
+ # 注意:此字段可能返回 null,表示取不到有效值。
3865
+ # @type Duration: Float
3866
+ # @param ErrRate: 错误率
3867
+ # 注意:此字段可能返回 null,表示取不到有效值。
3868
+ # @type ErrRate: Float
3869
+ # @param Qps: 吞吐量
3870
+ # 注意:此字段可能返回 null,表示取不到有效值。
3871
+ # @type Qps: Float
3872
+ # @param Type: 边类型
3873
+ # 注意:此字段可能返回 null,表示取不到有效值。
3874
+ # @type Type: String
3875
+ # @param Color: 边颜色
3876
+ # 注意:此字段可能返回 null,表示取不到有效值。
3877
+ # @type Color: String
3878
+ # @param SqlRequestCount: Sql调用数
3879
+ # 注意:此字段可能返回 null,表示取不到有效值。
3880
+ # @type SqlRequestCount: Float
3881
+ # @param SqlErrorRequestCount: Sql调用错误数
3882
+ # 注意:此字段可能返回 null,表示取不到有效值。
3883
+ # @type SqlErrorRequestCount: Float
3884
+ # @param SourceComp: 边上源节点类型 应用/MQ/DB
3885
+ # @type SourceComp: String
3886
+ # @param TargetComp: 边上目标节点类型 应用/MQ/DB
3887
+ # @type TargetComp: String
3888
+
3889
+ attr_accessor :Source, :Id, :Weight, :Target, :Duration, :ErrRate, :Qps, :Type, :Color, :SqlRequestCount, :SqlErrorRequestCount, :SourceComp, :TargetComp
3890
+
3891
+ def initialize(source=nil, id=nil, weight=nil, target=nil, duration=nil, errrate=nil, qps=nil, type=nil, color=nil, sqlrequestcount=nil, sqlerrorrequestcount=nil, sourcecomp=nil, targetcomp=nil)
3892
+ @Source = source
3893
+ @Id = id
3894
+ @Weight = weight
3895
+ @Target = target
3896
+ @Duration = duration
3897
+ @ErrRate = errrate
3898
+ @Qps = qps
3899
+ @Type = type
3900
+ @Color = color
3901
+ @SqlRequestCount = sqlrequestcount
3902
+ @SqlErrorRequestCount = sqlerrorrequestcount
3903
+ @SourceComp = sourcecomp
3904
+ @TargetComp = targetcomp
3905
+ end
3906
+
3907
+ def deserialize(params)
3908
+ @Source = params['Source']
3909
+ @Id = params['Id']
3910
+ @Weight = params['Weight']
3911
+ @Target = params['Target']
3912
+ @Duration = params['Duration']
3913
+ @ErrRate = params['ErrRate']
3914
+ @Qps = params['Qps']
3915
+ @Type = params['Type']
3916
+ @Color = params['Color']
3917
+ @SqlRequestCount = params['SqlRequestCount']
3918
+ @SqlErrorRequestCount = params['SqlErrorRequestCount']
3919
+ @SourceComp = params['SourceComp']
3920
+ @TargetComp = params['TargetComp']
3921
+ end
3922
+ end
3923
+
3924
+ # 拓扑图边节点
3925
+ class TopologyNode < TencentCloud::Common::AbstractModel
3926
+ # @param ErrRate: 错误率
3927
+ # 注意:此字段可能返回 null,表示取不到有效值。
3928
+ # @type ErrRate: Float
3929
+ # @param Kind: 节点类型
3930
+ # 注意:此字段可能返回 null,表示取不到有效值。
3931
+ # @type Kind: String
3932
+ # @param Name: 节点名
3933
+ # @type Name: String
3934
+ # @param Weight: 节点权重
3935
+ # 注意:此字段可能返回 null,表示取不到有效值。
3936
+ # @type Weight: Float
3937
+ # @param Color: 节点颜色
3938
+ # 注意:此字段可能返回 null,表示取不到有效值。
3939
+ # @type Color: String
3940
+ # @param Duration: 响应时间
3941
+ # 注意:此字段可能返回 null,表示取不到有效值。
3942
+ # @type Duration: Float
3943
+ # @param Qps: 吞吐量
3944
+ # 注意:此字段可能返回 null,表示取不到有效值。
3945
+ # @type Qps: Float
3946
+ # @param Type: 节点类型
3947
+ # 注意:此字段可能返回 null,表示取不到有效值。
3948
+ # @type Type: String
3949
+ # @param Id: 节点ID
3950
+ # @type Id: String
3951
+ # @param Size: 节点大小
3952
+ # 注意:此字段可能返回 null,表示取不到有效值。
3953
+ # @type Size: String
3954
+ # @param IsModule: 节点是否为组件类型
3955
+ # 注意:此字段可能返回 null,表示取不到有效值。
3956
+ # @type IsModule: Boolean
3957
+ # @param Position: 节点位置信息
3958
+ # 注意:此字段可能返回 null,表示取不到有效值。
3959
+ # @type Position: :class:`Tencentcloud::Apm.v20210622.models.Position`
3960
+ # @param Tags: 节点标签
3961
+ # 注意:此字段可能返回 null,表示取不到有效值。
3962
+ # @type Tags: Array
3963
+ # @param CanDrillDown: 节点是否可以下钻
3964
+ # 注意:此字段可能返回 null,表示取不到有效值。
3965
+ # @type CanDrillDown: Boolean
3966
+ # @param Resource: 资源层信息
3967
+ # 注意:此字段可能返回 null,表示取不到有效值。
3968
+ # @type Resource: :class:`Tencentcloud::Apm.v20210622.models.Resource`
3969
+ # @param NodeView: 拓扑节点视图名字
3970
+ # @type NodeView: String
3971
+ # @param ConsumerDuration: MQ 消费者视角的响应时间 ms
3972
+ # @type ConsumerDuration: Float
3973
+ # @param ConsumerErrRate: MQ 消费者视角的错误率 %
3974
+ # @type ConsumerErrRate: Float
3975
+ # @param ConsumerQps: MQ 消费者视角的吞吐量
3976
+ # @type ConsumerQps: Float
3977
+ # @param ServiceId: 应用 ID
3978
+ # @type ServiceId: String
3979
+
3980
+ attr_accessor :ErrRate, :Kind, :Name, :Weight, :Color, :Duration, :Qps, :Type, :Id, :Size, :IsModule, :Position, :Tags, :CanDrillDown, :Resource, :NodeView, :ConsumerDuration, :ConsumerErrRate, :ConsumerQps, :ServiceId
3981
+
3982
+ def initialize(errrate=nil, kind=nil, name=nil, weight=nil, color=nil, duration=nil, qps=nil, type=nil, id=nil, size=nil, ismodule=nil, position=nil, tags=nil, candrilldown=nil, resource=nil, nodeview=nil, consumerduration=nil, consumererrrate=nil, consumerqps=nil, serviceid=nil)
3983
+ @ErrRate = errrate
3984
+ @Kind = kind
3985
+ @Name = name
3986
+ @Weight = weight
3987
+ @Color = color
3988
+ @Duration = duration
3989
+ @Qps = qps
3990
+ @Type = type
3991
+ @Id = id
3992
+ @Size = size
3993
+ @IsModule = ismodule
3994
+ @Position = position
3995
+ @Tags = tags
3996
+ @CanDrillDown = candrilldown
3997
+ @Resource = resource
3998
+ @NodeView = nodeview
3999
+ @ConsumerDuration = consumerduration
4000
+ @ConsumerErrRate = consumererrrate
4001
+ @ConsumerQps = consumerqps
4002
+ @ServiceId = serviceid
4003
+ end
4004
+
4005
+ def deserialize(params)
4006
+ @ErrRate = params['ErrRate']
4007
+ @Kind = params['Kind']
4008
+ @Name = params['Name']
4009
+ @Weight = params['Weight']
4010
+ @Color = params['Color']
4011
+ @Duration = params['Duration']
4012
+ @Qps = params['Qps']
4013
+ @Type = params['Type']
4014
+ @Id = params['Id']
4015
+ @Size = params['Size']
4016
+ @IsModule = params['IsModule']
4017
+ unless params['Position'].nil?
4018
+ @Position = Position.new
4019
+ @Position.deserialize(params['Position'])
4020
+ end
4021
+ unless params['Tags'].nil?
4022
+ @Tags = []
4023
+ params['Tags'].each do |i|
4024
+ apmtag_tmp = ApmTag.new
4025
+ apmtag_tmp.deserialize(i)
4026
+ @Tags << apmtag_tmp
4027
+ end
4028
+ end
4029
+ @CanDrillDown = params['CanDrillDown']
4030
+ unless params['Resource'].nil?
4031
+ @Resource = Resource.new
4032
+ @Resource.deserialize(params['Resource'])
4033
+ end
4034
+ @NodeView = params['NodeView']
4035
+ @ConsumerDuration = params['ConsumerDuration']
4036
+ @ConsumerErrRate = params['ConsumerErrRate']
4037
+ @ConsumerQps = params['ConsumerQps']
4038
+ @ServiceId = params['ServiceId']
4039
+ end
4040
+ end
4041
+
3512
4042
  end
3513
4043
  end
3514
4044
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1188
4
+ version: 3.0.1189
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-23 00:00:00.000000000 Z
11
+ date: 2025-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common