tencentcloud-sdk-apm 3.0.983 → 3.0.985

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: 8e94b4710b8049fb47c3aa3d8e7297d353bc9cb1
4
- data.tar.gz: 39e6bc83b48d4d1d4ce58c3526b3ebf5fd90f1ac
3
+ metadata.gz: 01b7695d07b79849da6653f189fa8f34a43804e7
4
+ data.tar.gz: c4a28efa7cd251b05f86fc8647408193b3a20a92
5
5
  SHA512:
6
- metadata.gz: 4496274c745e98d6f17bc743910b7542191e3b3e5ed75e7c76827defe7f3b5b61f900b8b6361dd10a44ee57bd4e403ade0126c82d7c255ea3c6252d828e33d51
7
- data.tar.gz: 6b58cc4a5f13fa37c53f1e1106e0964883a5324eea5dd2a966cecb0b5ec9474b4b36d77f99a9397c90185363f79bf8ee8023131dc6ded3f7fc4a3cf3332a4ef8
6
+ metadata.gz: 8b5f84233e8e854f4bb6541c391f4602aa48a54fb63122f218574650852d4ee704e71502c366633c5f0840ac37201e0116c95d68a2f3676db2c7efad535378d4
7
+ data.tar.gz: 9c6be0d1b5c7a07b3d640edb05a9a6298dead963a855c988baebb791224fb9f7b5edd79e7b70851e64999bb9e718a367d395060e0954e9a98515307d6d3f9527
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.983
1
+ 3.0.985
@@ -53,7 +53,7 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
- # 获取 APM Agent信息
56
+ # 获取 APM 接入点
57
57
 
58
58
  # @param request: Request instance for DescribeApmAgent.
59
59
  # @type request: :class:`Tencentcloud::apm::V20210622::DescribeApmAgentRequest`
@@ -77,7 +77,7 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
- # 拉取 APM 业务系统列表
80
+ # 获取 APM 业务系统列表
81
81
 
82
82
  # @param request: Request instance for DescribeApmInstances.
83
83
  # @type request: :class:`Tencentcloud::apm::V20210622::DescribeApmInstancesRequest`
@@ -174,7 +174,7 @@ module TencentCloud
174
174
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
175
175
  end
176
176
 
177
- # 拉取通用指标列表
177
+ # 查询指标列表接口,查询指标更推荐使用DescribeGeneralMetricData接口
178
178
 
179
179
  # @param request: Request instance for DescribeMetricRecords.
180
180
  # @type request: :class:`Tencentcloud::apm::V20210622::DescribeMetricRecordsRequest`
@@ -190,34 +190,36 @@ module TencentCloud
190
190
 
191
191
  # 指标维度信息
192
192
  class ApmField < TencentCloud::Common::AbstractModel
193
- # @param CompareVal: 昨日同比指标值,已弃用,不建议使用
194
- # @type CompareVal: String
195
- # @param CompareVals: Compare值结果数组,推荐使用
196
- # 注意:此字段可能返回 null,表示取不到有效值。
197
- # @type CompareVals: Array
198
- # @param Value: 指标值
193
+ # @param Key: 指标名
194
+ # @type Key: String
195
+ # @param Value: 指标数值
199
196
  # @type Value: Float
200
197
  # @param Unit: 指标所对应的单位
201
198
  # @type Unit: String
202
- # @param Key: 请求数
203
- # @type Key: String
204
- # @param LastPeriodValue: 同环比上周期具体数值
199
+ # @param CompareVals: 同比结果数组,推荐使用
200
+ # 注意:此字段可能返回 null,表示取不到有效值。
201
+ # @type CompareVals: Array
202
+ # @param LastPeriodValue: 同比上一个周期的具体指标数值
205
203
  # 注意:此字段可能返回 null,表示取不到有效值。
206
204
  # @type LastPeriodValue: Array
205
+ # @param CompareVal: 同比指标值,已弃用,不建议使用
206
+ # @type CompareVal: String
207
207
 
208
- attr_accessor :CompareVal, :CompareVals, :Value, :Unit, :Key, :LastPeriodValue
208
+ attr_accessor :Key, :Value, :Unit, :CompareVals, :LastPeriodValue, :CompareVal
209
209
 
210
- def initialize(compareval=nil, comparevals=nil, value=nil, unit=nil, key=nil, lastperiodvalue=nil)
211
- @CompareVal = compareval
212
- @CompareVals = comparevals
210
+ def initialize(key=nil, value=nil, unit=nil, comparevals=nil, lastperiodvalue=nil, compareval=nil)
211
+ @Key = key
213
212
  @Value = value
214
213
  @Unit = unit
215
- @Key = key
214
+ @CompareVals = comparevals
216
215
  @LastPeriodValue = lastperiodvalue
216
+ @CompareVal = compareval
217
217
  end
218
218
 
219
219
  def deserialize(params)
220
- @CompareVal = params['CompareVal']
220
+ @Key = params['Key']
221
+ @Value = params['Value']
222
+ @Unit = params['Unit']
221
223
  unless params['CompareVals'].nil?
222
224
  @CompareVals = []
223
225
  params['CompareVals'].each do |i|
@@ -226,9 +228,6 @@ module TencentCloud
226
228
  @CompareVals << apmkvitem_tmp
227
229
  end
228
230
  end
229
- @Value = params['Value']
230
- @Unit = params['Unit']
231
- @Key = params['Key']
232
231
  unless params['LastPeriodValue'].nil?
233
232
  @LastPeriodValue = []
234
233
  params['LastPeriodValue'].each do |i|
@@ -237,101 +236,100 @@ module TencentCloud
237
236
  @LastPeriodValue << apmkv_tmp
238
237
  end
239
238
  end
239
+ @CompareVal = params['CompareVal']
240
240
  end
241
241
  end
242
242
 
243
243
  # APM 业务系统信息
244
244
  class ApmInstanceDetail < TencentCloud::Common::AbstractModel
245
- # @param AmountOfUsedStorage: 存储使用量( MB )
246
- # @type AmountOfUsedStorage: Float
245
+ # @param InstanceId: 业务系统 ID
246
+ # @type InstanceId: String
247
247
  # @param Name: 业务系统名
248
248
  # @type Name: String
