tencentcloud-sdk-pts 3.0.410 → 3.0.412
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/v20210728/models.rb +181 -14
- 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: 9611c9f5c219268f1e44a2e27795a0bf8526c6ac
|
4
|
+
data.tar.gz: f0ad0c9edfb9ee10637197305ef2f8db6ab70c91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34fe8642dd29c1a0c247f5098d16cc939db2352d920278a1c2993351eaee02577003dd97673ffcde2bf870b379d18547447081f748c92a049b56d76c8d8fa29c
|
7
|
+
data.tar.gz: 80ce2f8629c116f84428118e4c7e62a44d66a6d9cf3ce6d9bf47a0783005ad7f135eed056d9d3d95f676aa7f3d8e2a86412a887c12df42354804c1e8cecdf88e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.412
|
data/lib/v20210728/models.rb
CHANGED
@@ -199,16 +199,28 @@ module TencentCloud
|
|
199
199
|
# @param UpdatedAt: 更新时间
|
200
200
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
201
201
|
# @type UpdatedAt: String
|
202
|
+
# @param AppId: App ID
|
203
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
204
|
+
# @type AppId: Integer
|
205
|
+
# @param Uin: 主账号
|
206
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
207
|
+
# @type Uin: String
|
208
|
+
# @param SubAccountUin: 子账号
|
209
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
210
|
+
# @type SubAccountUin: String
|
202
211
|
|
203
|
-
attr_accessor :NoticeId, :AMPConsumerId, :ProjectId, :Status, :CreatedAt, :UpdatedAt
|
212
|
+
attr_accessor :NoticeId, :AMPConsumerId, :ProjectId, :Status, :CreatedAt, :UpdatedAt, :AppId, :Uin, :SubAccountUin
|
204
213
|
|
205
|
-
def initialize(noticeid=nil, ampconsumerid=nil, projectid=nil, status=nil, createdat=nil, updatedat=nil)
|
214
|
+
def initialize(noticeid=nil, ampconsumerid=nil, projectid=nil, status=nil, createdat=nil, updatedat=nil, appid=nil, uin=nil, subaccountuin=nil)
|
206
215
|
@NoticeId = noticeid
|
207
216
|
@AMPConsumerId = ampconsumerid
|
208
217
|
@ProjectId = projectid
|
209
218
|
@Status = status
|
210
219
|
@CreatedAt = createdat
|
211
220
|
@UpdatedAt = updatedat
|
221
|
+
@AppId = appid
|
222
|
+
@Uin = uin
|
223
|
+
@SubAccountUin = subaccountuin
|
212
224
|
end
|
213
225
|
|
214
226
|
def deserialize(params)
|
@@ -218,6 +230,9 @@ module TencentCloud
|
|
218
230
|
@Status = params['Status']
|
219
231
|
@CreatedAt = params['CreatedAt']
|
220
232
|
@UpdatedAt = params['UpdatedAt']
|
233
|
+
@AppId = params['AppId']
|
234
|
+
@Uin = params['Uin']
|
235
|
+
@SubAccountUin = params['SubAccountUin']
|
221
236
|
end
|
222
237
|
end
|
223
238
|
|
@@ -244,10 +259,31 @@ module TencentCloud
|
|
244
259
|
# @param JobId: 任务 ID
|
245
260
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
246
261
|
# @type JobId: String
|
262
|
+
# @param AppId: App ID
|
263
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
264
|
+
# @type AppId: Integer
|
265
|
+
# @param Uin: 主账号
|
266
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
267
|
+
# @type Uin: String
|
268
|
+
# @param SubAccountUin: 子账号
|
269
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
270
|
+
# @type SubAccountUin: String
|
271
|
+
# @param ScenarioName: 场景名称
|
272
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
273
|
+
# @type ScenarioName: String
|
274
|
+
# @param Target: 告警对象
|
275
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
276
|
+
# @type Target: String
|
277
|
+
# @param JobSLAId: 告警规则 ID
|
278
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
279
|
+
# @type JobSLAId: String
|
280
|
+
# @param JobSLADescription: 告警规则描述
|
281
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
282
|
+
# @type JobSLADescription: String
|
247
283
|
|
248
|
-
attr_accessor :AlertRecordId, :ProjectId, :ScenarioId, :Status, :CreatedAt, :UpdatedAt, :JobId
|
284
|
+
attr_accessor :AlertRecordId, :ProjectId, :ScenarioId, :Status, :CreatedAt, :UpdatedAt, :JobId, :AppId, :Uin, :SubAccountUin, :ScenarioName, :Target, :JobSLAId, :JobSLADescription
|
249
285
|
|
250
|
-
def initialize(alertrecordid=nil, projectid=nil, scenarioid=nil, status=nil, createdat=nil, updatedat=nil, jobid=nil)
|
286
|
+
def initialize(alertrecordid=nil, projectid=nil, scenarioid=nil, status=nil, createdat=nil, updatedat=nil, jobid=nil, appid=nil, uin=nil, subaccountuin=nil, scenarioname=nil, target=nil, jobslaid=nil, jobsladescription=nil)
|
251
287
|
@AlertRecordId = alertrecordid
|
252
288
|
@ProjectId = projectid
|
253
289
|
@ScenarioId = scenarioid
|
@@ -255,6 +291,13 @@ module TencentCloud
|
|
255
291
|
@CreatedAt = createdat
|
256
292
|
@UpdatedAt = updatedat
|
257
293
|
@JobId = jobid
|
294
|
+
@AppId = appid
|
295
|
+
@Uin = uin
|
296
|
+
@SubAccountUin = subaccountuin
|
297
|
+
@ScenarioName = scenarioname
|
298
|
+
@Target = target
|
299
|
+
@JobSLAId = jobslaid
|
300
|
+
@JobSLADescription = jobsladescription
|
258
301
|
end
|
259
302
|
|
260
303
|
def deserialize(params)
|
@@ -268,6 +311,13 @@ module TencentCloud
|
|
268
311
|
@CreatedAt = params['CreatedAt']
|
269
312
|
@UpdatedAt = params['UpdatedAt']
|
270
313
|
@JobId = params['JobId']
|
314
|
+
@AppId = params['AppId']
|
315
|
+
@Uin = params['Uin']
|
316
|
+
@SubAccountUin = params['SubAccountUin']
|
317
|
+
@ScenarioName = params['ScenarioName']
|
318
|
+
@Target = params['Target']
|
319
|
+
@JobSLAId = params['JobSLAId']
|
320
|
+
@JobSLADescription = params['JobSLADescription']
|
271
321
|
end
|
272
322
|
end
|
273
323
|
|
@@ -897,10 +947,19 @@ module TencentCloud
|
|
897
947
|
# @param JobOwner: tom
|
898
948
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
899
949
|
# @type JobOwner: String
|
950
|
+
# @param AppId: App ID
|
951
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
952
|
+
# @type AppId: Integer
|
953
|
+
# @param Uin: 主账号
|
954
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
955
|
+
# @type Uin: String
|
956
|
+
# @param SubAccountUin: 子账号
|
957
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
958
|
+
# @type SubAccountUin: String
|
900
959
|
|
901
|
-
attr_accessor :CronJobId, :Name, :ProjectId, :ScenarioId, :ScenarioName, :CronExpression, :EndTime, :AbortReason, :Status, :NoticeId, :CreatedAt, :UpdatedAt, :FrequencyType, :Note, :JobOwner
|
960
|
+
attr_accessor :CronJobId, :Name, :ProjectId, :ScenarioId, :ScenarioName, :CronExpression, :EndTime, :AbortReason, :Status, :NoticeId, :CreatedAt, :UpdatedAt, :FrequencyType, :Note, :JobOwner, :AppId, :Uin, :SubAccountUin
|
902
961
|
|
903
|
-
def initialize(cronjobid=nil, name=nil, projectid=nil, scenarioid=nil, scenarioname=nil, cronexpression=nil, endtime=nil, abortreason=nil, status=nil, noticeid=nil, createdat=nil, updatedat=nil, frequencytype=nil, note=nil, jobowner=nil)
|
962
|
+
def initialize(cronjobid=nil, name=nil, projectid=nil, scenarioid=nil, scenarioname=nil, cronexpression=nil, endtime=nil, abortreason=nil, status=nil, noticeid=nil, createdat=nil, updatedat=nil, frequencytype=nil, note=nil, jobowner=nil, appid=nil, uin=nil, subaccountuin=nil)
|
904
963
|
@CronJobId = cronjobid
|
905
964
|
@Name = name
|
906
965
|
@ProjectId = projectid
|
@@ -916,6 +975,9 @@ module TencentCloud
|
|
916
975
|
@FrequencyType = frequencytype
|
917
976
|
@Note = note
|
918
977
|
@JobOwner = jobowner
|
978
|
+
@AppId = appid
|
979
|
+
@Uin = uin
|
980
|
+
@SubAccountUin = subaccountuin
|
919
981
|
end
|
920
982
|
|
921
983
|
def deserialize(params)
|
@@ -934,6 +996,9 @@ module TencentCloud
|
|
934
996
|
@FrequencyType = params['FrequencyType']
|
935
997
|
@Note = params['Note']
|
936
998
|
@JobOwner = params['JobOwner']
|
999
|
+
@AppId = params['AppId']
|
1000
|
+
@Uin = params['Uin']
|
1001
|
+
@SubAccountUin = params['SubAccountUin']
|
937
1002
|
end
|
938
1003
|
end
|
939
1004
|
|
@@ -1814,6 +1879,7 @@ module TencentCloud
|
|
1814
1879
|
# DescribeMetricLabelWithValues返回参数结构体
|
1815
1880
|
class DescribeMetricLabelWithValuesResponse < TencentCloud::Common::AbstractModel
|
1816
1881
|
# @param MetricLabelWithValuesSet: 指标所有的label和values数组
|
1882
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1817
1883
|
# @type MetricLabelWithValuesSet: Array
|
1818
1884
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1819
1885
|
# @type RequestId: String
|
@@ -2718,10 +2784,16 @@ module TencentCloud
|
|
2718
2784
|
# @param Status: 文件状态
|
2719
2785
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2720
2786
|
# @type Status: Integer
|
2787
|
+
# @param CreatedAt: 创建时间
|
2788
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2789
|
+
# @type CreatedAt: String
|
2790
|
+
# @param ProjectId: 项目 ID
|
2791
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2792
|
+
# @type ProjectId: String
|
2721
2793
|
|
2722
|
-
attr_accessor :FileId, :Kind, :Name, :Size, :Type, :UpdatedAt, :LineCount, :HeadLines, :TailLines, :HeaderInFile, :HeaderColumns, :FileInfos, :ScenarioSet, :Status
|
2794
|
+
attr_accessor :FileId, :Kind, :Name, :Size, :Type, :UpdatedAt, :LineCount, :HeadLines, :TailLines, :HeaderInFile, :HeaderColumns, :FileInfos, :ScenarioSet, :Status, :CreatedAt, :ProjectId
|
2723
2795
|
|
2724
|
-
def initialize(fileid=nil, kind=nil, name=nil, size=nil, type=nil, updatedat=nil, linecount=nil, headlines=nil, taillines=nil, headerinfile=nil, headercolumns=nil, fileinfos=nil, scenarioset=nil, status=nil)
|
2796
|
+
def initialize(fileid=nil, kind=nil, name=nil, size=nil, type=nil, updatedat=nil, linecount=nil, headlines=nil, taillines=nil, headerinfile=nil, headercolumns=nil, fileinfos=nil, scenarioset=nil, status=nil, createdat=nil, projectid=nil)
|
2725
2797
|
@FileId = fileid
|
2726
2798
|
@Kind = kind
|
2727
2799
|
@Name = name
|
@@ -2736,6 +2808,8 @@ module TencentCloud
|
|
2736
2808
|
@FileInfos = fileinfos
|
2737
2809
|
@ScenarioSet = scenarioset
|
2738
2810
|
@Status = status
|
2811
|
+
@CreatedAt = createdat
|
2812
|
+
@ProjectId = projectid
|
2739
2813
|
end
|
2740
2814
|
|
2741
2815
|
def deserialize(params)
|
@@ -2767,6 +2841,8 @@ module TencentCloud
|
|
2767
2841
|
end
|
2768
2842
|
end
|
2769
2843
|
@Status = params['Status']
|
2844
|
+
@CreatedAt = params['CreatedAt']
|
2845
|
+
@ProjectId = params['ProjectId']
|
2770
2846
|
end
|
2771
2847
|
end
|
2772
2848
|
|
@@ -3071,10 +3147,31 @@ module TencentCloud
|
|
3071
3147
|
# @param CronId: 定时任务ID
|
3072
3148
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3073
3149
|
# @type CronId: String
|
3150
|
+
# @param Type: 场景类型
|
3151
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3152
|
+
# @type Type: String
|
3153
|
+
# @param DomainNameConfig: 域名绑定配置
|
3154
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3155
|
+
# @type DomainNameConfig: :class:`Tencentcloud::Pts.v20210728.models.DomainNameConfig`
|
3156
|
+
# @param Debug: false
|
3157
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3158
|
+
# @type Debug: Boolean
|
3159
|
+
# @param AbortReason: 中断原因
|
3160
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3161
|
+
# @type AbortReason: Integer
|
3162
|
+
# @param CreatedAt: 任务的创建时间
|
3163
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3164
|
+
# @type CreatedAt: String
|
3165
|
+
# @param ProjectId: 项目ID
|
3166
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3167
|
+
# @type ProjectId: String
|
3168
|
+
# @param NotificationHooks: 通知事件回调
|
3169
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3170
|
+
# @type NotificationHooks: Array
|
3074
3171
|
|
3075
|
-
attr_accessor :JobId, :ScenarioId, :Load, :Configs, :Datasets, :Extensions, :Status, :StartTime, :EndTime, :MaxVirtualUserCount, :Note, :ErrorRate, :JobOwner, :LoadSources, :Duration, :MaxRequestsPerSecond, :RequestTotal, :RequestsPerSecond, :ResponseTimeAverage, :ResponseTimeP99, :ResponseTimeP95, :ResponseTimeP90, :Scripts, :ResponseTimeMax, :ResponseTimeMin, :LoadSourceInfos, :TestScripts, :Protocols, :RequestFiles, :Plugins, :CronId
|
3172
|
+
attr_accessor :JobId, :ScenarioId, :Load, :Configs, :Datasets, :Extensions, :Status, :StartTime, :EndTime, :MaxVirtualUserCount, :Note, :ErrorRate, :JobOwner, :LoadSources, :Duration, :MaxRequestsPerSecond, :RequestTotal, :RequestsPerSecond, :ResponseTimeAverage, :ResponseTimeP99, :ResponseTimeP95, :ResponseTimeP90, :Scripts, :ResponseTimeMax, :ResponseTimeMin, :LoadSourceInfos, :TestScripts, :Protocols, :RequestFiles, :Plugins, :CronId, :Type, :DomainNameConfig, :Debug, :AbortReason, :CreatedAt, :ProjectId, :NotificationHooks
|
3076
3173
|
|
3077
|
-
def initialize(jobid=nil, scenarioid=nil, load=nil, configs=nil, datasets=nil, extensions=nil, status=nil, starttime=nil, endtime=nil, maxvirtualusercount=nil, note=nil, errorrate=nil, jobowner=nil, loadsources=nil, duration=nil, maxrequestspersecond=nil, requesttotal=nil, requestspersecond=nil, responsetimeaverage=nil, responsetimep99=nil, responsetimep95=nil, responsetimep90=nil, scripts=nil, responsetimemax=nil, responsetimemin=nil, loadsourceinfos=nil, testscripts=nil, protocols=nil, requestfiles=nil, plugins=nil, cronid=nil)
|
3174
|
+
def initialize(jobid=nil, scenarioid=nil, load=nil, configs=nil, datasets=nil, extensions=nil, status=nil, starttime=nil, endtime=nil, maxvirtualusercount=nil, note=nil, errorrate=nil, jobowner=nil, loadsources=nil, duration=nil, maxrequestspersecond=nil, requesttotal=nil, requestspersecond=nil, responsetimeaverage=nil, responsetimep99=nil, responsetimep95=nil, responsetimep90=nil, scripts=nil, responsetimemax=nil, responsetimemin=nil, loadsourceinfos=nil, testscripts=nil, protocols=nil, requestfiles=nil, plugins=nil, cronid=nil, type=nil, domainnameconfig=nil, debug=nil, abortreason=nil, createdat=nil, projectid=nil, notificationhooks=nil)
|
3078
3175
|
@JobId = jobid
|
3079
3176
|
@ScenarioId = scenarioid
|
3080
3177
|
@Load = load
|
@@ -3106,6 +3203,13 @@ module TencentCloud
|
|
3106
3203
|
@RequestFiles = requestfiles
|
3107
3204
|
@Plugins = plugins
|
3108
3205
|
@CronId = cronid
|
3206
|
+
@Type = type
|
3207
|
+
@DomainNameConfig = domainnameconfig
|
3208
|
+
@Debug = debug
|
3209
|
+
@AbortReason = abortreason
|
3210
|
+
@CreatedAt = createdat
|
3211
|
+
@ProjectId = projectid
|
3212
|
+
@NotificationHooks = notificationhooks
|
3109
3213
|
end
|
3110
3214
|
|
3111
3215
|
def deserialize(params)
|
@@ -3188,6 +3292,23 @@ module TencentCloud
|
|
3188
3292
|
end
|
3189
3293
|
end
|
3190
3294
|
@CronId = params['CronId']
|
3295
|
+
@Type = params['Type']
|
3296
|
+
unless params['DomainNameConfig'].nil?
|
3297
|
+
@DomainNameConfig = DomainNameConfig.new
|
3298
|
+
@DomainNameConfig.deserialize(params['DomainNameConfig'])
|
3299
|
+
end
|
3300
|
+
@Debug = params['Debug']
|
3301
|
+
@AbortReason = params['AbortReason']
|
3302
|
+
@CreatedAt = params['CreatedAt']
|
3303
|
+
@ProjectId = params['ProjectId']
|
3304
|
+
unless params['NotificationHooks'].nil?
|
3305
|
+
@NotificationHooks = []
|
3306
|
+
params['NotificationHooks'].each do |i|
|
3307
|
+
notificationhook_tmp = NotificationHook.new
|
3308
|
+
notificationhook_tmp.deserialize(i)
|
3309
|
+
@NotificationHooks << notificationhook_tmp
|
3310
|
+
end
|
3311
|
+
end
|
3191
3312
|
end
|
3192
3313
|
end
|
3193
3314
|
|
@@ -3456,6 +3577,28 @@ module TencentCloud
|
|
3456
3577
|
end
|
3457
3578
|
end
|
3458
3579
|
|
3580
|
+
# 事件通知回调
|
3581
|
+
class NotificationHook < TencentCloud::Common::AbstractModel
|
3582
|
+
# @param Events: 通知事件
|
3583
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3584
|
+
# @type Events: Array
|
3585
|
+
# @param URL: 回调 URL
|
3586
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3587
|
+
# @type URL: String
|
3588
|
+
|
3589
|
+
attr_accessor :Events, :URL
|
3590
|
+
|
3591
|
+
def initialize(events=nil, url=nil)
|
3592
|
+
@Events = events
|
3593
|
+
@URL = url
|
3594
|
+
end
|
3595
|
+
|
3596
|
+
def deserialize(params)
|
3597
|
+
@Events = params['Events']
|
3598
|
+
@URL = params['URL']
|
3599
|
+
end
|
3600
|
+
end
|
3601
|
+
|
3459
3602
|
# 项目
|
3460
3603
|
class Project < TencentCloud::Common::AbstractModel
|
3461
3604
|
# @param ProjectId: 项目ID
|
@@ -3638,10 +3781,16 @@ module TencentCloud
|
|
3638
3781
|
# @type Max: Float
|
3639
3782
|
# @param ErrorPercentage: 请求错误率
|
3640
3783
|
# @type ErrorPercentage: Float
|
3784
|
+
# @param P99: 请求p99耗时,单位秒
|
3785
|
+
# @type P99: Float
|
3786
|
+
# @param Status: 响应状态码
|
3787
|
+
# @type Status: String
|
3788
|
+
# @param Result: 响应详情
|
3789
|
+
# @type Result: String
|
3641
3790
|
|
3642
|
-
attr_accessor :Service, :Method, :Count, :Average, :P90, :P95, :Min, :Max, :ErrorPercentage
|
3791
|
+
attr_accessor :Service, :Method, :Count, :Average, :P90, :P95, :Min, :Max, :ErrorPercentage, :P99, :Status, :Result
|
3643
3792
|
|
3644
|
-
def initialize(service=nil, method=nil, count=nil, average=nil, p90=nil, p95=nil, min=nil, max=nil, errorpercentage=nil)
|
3793
|
+
def initialize(service=nil, method=nil, count=nil, average=nil, p90=nil, p95=nil, min=nil, max=nil, errorpercentage=nil, p99=nil, status=nil, result=nil)
|
3645
3794
|
@Service = service
|
3646
3795
|
@Method = method
|
3647
3796
|
@Count = count
|
@@ -3651,6 +3800,9 @@ module TencentCloud
|
|
3651
3800
|
@Min = min
|
3652
3801
|
@Max = max
|
3653
3802
|
@ErrorPercentage = errorpercentage
|
3803
|
+
@P99 = p99
|
3804
|
+
@Status = status
|
3805
|
+
@Result = result
|
3654
3806
|
end
|
3655
3807
|
|
3656
3808
|
def deserialize(params)
|
@@ -3663,6 +3815,9 @@ module TencentCloud
|
|
3663
3815
|
@Min = params['Min']
|
3664
3816
|
@Max = params['Max']
|
3665
3817
|
@ErrorPercentage = params['ErrorPercentage']
|
3818
|
+
@P99 = params['P99']
|
3819
|
+
@Status = params['Status']
|
3820
|
+
@Result = params['Result']
|
3666
3821
|
end
|
3667
3822
|
end
|
3668
3823
|
|
@@ -4012,10 +4167,13 @@ module TencentCloud
|
|
4012
4167
|
# @param DomainNameConfig: 域名解析配置
|
4013
4168
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4014
4169
|
# @type DomainNameConfig: :class:`Tencentcloud::Pts.v20210728.models.DomainNameConfig`
|
4170
|
+
# @param NotificationHooks: 通知事件回调
|
4171
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4172
|
+
# @type NotificationHooks: Array
|
4015
4173
|
|
4016
|
-
attr_accessor :ScenarioId, :Name, :Description, :Type, :Status, :Load, :EncodedScripts, :Configs, :Extensions, :Datasets, :SLAId, :CronId, :CreatedAt, :UpdatedAt, :ProjectId, :AppId, :Uin, :SubAccountUin, :TestScripts, :Protocols, :RequestFiles, :SLAPolicy, :Plugins, :DomainNameConfig
|
4174
|
+
attr_accessor :ScenarioId, :Name, :Description, :Type, :Status, :Load, :EncodedScripts, :Configs, :Extensions, :Datasets, :SLAId, :CronId, :CreatedAt, :UpdatedAt, :ProjectId, :AppId, :Uin, :SubAccountUin, :TestScripts, :Protocols, :RequestFiles, :SLAPolicy, :Plugins, :DomainNameConfig, :NotificationHooks
|
4017
4175
|
|
4018
|
-
def initialize(scenarioid=nil, name=nil, description=nil, type=nil, status=nil, load=nil, encodedscripts=nil, configs=nil, extensions=nil, datasets=nil, slaid=nil, cronid=nil, createdat=nil, updatedat=nil, projectid=nil, appid=nil, uin=nil, subaccountuin=nil, testscripts=nil, protocols=nil, requestfiles=nil, slapolicy=nil, plugins=nil, domainnameconfig=nil)
|
4176
|
+
def initialize(scenarioid=nil, name=nil, description=nil, type=nil, status=nil, load=nil, encodedscripts=nil, configs=nil, extensions=nil, datasets=nil, slaid=nil, cronid=nil, createdat=nil, updatedat=nil, projectid=nil, appid=nil, uin=nil, subaccountuin=nil, testscripts=nil, protocols=nil, requestfiles=nil, slapolicy=nil, plugins=nil, domainnameconfig=nil, notificationhooks=nil)
|
4019
4177
|
@ScenarioId = scenarioid
|
4020
4178
|
@Name = name
|
4021
4179
|
@Description = description
|
@@ -4040,6 +4198,7 @@ module TencentCloud
|
|
4040
4198
|
@SLAPolicy = slapolicy
|
4041
4199
|
@Plugins = plugins
|
4042
4200
|
@DomainNameConfig = domainnameconfig
|
4201
|
+
@NotificationHooks = notificationhooks
|
4043
4202
|
end
|
4044
4203
|
|
4045
4204
|
def deserialize(params)
|
@@ -4111,6 +4270,14 @@ module TencentCloud
|
|
4111
4270
|
@DomainNameConfig = DomainNameConfig.new
|
4112
4271
|
@DomainNameConfig.deserialize(params['DomainNameConfig'])
|
4113
4272
|
end
|
4273
|
+
unless params['NotificationHooks'].nil?
|
4274
|
+
@NotificationHooks = []
|
4275
|
+
params['NotificationHooks'].each do |i|
|
4276
|
+
notificationhook_tmp = NotificationHook.new
|
4277
|
+
notificationhook_tmp.deserialize(i)
|
4278
|
+
@NotificationHooks << notificationhook_tmp
|
4279
|
+
end
|
4280
|
+
end
|
4114
4281
|
end
|
4115
4282
|
end
|
4116
4283
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-pts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.412
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|