tencentcloud-sdk-antiddos 3.0.620 → 3.0.622

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: e155d304c58777b84ce8b2d6954ccc5fc7f66158
4
- data.tar.gz: f1949daa516f0897a116153e7544b7925705e614
3
+ metadata.gz: 700f90d4436bc9b5e000d226c4c882f39154d830
4
+ data.tar.gz: 8209aa2182b717ed5a40347fba302c7a9b875140
5
5
  SHA512:
6
- metadata.gz: cc418202dfba2d51ce5764722836aece091e37fc42bcac7f2d0df4debf66d9a5ee950d8622c14f61fa29936f67476c28016e5845c9a74b6c1509316cd1430658
7
- data.tar.gz: 1a8257c9ee058b766c2fe1a02673d173d2899df2cf5c990c49d8b34fa2bc4f97bc02c75139d867c914241292d67e21db1bdb95b70a52b9fde94c5d58414441ce
6
+ metadata.gz: fe5258a4b8f463aa06dd22990f4a3c19ca4317e5464f517dacb6e9b3ae5a25322006c6e3181ca24c7cc4eb4f49b8dcd71e2791c57bbcfa51449d014a60fa3f65
7
+ data.tar.gz: e8a220a6b940f5e18e5dfb0c1150d3cca07203e485bf3acc733b7d6aaa19e93e91e1ff31b7af55f67639b44e1fcbb91918dc302ec55431556e22c64069511d85
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.620
1
+ 3.0.622
@@ -989,6 +989,30 @@ module TencentCloud
989
989
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
990
990
  end
991
991
 
992
+ # 获取高防IP业务监控流量曲线
993
+
994
+ # @param request: Request instance for DescribeBizMonitorTrend.
995
+ # @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeBizMonitorTrendRequest`
996
+ # @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeBizMonitorTrendResponse`
997
+ def DescribeBizMonitorTrend(request)
998
+ body = send_request('DescribeBizMonitorTrend', request.serialize)
999
+ response = JSON.parse(body)
1000
+ if response['Response'].key?('Error') == false
1001
+ model = DescribeBizMonitorTrendResponse.new
1002
+ model.deserialize(response['Response'])
1003
+ model
1004
+ else
1005
+ code = response['Response']['Error']['Code']
1006
+ message = response['Response']['Error']['Message']
1007
+ reqid = response['Response']['RequestId']
1008
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1009
+ end
1010
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1011
+ raise e
1012
+ rescue StandardError => e
1013
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1014
+ end
1015
+
992
1016
  # 获取业务流量曲线
993
1017
 
994
1018
  # @param request: Request instance for DescribeBizTrend.
@@ -3183,6 +3183,71 @@ module TencentCloud
3183
3183
  end
3184
3184
  end
3185
3185
 
3186
+ # DescribeBizMonitorTrend请求参数结构体
3187
+ class DescribeBizMonitorTrendRequest < TencentCloud::Common::AbstractModel
3188
+ # @param Business: 大禹子产品代号(bgpip表示高防IP)
3189
+ # @type Business: String
3190
+ # @param StartTime: 统计开始时间。 例:“2020-09-22 00:00:00”
3191
+ # @type StartTime: String
3192
+ # @param EndTime: 统计结束时间。 例:“2020-09-22 00:00:00”
3193
+ # @type EndTime: String
3194
+ # @param Id: 资源实例ID
3195
+ # @type Id: String
3196
+ # @param MetricName: 统计纬度,可取值intraffic outtraffic inpkg outpkg
3197
+ # @type MetricName: String
3198
+ # @param Period: 时间粒度 60 300 3600 21600 86400
3199
+ # @type Period: Integer
3200
+
3201
+ attr_accessor :Business, :StartTime, :EndTime, :Id, :MetricName, :Period
3202
+
3203
+ def initialize(business=nil, starttime=nil, endtime=nil, id=nil, metricname=nil, period=nil)
3204
+ @Business = business
3205
+ @StartTime = starttime
3206
+ @EndTime = endtime
3207
+ @Id = id
3208
+ @MetricName = metricname
3209
+ @Period = period
3210
+ end
3211
+
3212
+ def deserialize(params)
3213
+ @Business = params['Business']
3214
+ @StartTime = params['StartTime']
3215
+ @EndTime = params['EndTime']
3216
+ @Id = params['Id']
3217
+ @MetricName = params['MetricName']
3218
+ @Period = params['Period']
3219
+ end
3220
+ end
3221
+
3222
+ # DescribeBizMonitorTrend返回参数结构体
3223
+ class DescribeBizMonitorTrendResponse < TencentCloud::Common::AbstractModel
3224
+ # @param DataList: 曲线图各个时间点的值
3225
+ # @type DataList: Array
3226
+ # @param MetricName: 统计纬度
3227
+ # @type MetricName: String
3228
+ # @param MaxData: 返回DataList中的最大值
3229
+ # 注意:此字段可能返回 null,表示取不到有效值。
3230
+ # @type MaxData: Integer
3231
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3232
+ # @type RequestId: String
3233
+
3234
+ attr_accessor :DataList, :MetricName, :MaxData, :RequestId
3235
+
3236
+ def initialize(datalist=nil, metricname=nil, maxdata=nil, requestid=nil)
3237
+ @DataList = datalist
3238
+ @MetricName = metricname
3239
+ @MaxData = maxdata
3240
+ @RequestId = requestid
3241
+ end
3242
+
3243
+ def deserialize(params)
3244
+ @DataList = params['DataList']
3245
+ @MetricName = params['MetricName']
3246
+ @MaxData = params['MaxData']
3247
+ @RequestId = params['RequestId']
3248
+ end
3249
+ end
3250
+
3186
3251
  # DescribeBizTrend请求参数结构体
3187
3252
  class DescribeBizTrendRequest < TencentCloud::Common::AbstractModel
3188
3253
  # @param Statistics: 统计方式,可取值max, min, avg, sum, 如统计纬度是流量速率或包量速率,仅可取值max
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-antiddos
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.620
4
+ version: 3.0.622
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-25 00:00:00.000000000 Z
11
+ date: 2023-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common