249
- # @param Tags: 业务系统所属 Tag 列表
249
+ # @param Description: 业务系统描述信息
250
+ # @type Description: String
251
+ # @param Status: 业务系统状态
252
+ # @type Status: Integer
253
+ # @param Region: 业务系统所属地域
254
+ # @type Region: String
255
+ # @param Tags: 业务系统 Tag 列表
250
256
  # @type Tags: Array
251
- # @param InstanceId: 业务系统 ID
252
- # @type InstanceId: String
257
+ # @param AppId: AppID 信息
258
+ # @type AppId: Integer
253
259
  # @param CreateUin: 创建人 Uin
254
260
  # @type CreateUin: String
255
- # @param ServiceCount: 该业务系统已上报的服务端应用数量
261
+ # @param AmountOfUsedStorage: 存储使用量(单位:MB)
262
+ # @type AmountOfUsedStorage: Float
263
+ # @param ServiceCount: 该业务系统服务端应用数量
256
264
  # @type ServiceCount: Integer
257
265
  # @param CountOfReportSpanPerDay: 日均上报 Span 数
258
266
  # @type CountOfReportSpanPerDay: Integer
259
- # @param AppId: AppID 信息
260
- # @type AppId: Integer
261
- # @param TraceDuration: Trace 数据保存时长
267
+ # @param TraceDuration: Trace 数据保存时长(单位:天)
262
268
  # @type TraceDuration: Integer
263
- # @param Description: 业务系统描述信息
264
- # @type Description: String
265
- # @param Status: 业务系统状态
266
- # @type Status: Integer
267
- # @param Region: 业务系统所属地域
268
- # @type Region: String
269
269
  # @param SpanDailyCounters: 业务系统上报额度
270
270
  # @type SpanDailyCounters: Integer
271
- # @param BillingInstance: 业务系统是否开通计费
271
+ # @param BillingInstance: 业务系统是否已开通计费(0=未开通,1=已开通)
272
272
  # @type BillingInstance: Integer
273
- # @param ErrRateThreshold: 错误率阈值
273
+ # @param ErrRateThreshold: 错误警示线(单位:%)
274
274
  # @type ErrRateThreshold: Integer
275
- # @param SampleRate: 采样率阈值
275
+ # @param SampleRate: 采样率(单位:%)
276
276
  # @type SampleRate: Integer
277
- # @param ErrorSample: 是否开启错误采样 0 1
277
+ # @param ErrorSample: 是否开启错误采样(0=关, 1=开)
278
278
  # @type ErrorSample: Integer
279
- # @param SlowRequestSavedThreshold: 慢调用保存阈值
279
+ # @param SlowRequestSavedThreshold: 采样慢调用保存阈值(单位:ms)
280
280
  # @type SlowRequestSavedThreshold: Integer
281
281
  # @param LogRegion: CLS 日志所在地域
282
282
  # @type LogRegion: String
283
- # @param LogSource: 日志来源
283
+ # @param LogSource: 日志源
284
284
  # @type LogSource: String
285
- # @param IsRelatedLog: 日志功能开关 0 关 | 1
285
+ # @param IsRelatedLog: 日志功能开关(0=关, 1=开)
286
286
  # @type IsRelatedLog: Integer
287
- # @param LogTopicID: 日志主题ID
287
+ # @param LogTopicID: 日志主题 ID
288
288
  # @type LogTopicID: String
289
- # @param ClientCount: 该实例已上报的客户端应用数量
289
+ # @param ClientCount: 该业务系统客户端应用数量
290
290
  # @type ClientCount: Integer
291
- # @param TotalCount: 该实例已上报的总应用数量
291
+ # @param TotalCount: 该业务系统最近2天活跃应用数量
292
292
  # @type TotalCount: Integer
293
- # @param LogSet: CLS 日志集 | ES 集群ID
293
+ # @param LogSet: CLS 日志集
294
294
  # @type LogSet: String
295
- # @param MetricDuration: Metric 数据保存时长
295
+ # @param MetricDuration: Metric 数据保存时长(单位:天)
296
296
  # @type MetricDuration: Integer
297
297
  # @param CustomShowTags: 用户自定义展示标签列表
298
298
  # @type CustomShowTags: Array
299
- # @param PayMode: 业务系统计费模式
300
- # 1为预付费
301
- # 0为按量付费
299
+ # @param PayMode: 业务系统计费模式(1为预付费,0为按量付费)
302
300
  # @type PayMode: Integer
303
301
  # @param PayModeEffective: 业务系统计费模式是否生效
304
302
  # @type PayModeEffective: Boolean
305
- # @param ResponseDurationWarningThreshold: 响应时间满意阈值
303
+ # @param ResponseDurationWarningThreshold: 响应时间警示线(单位:ms)
306
304
  # @type ResponseDurationWarningThreshold: Integer
307
305
  # @param Free: 是否免费(0=否,1=限额免费,2=完全免费),默认0
308
306
  # @type Free: Integer
309
- # @param DefaultTSF: 是否 tsf 默认业务系统(0=否,1-是)
307
+ # @param DefaultTSF: 是否 TSF 默认业务系统(0=否,1=是)
310
308
  # @type DefaultTSF: Integer
311
- # @param IsRelatedDashboard: 是否关联 Dashboard0 1
309
+ # @param IsRelatedDashboard: 是否关联 Dashboard0=关, 1=开)
312
310
  # @type IsRelatedDashboard: Integer
313
- # @param DashboardTopicID: Dashboard ID
311
+ # @param DashboardTopicID: 关联的 Dashboard ID
314
312
  # @type DashboardTopicID: String
315
- # @param IsInstrumentationVulnerabilityScan: 是否开启组件漏洞检测
313
+ # @param IsInstrumentationVulnerabilityScan: 是否开启组件漏洞检测(0=关, 1=开)
316
314
  # @type IsInstrumentationVulnerabilityScan: Integer
317
- # @param IsSqlInjectionAnalysis: 是否开启 SQL 注入分析
315
+ # @param IsSqlInjectionAnalysis: 是否开启 SQL 注入分析(0=关, 1=开)
318
316
  # @type IsSqlInjectionAnalysis: Integer
319
317
 
320
- attr_accessor :AmountOfUsedStorage, :Name, :Tags, :InstanceId, :CreateUin, :ServiceCount, :CountOfReportSpanPerDay, :AppId, :TraceDuration, :Description, :Status, :Region, :SpanDailyCounters, :BillingInstance, :ErrRateThreshold, :SampleRate, :ErrorSample, :SlowRequestSavedThreshold, :LogRegion, :LogSource, :IsRelatedLog, :LogTopicID, :ClientCount, :TotalCount, :LogSet, :MetricDuration, :CustomShowTags, :PayMode, :PayModeEffective, :ResponseDurationWarningThreshold, :Free, :DefaultTSF, :IsRelatedDashboard, :DashboardTopicID, :IsInstrumentationVulnerabilityScan, :IsSqlInjectionAnalysis
318
+ attr_accessor :InstanceId, :Name, :Description, :Status, :Region, :Tags, :AppId, :CreateUin, :AmountOfUsedStorage, :ServiceCount, :CountOfReportSpanPerDay, :TraceDuration, :SpanDailyCounters, :BillingInstance, :ErrRateThreshold, :SampleRate, :ErrorSample, :SlowRequestSavedThreshold, :LogRegion, :LogSource, :IsRelatedLog, :LogTopicID, :ClientCount, :TotalCount, :LogSet, :MetricDuration, :CustomShowTags, :PayMode, :PayModeEffective, :ResponseDurationWarningThreshold, :Free, :DefaultTSF, :IsRelatedDashboard, :DashboardTopicID, :IsInstrumentationVulnerabilityScan, :IsSqlInjectionAnalysis
321
319
 
322
- def initialize(amountofusedstorage=nil, name=nil, tags=nil, instanceid=nil, createuin=nil, servicecount=nil, countofreportspanperday=nil, appid=nil, traceduration=nil, description=nil, status=nil, region=nil, spandailycounters=nil, billinginstance=nil, errratethreshold=nil, samplerate=nil, errorsample=nil, slowrequestsavedthreshold=nil, logregion=nil, logsource=nil, isrelatedlog=nil, logtopicid=nil, clientcount=nil, totalcount=nil, logset=nil, metricduration=nil, customshowtags=nil, paymode=nil, paymodeeffective=nil, responsedurationwarningthreshold=nil, free=nil, defaulttsf=nil, isrelateddashboard=nil, dashboardtopicid=nil, isinstrumentationvulnerabilityscan=nil, issqlinjectionanalysis=nil)
323
- @AmountOfUsedStorage = amountofusedstorage
320
+ def initialize(instanceid=nil, name=nil, description=nil, status=nil, region=nil, tags=nil, appid=nil, createuin=nil, amountofusedstorage=nil, servicecount=nil, countofreportspanperday=nil, traceduration=nil, spandailycounters=nil, billinginstance=nil, errratethreshold=nil, samplerate=nil, errorsample=nil, slowrequestsavedthreshold=nil, logregion=nil, logsource=nil, isrelatedlog=nil, logtopicid=nil, clientcount=nil, totalcount=nil, logset=nil, metricduration=nil, customshowtags=nil, paymode=nil, paymodeeffective=nil, responsedurationwarningthreshold=nil, free=nil, defaulttsf=nil, isrelateddashboard=nil, dashboardtopicid=nil, isinstrumentationvulnerabilityscan=nil, issqlinjectionanalysis=nil)
321
+ @InstanceId = instanceid
324
322
  @Name = name
323
+ @Description = description
324
+ @Status = status
325
+ @Region = region
325
326
  @Tags = tags
326
- @InstanceId = instanceid
327
+ @AppId = appid
327
328
  @CreateUin = createuin
329
+ @AmountOfUsedStorage = amountofusedstorage
328
330
  @ServiceCount = servicecount
329
331
  @CountOfReportSpanPerDay = countofreportspanperday
330
- @AppId = appid
331
332
  @TraceDuration = traceduration
332
- @Description = description
333
- @Status = status
334
- @Region = region
335
333
  @SpanDailyCounters = spandailycounters
336
334
  @BillingInstance = billinginstance
337
335
  @ErrRateThreshold = errratethreshold
@@ -359,8 +357,11 @@ module TencentCloud
359
357
  end
360
358
 
361
359
  def deserialize(params)
362
- @AmountOfUsedStorage = params['AmountOfUsedStorage']
360
+ @InstanceId = params['InstanceId']
363
361
  @Name = params['Name']
362
+ @Description = params['Description']
363
+ @Status = params['Status']
364
+ @Region = params['Region']
364
365
  unless params['Tags'].nil?
365
366
  @Tags = []
366
367
  params['Tags'].each do |i|
@@ -369,15 +370,12 @@ module TencentCloud
369
370
  @Tags << apmtag_tmp
370
371
  end
371
372
  end
372
- @InstanceId = params['InstanceId']
373
+ @AppId = params['AppId']
373
374
  @CreateUin = params['CreateUin']
375
+ @AmountOfUsedStorage = params['AmountOfUsedStorage']
374
376
  @ServiceCount = params['ServiceCount']
375
377
  @CountOfReportSpanPerDay = params['CountOfReportSpanPerDay']
376
- @AppId = params['AppId']
377
378
  @TraceDuration = params['TraceDuration']
378
- @Description = params['Description']
379
- @Status = params['Status']
380
- @Region = params['Region']
381
379
  @SpanDailyCounters = params['SpanDailyCounters']
382
380
  @BillingInstance = params['BillingInstance']
383
381
  @ErrRateThreshold = params['ErrRateThreshold']
@@ -407,9 +405,9 @@ module TencentCloud
407
405
 
408
406
  # 指标列表单元
409
407
  class ApmMetricRecord < TencentCloud::Common::AbstractModel
410
- # @param Fields: field数组
408
+ # @param Fields: field数组,用于指标的查询结果
411
409
  # @type Fields: Array
412
- # @param Tags: tag数组
410
+ # @param Tags: tag数组,用于区分 Groupby 的对象
413
411
  # @type Tags: Array
414
412
 
415
413
  attr_accessor :Fields, :Tags
@@ -465,15 +463,15 @@ module TencentCloud
465
463
  # @type Name: String
466
464
  # @param Description: 业务系统描述信息
467
465
  # @type Description: String
468
- # @param TraceDuration: Trace 数据保存时长,单位为天默认存储为3
466
+ # @param TraceDuration: Trace 数据保存时长(单位:天,默认存储时长为3天)
469
467
  # @type TraceDuration: Integer
470
- # @param Tags: 标签列表
468
+ # @param Tags: 业务系统 Tag 列表
471
469
  # @type Tags: Array
472
- # @param SpanDailyCounters: 业务系统上报额度值,默认赋值为0表示不限制上报额度
470
+ # @param SpanDailyCounters: 业务系统上报额度值,默认赋值为0表示不限制上报额度,已废弃
473
471
  # @type SpanDailyCounters: Integer
474
- # @param PayMode: 业务系统的计费模式
472
+ # @param PayMode: 业务系统的计费模式(0=按量付费,1=预付费)
475
473
  # @type PayMode: Integer
476
- # @param Free: 0=付费版;1=tsf 受限免费版;2=免费版)
474
+ # @param Free: 是否为免费版业务系统(0=付费版;1=TSF 受限免费版;2=免费版)
477
475
  # @type Free: Integer
478
476
 
479
477
  attr_accessor :Name, :Description, :TraceDuration, :Tags, :SpanDailyCounters, :PayMode, :Free
@@ -530,13 +528,13 @@ module TencentCloud
530
528
  class DescribeApmAgentRequest < TencentCloud::Common::AbstractModel
531
529
  # @param InstanceId: 业务系统 ID
532
530
  # @type InstanceId: String
533
- # @param AgentType: 接入方式
531
+ # @param AgentType: 接入方式,现支持 skywalking, ot, ebpf 方式接入上报,不填默认为 ot
534
532
  # @type AgentType: String
535
- # @param NetworkMode: 环境
533
+ # @param NetworkMode: 上报环境,现支持 pl (内网上报), public (外网), inner (自研 VPC )环境上报,不传默认为 public
536
534
  # @type NetworkMode: String
537
- # @param LanguageEnvironment: 语言
535
+ # @param LanguageEnvironment: 语言,现支持 java, golang, php, python, dotNet, nodejs 语言上报,不传默认为 golang
538
536
  # @type LanguageEnvironment: String
539
- # @param ReportMethod: 上报方式
537
+ # @param ReportMethod: 上报方式,已弃用
540
538
  # @type ReportMethod: String
541
539
 
542
540
  attr_accessor :InstanceId, :AgentType, :NetworkMode, :LanguageEnvironment, :ReportMethod
@@ -585,13 +583,13 @@ module TencentCloud
585
583
  class DescribeApmInstancesRequest < TencentCloud::Common::AbstractModel
586
584
  # @param Tags: Tag 列表
587
585
  # @type Tags: Array
588
- # @param InstanceName: 搜索业务系统名
586
+ # @param InstanceName: 按业务系统名过滤
589
587
  # @type InstanceName: String
590
- # @param InstanceIds: 过滤业务系统 ID
588
+ # @param InstanceIds: 按业务系统 ID 过滤
591
589
  # @type InstanceIds: Array
592
- # @param DemoInstanceFlag: 是否查询官方 Demo 业务系统
590
+ # @param DemoInstanceFlag: 是否查询官方 Demo 业务系统(0=非 Demo 业务系统,1=Demo 业务系统,默认为0)
593
591
  # @type DemoInstanceFlag: Integer
594
- # @param AllRegionsFlag: 是否查询全地域业务系统
592
+ # @param AllRegionsFlag: 是否查询全地域业务系统(0=不查询全地域,1=查询全地域,默认为0)
595
593
  # @type AllRegionsFlag: Integer
596
594
 
597
595
  attr_accessor :Tags, :InstanceName, :InstanceIds, :DemoInstanceFlag, :AllRegionsFlag
@@ -694,7 +692,7 @@ module TencentCloud
694
692
  class DescribeGeneralMetricDataRequest < TencentCloud::Common::AbstractModel
695
693
  # @param Metrics: 需要查询的指标名称,不可自定义输入,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
696
694
  # @type Metrics: Array
697
- # @param InstanceId: 业务系统ID
695
+ # @param InstanceId: 业务系统 ID
698
696
  # @type InstanceId: String
699
697
  # @param ViewName: 视图名称,不可自定义输入。[详情请见。](https://cloud.tencent.com/document/product/248/101681)
700
698
  # @type ViewName: String
@@ -702,16 +700,21 @@ module TencentCloud
702
700
  # @type Filters: Array
703
701
  # @param GroupBy: 聚合维度,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
704
702
  # @type GroupBy: Array
705
- # @param StartTime: 起始时间的时间戳,单位为秒,只支持查询2天内最多1小时的指标数据。
703
+ # @param StartTime: 起始时间的时间戳,支持查询30天内的指标数据。(单位:秒)
706
704
  # @type StartTime: Integer
707
- # @param EndTime: 结束时间的时间戳,单位为秒,只支持查询2天内最多1小时的指标数据。
705
+ # @param EndTime: 结束时间的时间戳,支持查询30天内的指标数据。(单位:秒)
708
706
  # @type EndTime: Integer
709
- # @param Period: 聚合粒度,单位为秒,最小为60s,即一分钟的聚合粒度;如果为空或0则计算开始时间到截止时间的指标数据,上报其他值会报错。
707
+ # @param Period: 是否按固定时间跨度聚合,填入1及大于1的值按1处理,不填按0处理。
708
+ # - 填入0,则计算开始时间到截止时间的指标数据。
709
+ # - 填入1,则会按照开始时间到截止时间的时间跨度选择聚合粒度:
710
+ # - 时间跨度 (0,12) 小时,则按一分钟粒度聚合。
711
+ # - 时间跨度 [12,48] 小时,则按五分钟粒度聚合。
712
+ # - 时间跨度 (48, +∞) 小时,则按一小时粒度聚合。
710
713
  # @type Period: Integer
711
714
  # @param OrderBy: 对查询指标进行排序:
712
715
  # Key 填写云 API 指标名称,[详情请见。](https://cloud.tencent.com/document/product/248/101681)
713
716
  # Value 填写排序方式:
714
- # - asc:对查询指标进行升序排序
717
+ # - asc:对查询指标进行升序排序
715
718
  # - desc:对查询指标进行降序排序
716
719
  # @type OrderBy: :class:`Tencentcloud::Apm.v20210622.models.OrderBy`
717
720
  # @param PageSize: 查询指标的限制条数,目前最多展示50条数据,PageSize取值为1-50,上送PageSize则根据PageSize的值展示限制条数。
@@ -785,45 +788,50 @@ module TencentCloud
785
788
 
786
789
  # DescribeGeneralSpanList请求参数结构体
787
790
  class DescribeGeneralSpanListRequest < TencentCloud::Common::AbstractModel
788
- # @param Offset: 分页
789
- # @type Offset: Integer
790
- # @param Limit: 列表项个数
791
- # @type Limit: Integer
792
- # @param OrderBy: 排序
793
- # @type OrderBy: :class:`Tencentcloud::Apm.v20210622.models.OrderBy`
794
- # @param StartTime: Span查询开始时间戳(单位:秒)
795
- # @type StartTime: Integer
796
791
  # @param InstanceId: 业务系统 ID
797
792
  # @type InstanceId: String
793
+ # @param StartTime: Span 查询开始时间戳(单位:秒)
794
+ # @type StartTime: Integer
795
+ # @param EndTime: Span 查询结束时间戳(单位:秒)
796
+ # @type EndTime: Integer
798
797
  # @param Filters: 通用过滤参数
799
798
  # @type Filters: Array
800
- # @param BusinessName: 业务自身服务名
799
+ # @param OrderBy: 排序
800
+ # 现支持的 Key 有:
801
+
802
+ # - startTime(开始时间)
803
+ # - endTime(结束时间)
804
+ # - duration(响应时间)
805
+
806
+ # 现支持的 Value 有:
807
+
808
+ # - desc(降序排序)
809
+ # - asc(升序排序)
810
+ # @type OrderBy: :class:`Tencentcloud::Apm.v20210622.models.OrderBy`
811
+ # @param BusinessName: 业务自身服务名,控制台用户请填写taw
801
812
  # @type BusinessName: String
802
- # @param EndTime: Span查询结束时间戳(单位:秒)
803
- # @type EndTime: Integer
813
+ # @param Limit: 单页项目个数,默认为10000,合法取值范围为0~10000
814
+ # @type Limit: Integer
815
+ # @param Offset: 分页
816
+ # @type Offset: Integer
804
817
 
805
- attr_accessor :Offset, :Limit, :OrderBy, :StartTime, :InstanceId, :Filters, :BusinessName, :EndTime
818
+ attr_accessor :InstanceId, :StartTime, :EndTime, :Filters, :OrderBy, :BusinessName, :Limit, :Offset
806
819
 
807
- def initialize(offset=nil, limit=nil, orderby=nil, starttime=nil, instanceid=nil, filters=nil, businessname=nil, endtime=nil)
808
- @Offset = offset
809
- @Limit = limit
810
- @OrderBy = orderby
811
- @StartTime = starttime
820
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, filters=nil, orderby=nil, businessname=nil, limit=nil, offset=nil)
812
821
  @InstanceId = instanceid
822
+ @StartTime = starttime
823
+ @EndTime = endtime
813
824
  @Filters = filters
825
+ @OrderBy = orderby
814
826
  @BusinessName = businessname
815
- @EndTime = endtime
827
+ @Limit = limit
828
+ @Offset = offset
816
829
  end
817
830
 
818
831
  def deserialize(params)
819
- @Offset = params['Offset']
820
- @Limit = params['Limit']
821
- unless params['OrderBy'].nil?
822
- @OrderBy = OrderBy.new
823
- @OrderBy.deserialize(params['OrderBy'])
824
- end
825
- @StartTime = params['StartTime']
826
832
  @InstanceId = params['InstanceId']
833
+ @StartTime = params['StartTime']
834
+ @EndTime = params['EndTime']
827
835
  unless params['Filters'].nil?
828
836
  @Filters = []
829
837
  params['Filters'].each do |i|
@@ -832,8 +840,13 @@ module TencentCloud
832
840
  @Filters << filter_tmp
833
841
  end
834
842
  end
843
+ unless params['OrderBy'].nil?
844
+ @OrderBy = OrderBy.new
845
+ @OrderBy.deserialize(params['OrderBy'])
846
+ end
835
847
  @BusinessName = params['BusinessName']
836
- @EndTime = params['EndTime']
848
+ @Limit = params['Limit']
849
+ @Offset = params['Offset']
837
850
  end
838
851
  end
839
852
 
@@ -870,63 +883,65 @@ module TencentCloud
870
883
 
871
884
  # DescribeMetricRecords请求参数结构体
872
885
  class DescribeMetricRecordsRequest < TencentCloud::Common::AbstractModel
873
- # @param Filters: 过滤条件
874
- # @type Filters: Array
875
886
  # @param Metrics: 指标列表
876
887
  # @type Metrics: Array
888
+ # @param InstanceId: 业务系统 ID
889
+ # @type InstanceId: String
890
+ # @param StartTime: 开始时间(单位为秒)
891
+ # @type StartTime: Integer
892
+ # @param EndTime: 结束时间(单位为秒)
893
+ # @type EndTime: Integer
894
+ # @param Filters: 过滤条件
895
+ # @type Filters: Array
896
+ # @param OrFilters: Or 过滤条件
897
+ # @type OrFilters: Array
877
898
  # @param GroupBy: 聚合维度
878
899
  # @type GroupBy: Array
879
900
  # @param OrderBy: 排序
901
+ # 现支持的 Key 有:
902
+
903
+ # - startTime(开始时间)
904
+ # - endTime(结束时间)
905
+ # - duration(响应时间)
906
+
907
+ # 现支持的 Value 有:
908
+
909
+ # - desc(降序排序)
910
+ # - asc(升序排序)
880
911
  # @type OrderBy: :class:`Tencentcloud::Apm.v20210622.models.OrderBy`
881
- # @param InstanceId: 业务系统ID
882
- # @type InstanceId: String
883
- # @param Limit: 每页大小
912
+ # @param BusinessName: 业务名称,控制台用户请填写taw。
913
+ # @type BusinessName: String
914
+ # @param Type: 特殊处理查询结果
915
+ # @type Type: String
916
+ # @param Limit: 每页大小,默认为1000,合法取值范围为0~1000
884
917
  # @type Limit: Integer
885
- # @param StartTime: 开始时间
886
- # @type StartTime: Integer
887
918
  # @param Offset: 分页起始点
888
919
  # @type Offset: Integer
889
- # @param EndTime: 结束时间
890
- # @type EndTime: Integer
891
- # @param BusinessName: 业务名称(默认值:taw)
892
- # @type BusinessName: String
893
920
  # @param PageIndex: 页码
894
921
  # @type PageIndex: Integer
895
922
  # @param PageSize: 页长
896
923
  # @type PageSize: Integer
897
- # @param OrFilters: Or过滤条件
898
- # @type OrFilters: Array
899
- # @param Type: 数据来源
900
- # @type Type: String
901
924
 
902
- attr_accessor :Filters, :Metrics, :GroupBy, :OrderBy, :InstanceId, :Limit, :StartTime, :Offset, :EndTime, :BusinessName, :PageIndex, :PageSize, :OrFilters, :Type
925
+ attr_accessor :Metrics, :InstanceId, :StartTime, :EndTime, :Filters, :OrFilters, :GroupBy, :OrderBy, :BusinessName, :Type, :Limit, :Offset, :PageIndex, :PageSize
903
926
 
904
- def initialize(filters=nil, metrics=nil, groupby=nil, orderby=nil, instanceid=nil, limit=nil, starttime=nil, offset=nil, endtime=nil, businessname=nil, pageindex=nil, pagesize=nil, orfilters=nil, type=nil)
905
- @Filters = filters
927
+ def initialize(metrics=nil, instanceid=nil, starttime=nil, endtime=nil, filters=nil, orfilters=nil, groupby=nil, orderby=nil, businessname=nil, type=nil, limit=nil, offset=nil, pageindex=nil, pagesize=nil)
906
928
  @Metrics = metrics
907
- @GroupBy = groupby
908
- @OrderBy = orderby
909
929
  @InstanceId = instanceid
910
- @Limit = limit
911
930
  @StartTime = starttime
912
- @Offset = offset
913
931
  @EndTime = endtime
932
+ @Filters = filters
933
+ @OrFilters = orfilters
934
+ @GroupBy = groupby
935
+ @OrderBy = orderby
914
936
  @BusinessName = businessname
937
+ @Type = type
938
+ @Limit = limit
939
+ @Offset = offset
915
940
  @PageIndex = pageindex
916
941
  @PageSize = pagesize
917
- @OrFilters = orfilters
918
- @Type = type
919
942
  end
920
943
 
921
944
  def deserialize(params)
922
- unless params['Filters'].nil?
923
- @Filters = []
924
- params['Filters'].each do |i|
925
- filter_tmp = Filter.new
926
- filter_tmp.deserialize(i)
927
- @Filters << filter_tmp
928
- end
929
- end
930
945
  unless params['Metrics'].nil?
931
946
  @Metrics = []
932
947
  params['Metrics'].each do |i|
@@ -935,19 +950,17 @@ module TencentCloud
935
950
  @Metrics << querymetricitem_tmp
936
951
  end
937
952
  end
938
- @GroupBy = params['GroupBy']
939
- unless params['OrderBy'].nil?
940
- @OrderBy = OrderBy.new
941
- @OrderBy.deserialize(params['OrderBy'])
942
- end
943
953
  @InstanceId = params['InstanceId']
944
- @Limit = params['Limit']
945
954
  @StartTime = params['StartTime']
946
- @Offset = params['Offset']
947
955
  @EndTime = params['EndTime']
948
- @BusinessName = params['BusinessName']
949
- @PageIndex = params['PageIndex']
950
- @PageSize = params['PageSize']
956
+ unless params['Filters'].nil?
957
+ @Filters = []
958
+ params['Filters'].each do |i|
959
+ filter_tmp = Filter.new
960
+ filter_tmp.deserialize(i)
961
+ @Filters << filter_tmp
962
+ end
963
+ end
951
964
  unless params['OrFilters'].nil?
952
965
  @OrFilters = []
953
966
  params['OrFilters'].each do |i|
@@ -956,7 +969,17 @@ module TencentCloud
956
969
  @OrFilters << filter_tmp
957
970
  end
958
971
  end
972
+ @GroupBy = params['GroupBy']
973
+ unless params['OrderBy'].nil?
974
+ @OrderBy = OrderBy.new
975
+ @OrderBy.deserialize(params['OrderBy'])
976
+ end
977
+ @BusinessName = params['BusinessName']
959
978
  @Type = params['Type']
979
+ @Limit = params['Limit']
980
+ @Offset = params['Offset']
981
+ @PageIndex = params['PageIndex']
982
+ @PageSize = params['PageSize']
960
983
  end
961
984
  end
962
985
 
@@ -993,48 +1016,43 @@ module TencentCloud
993
1016
 
994
1017
  # DescribeServiceOverview请求参数结构体
995
1018
  class DescribeServiceOverviewRequest < TencentCloud::Common::AbstractModel
996
- # @param Filters: 过滤条件
997
- # @type Filters: Array
998
1019
  # @param Metrics: 指标列表
999
1020
  # @type Metrics: Array
1021
+ # @param InstanceId: 业务系统 ID
1022
+ # @type InstanceId: String
1023
+ # @param Filters: 过滤条件
1024
+ # @type Filters: Array
1000
1025
  # @param GroupBy: 聚合维度
1001
1026
  # @type GroupBy: Array
1002
- # @param OrderBy: 排序
1027
+ # @param StartTime: 开始时间(单位:秒)
1028
+ # @type StartTime: Integer
1029
+ # @param EndTime: 结束时间(单位:秒)
1030
+ # @type EndTime: Integer
1031
+ # @param OrderBy: 排序方式
1032
+ # Value 填写:
1033
+ # - asc:对查询指标进行升序排序
1034
+ # - desc:对查询指标进行降序排序
1003
1035
  # @type OrderBy: :class:`Tencentcloud::Apm.v20210622.models.OrderBy`
1004
- # @param InstanceId: 业务系统ID
1005
- # @type InstanceId: String
1006
1036
  # @param Limit: 每页大小
1007
1037
  # @type Limit: Integer
1008
- # @param StartTime: 开始时间
1009
- # @type StartTime: Integer
1010
1038
  # @param Offset: 分页起始点
1011
1039
  # @type Offset: Integer
1012
- # @param EndTime: 结束时间
1013
- # @type EndTime: Integer
1014
1040
 
1015
- attr_accessor :Filters, :Metrics, :GroupBy, :OrderBy, :InstanceId, :Limit, :StartTime, :Offset, :EndTime
1041
+ attr_accessor :Metrics, :InstanceId, :Filters, :GroupBy, :StartTime, :EndTime, :OrderBy, :Limit, :Offset
1016
1042
 
1017
- def initialize(filters=nil, metrics=nil, groupby=nil, orderby=nil, instanceid=nil, limit=nil, starttime=nil, offset=nil, endtime=nil)
1018
- @Filters = filters
1043
+ def initialize(metrics=nil, instanceid=nil, filters=nil, groupby=nil, starttime=nil, endtime=nil, orderby=nil, limit=nil, offset=nil)
1019
1044
  @Metrics = metrics
1045
+ @InstanceId = instanceid
1046
+ @Filters = filters
1020
1047
  @GroupBy = groupby
1048
+ @StartTime = starttime
1049
+ @EndTime = endtime
1021
1050
  @OrderBy = orderby
1022
- @InstanceId = instanceid
1023
1051
  @Limit = limit
1024
- @StartTime = starttime
1025
1052
  @Offset = offset
1026
- @EndTime = endtime
1027
1053
  end
1028
1054
 
1029
1055
  def deserialize(params)
1030
- unless params['Filters'].nil?
1031
- @Filters = []
1032
- params['Filters'].each do |i|
1033
- filter_tmp = Filter.new
1034
- filter_tmp.deserialize(i)
1035
- @Filters << filter_tmp
1036
- end
1037
- end
1038
1056
  unless params['Metrics'].nil?
1039
1057
  @Metrics = []
1040
1058
  params['Metrics'].each do |i|
@@ -1043,16 +1061,24 @@ module TencentCloud
1043
1061
  @Metrics << querymetricitem_tmp
1044
1062
  end
1045
1063
  end
1064
+ @InstanceId = params['InstanceId']
1065
+ unless params['Filters'].nil?
1066
+ @Filters = []
1067
+ params['Filters'].each do |i|
1068
+ filter_tmp = Filter.new
1069
+ filter_tmp.deserialize(i)
1070
+ @Filters << filter_tmp
1071
+ end
1072
+ end
1046
1073
  @GroupBy = params['GroupBy']
1074
+ @StartTime = params['StartTime']
1075
+ @EndTime = params['EndTime']
1047
1076
  unless params['OrderBy'].nil?
1048
1077
  @OrderBy = OrderBy.new
1049
1078
  @OrderBy.deserialize(params['OrderBy'])
1050
1079
  end
1051
- @InstanceId = params['InstanceId']
1052
1080
  @Limit = params['Limit']
1053
- @StartTime = params['StartTime']
1054
1081
  @Offset = params['Offset']
1055
- @EndTime = params['EndTime']
1056
1082
  end
1057
1083
  end
1058
1084
 
@@ -1087,27 +1113,27 @@ module TencentCloud
1087
1113
  class DescribeTagValuesRequest < TencentCloud::Common::AbstractModel
1088
1114
  # @param TagKey: 维度名
1089
1115
  # @type TagKey: String
1090
- # @param InstanceId: 业务系统ID
1116
+ # @param InstanceId: 业务系统 ID
1091
1117
  # @type InstanceId: String
1092
- # @param EndTime: 结束时间
1093
- # @type EndTime: Integer
1094
1118
  # @param Filters: 过滤条件
1095
1119
  # @type Filters: Array
1096
- # @param StartTime: 开始时间
1120
+ # @param StartTime: 开始时间(单位为秒)
1097
1121
  # @type StartTime: Integer
1098
- # @param OrFilters: Or过滤条件
1122
+ # @param EndTime: 结束时间(单位为秒)
1123
+ # @type EndTime: Integer
1124
+ # @param OrFilters: Or 过滤条件
1099
1125
  # @type OrFilters: Array
1100
1126
  # @param Type: 使用类型
1101
1127
  # @type Type: String
1102
1128
 
1103
- attr_accessor :TagKey, :InstanceId, :EndTime, :Filters, :StartTime, :OrFilters, :Type
1129
+ attr_accessor :TagKey, :InstanceId, :Filters, :StartTime, :EndTime, :OrFilters, :Type
1104
1130
 
1105
- def initialize(tagkey=nil, instanceid=nil, endtime=nil, filters=nil, starttime=nil, orfilters=nil, type=nil)
1131
+ def initialize(tagkey=nil, instanceid=nil, filters=nil, starttime=nil, endtime=nil, orfilters=nil, type=nil)
1106
1132
  @TagKey = tagkey
1107
1133
  @InstanceId = instanceid
1108
- @EndTime = endtime
1109
1134
  @Filters = filters
1110
1135
  @StartTime = starttime
1136
+ @EndTime = endtime
1111
1137
  @OrFilters = orfilters
1112
1138
  @Type = type
1113
1139
  end
@@ -1115,7 +1141,6 @@ module TencentCloud
1115
1141
  def deserialize(params)
1116
1142
  @TagKey = params['TagKey']
1117
1143
  @InstanceId = params['InstanceId']
1118
- @EndTime = params['EndTime']
1119
1144
  unless params['Filters'].nil?
1120
1145
  @Filters = []
1121
1146
  params['Filters'].each do |i|
@@ -1125,6 +1150,7 @@ module TencentCloud
1125
1150
  end
1126
1151
  end
1127
1152
  @StartTime = params['StartTime']
1153
+ @EndTime = params['EndTime']
1128
1154
  unless params['OrFilters'].nil?
1129
1155
  @OrFilters = []
1130
1156
  params['OrFilters'].each do |i|
@@ -1262,55 +1288,53 @@ module TencentCloud
1262
1288
 
1263
1289
  # ModifyApmInstance请求参数结构体
1264
1290
  class ModifyApmInstanceRequest < TencentCloud::Common::AbstractModel
1265
- # @param InstanceId: 业务系统ID
1291
+ # @param InstanceId: 业务系统 ID
1266
1292
  # @type InstanceId: String
1267
1293
  # @param Name: 业务系统名
1268
1294
  # @type Name: String
1269
- # @param Tags: 标签列表
1295
+ # @param Tags: Tag 列表
1270
1296
  # @type Tags: Array
1271
- # @param Description: 业务系统详情
1297
+ # @param Description: 业务系统描述
1272
1298
  # @type Description: String
1273
- # @param TraceDuration: Trace数据保存时长
1299
+ # @param TraceDuration: Trace 数据保存时长(单位:天)
1274
1300
  # @type TraceDuration: Integer
1275
1301
  # @param OpenBilling: 是否开启计费
1276
1302
  # @type OpenBilling: Boolean
1277
1303
  # @param SpanDailyCounters: 业务系统上报额度
1278
1304
  # @type SpanDailyCounters: Integer
1279
- # @param ErrRateThreshold: 错误率阈值
1305
+ # @param ErrRateThreshold: 错误率警示线,当应用的平均错误率超出该阈值时,系统会给出异常提示。
1280
1306
  # @type ErrRateThreshold: Integer
1281
- # @param SampleRate: 采样率
1307
+ # @param SampleRate: 采样率(单位:%)
1282
1308
  # @type SampleRate: Integer
1283
- # @param ErrorSample: 是否开启错误采样 0 1
1309
+ # @param ErrorSample: 是否开启错误采样(0=关, 1=开)
1284
1310
  # @type ErrorSample: Integer
1285
- # @param SlowRequestSavedThreshold: 慢请求阈值
1311
+ # @param SlowRequestSavedThreshold: 采样慢调用保存阈值(单位:ms)
1286
1312
  # @type SlowRequestSavedThreshold: Integer
1287
- # @param IsRelatedLog: 是否开启日志功能 0 1
1313
+ # @param IsRelatedLog: 是否开启日志功能(0=关, 1=开)
1288
1314
  # @type IsRelatedLog: Integer
1289
- # @param LogRegion: 日志地域
1315
+ # @param LogRegion: 日志地域,开启日志功能后才会生效
1290
1316
  # @type LogRegion: String
1291
- # @param LogTopicID: CLS日志主题ID | ES 索引名
1317
+ # @param LogTopicID: CLS 日志主题 ID,开启日志功能后才会生效
1292
1318
  # @type LogTopicID: String
1293
- # @param LogSet: CLS日志集 | ES集群ID
1319
+ # @param LogSet: 日志集,开启日志功能后才会生效
1294
1320
  # @type LogSet: String
1295
- # @param LogSource: CLS | ES
1321
+ # @param LogSource: 日志源,开启日志功能后才会生效
1296
1322
  # @type LogSource: String
1297
1323
  # @param CustomShowTags: 用户自定义展示标签列表
1298
1324
  # @type CustomShowTags: Array
1299
- # @param PayMode: 修改计费模式
1300
- # 1为预付费
1301
- # 0为按量付费
1325
+ # @param PayMode: 修改计费模式(1为预付费,0为按量付费)
1302
1326
  # @type PayMode: Integer
1303
- # @param ResponseDurationWarningThreshold: 响应时间满意阈值
1327
+ # @param ResponseDurationWarningThreshold: 响应时间警示线
1304
1328
  # @type ResponseDurationWarningThreshold: Integer
1305
- # @param Free: 0=付费版;1=tsf受限免费版;2=免费版)
1329
+ # @param Free: 是否免费(0=付费版;1=TSF 受限免费版;2=免费版),默认0
1306
1330
  # @type Free: Integer
1307
- # @param IsRelatedDashboard: 是否关联dashboard: 01
1331
+ # @param IsRelatedDashboard: 是否关联 Dashboard(0=关,1=开)
1308
1332
  # @type IsRelatedDashboard: Integer
1309
- # @param DashboardTopicID: dashboard ID
1333
+ # @param DashboardTopicID: 关联的 Dashboard ID,开启关联 Dashboard 后才会生效
1310
1334
  # @type DashboardTopicID: String
1311
- # @param IsSqlInjectionAnalysis: 是否开启SQL注入检测
1335
+ # @param IsSqlInjectionAnalysis: 是否开启 SQL 注入检测(0=关,1=开)
1312
1336
  # @type IsSqlInjectionAnalysis: Integer
1313
- # @param IsInstrumentationVulnerabilityScan: 是否开启组件漏洞检测
1337
+ # @param IsInstrumentationVulnerabilityScan: 是否开启组件漏洞检测(0=关,1=开)
1314
1338
  # @type IsInstrumentationVulnerabilityScan: Integer
1315
1339
 
1316
1340
  attr_accessor :InstanceId, :Name, :Tags, :Description, :TraceDuration, :OpenBilling, :SpanDailyCounters, :ErrRateThreshold, :SampleRate, :ErrorSample, :SlowRequestSavedThreshold, :IsRelatedLog, :LogRegion, :LogTopicID, :LogSet, :LogSource, :CustomShowTags, :PayMode, :ResponseDurationWarningThreshold, :Free, :IsRelatedDashboard, :DashboardTopicID, :IsSqlInjectionAnalysis, :IsInstrumentationVulnerabilityScan
@@ -1445,11 +1469,11 @@ module TencentCloud
1445
1469
  end
1446
1470
  end
1447
1471
 
1448
- # sql排序字段
1472
+ # 排序字段
1449
1473
  class OrderBy < TencentCloud::Common::AbstractModel
1450
- # @param Key: 需要排序的字段
1474
+ # @param Key: 需要排序的字段,现支持 startTIme, endTime, duration
1451
1475
  # @type Key: String
1452
- # @param Value: 顺序排序/倒序排序
1476
+ # @param Value: asc 顺序排序 / desc 倒序排序
1453
1477
  # @type Value: String
1454
1478
 
1455
1479
  attr_accessor :Key, :Value
@@ -1469,23 +1493,23 @@ module TencentCloud
1469
1493
  class QueryMetricItem < TencentCloud::Common::AbstractModel
1470
1494
  # @param MetricName: 指标名
1471
1495
  # @type MetricName: String
1496
+ # @param Compares: 同比,现支持 CompareByYesterday (与昨天相比)和CompareByLastWeek (与上周相比)
1497
+ # @type Compares: Array
1472
1498
  # @param Compare: 同比,已弃用,不建议使用
1473
1499
  # @type Compare: String
1474
- # @param Compares: 同比,支持多种同比方式
1475
- # @type Compares: Array
1476
1500
 
1477
- attr_accessor :MetricName, :Compare, :Compares
1501
+ attr_accessor :MetricName, :Compares, :Compare
1478
1502
 
1479
- def initialize(metricname=nil, compare=nil, compares=nil)
1503
+ def initialize(metricname=nil, compares=nil, compare=nil)
1480
1504
  @MetricName = metricname
1481
- @Compare = compare
1482
1505
  @Compares = compares
1506
+ @Compare = compare
1483
1507
  end
1484
1508
 
1485
1509
  def deserialize(params)
1486
1510
  @MetricName = params['MetricName']
1487
- @Compare = params['Compare']
1488
1511
  @Compares = params['Compares']
1512
+ @Compare = params['Compare']
1489
1513
  end
1490
1514
  end
1491
1515
 
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.983
4
+ version: 3.0.985
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-01-15 00:00:00.000000000 Z
11
+ date: 2025-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common