tencentcloud-sdk-teo 3.0.495 → 3.0.497

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: 7e355a3eee201c5cf6a924d9b717e5b20a075823
4
- data.tar.gz: 1211a8233f3e83ed4b86e0ceb4d29f29bbcfafc3
3
+ metadata.gz: fdc440e2731138038ea8f89cbfe367a4b16ceb4c
4
+ data.tar.gz: 0904b70fca24c2bd78babe06f020e61dc483fb3e
5
5
  SHA512:
6
- metadata.gz: e1426b0cc3a722586fe5c9bd528f5f38f82664d2a785d3be8f8b23e1d7ab6c70714ba0b61f267edbd7b088334250db589d3ea42cce324a144ae2f438cee9bfc9
7
- data.tar.gz: 8fbedcdc828cff751f637d5c9c6735e28887fd3a06fe445fe6cf037e25ada2748ee406b53cca0b94f644239758bd590af91eee02e3fc4d49239b90e40b98c434
6
+ metadata.gz: de8d41ebb87c783a92751be5c6c2dfcc3b00bf23161cc4b4867cb6ce3c82eb2964874a4a1b47f9934bb7b2770631b8a0e26b423a9d6d4fdd8423354ab6a81cb1
7
+ data.tar.gz: 7f63324ae3cc5eb231d0e361ef19ffb7d75be42a86bf9080f38136da57849ab1b8dd0cd82d63644ef4bb2362528827ab370245c061b1a29b6882f4e7fbb65016
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.495
1
+ 3.0.497
@@ -1181,6 +1181,30 @@ module TencentCloud
1181
1181
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1182
1182
  end
1183
1183
 
1184
+ # 本接口(DescribeTimingL7SourceData)查询七层回源分析时序数据。
1185
+
1186
+ # @param request: Request instance for DescribeTimingL7SourceData.
1187
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeTimingL7SourceDataRequest`
1188
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeTimingL7SourceDataResponse`
1189
+ def DescribeTimingL7SourceData(request)
1190
+ body = send_request('DescribeTimingL7SourceData', request.serialize)
1191
+ response = JSON.parse(body)
1192
+ if response['Response'].key?('Error') == false
1193
+ model = DescribeTimingL7SourceDataResponse.new
1194
+ model.deserialize(response['Response'])
1195
+ model
1196
+ else
1197
+ code = response['Response']['Error']['Code']
1198
+ message = response['Response']['Error']['Message']
1199
+ reqid = response['Response']['RequestId']
1200
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1201
+ end
1202
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1203
+ raise e
1204
+ rescue StandardError => e
1205
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1206
+ end
1207
+
1184
1208
  # 本接口(DescribeTopL7AnalysisData)用于查询七层流量前topN的数据。
1185
1209
 
1186
1210
  # @param request: Request instance for DescribeTopL7AnalysisData.
@@ -4085,6 +4085,101 @@ module TencentCloud
4085
4085
  end
4086
4086
  end
4087
4087
 
4088
+ # DescribeTimingL7SourceData请求参数结构体
4089
+ class DescribeTimingL7SourceDataRequest < TencentCloud::Common::AbstractModel
4090
+ # @param StartTime: 开始时间。
4091
+ # @type StartTime: String
4092
+ # @param EndTime: 结束时间。
4093
+ # @type EndTime: String
4094
+ # @param MetricNames: 指标列表,取值有:
4095
+ # <li>l7Flow_outFlux_hy: Edgeone请求流量;</li>
4096
+ # <li>l7Flow_outBandwidth_hy: Edgeone请求带宽;</li>
4097
+ # <li>l7Flow_inFlux_hy: 源站响应流量;</li>
4098
+ # <li>l7Flow_inBandwidth_hy: 源站响应带宽;</li>
4099
+ # <li>l7Flow_request_hy: 回源请求数;</li>
4100
+ # @type MetricNames: Array
4101
+ # @param ZoneIds: 站点集合,不填默认选择全部站点。
4102
+ # @type ZoneIds: Array
4103
+ # @param Interval: 查询时间粒度,取值有:
4104
+ # <li>min: 1分钟;</li>
4105
+ # <li>5min: 5分钟;</li>
4106
+ # <li>hour: 1小时;</li>
4107
+ # <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
4108
+ # @type Interval: String
4109
+ # @param Filters: 过滤条件,详细的过滤条件如下:
4110
+ # <li>domain<br>   按照【<strong>回源Host</strong>】进行过滤。<br>   类型:String<br>   必选:否</li>
4111
+ # <li>origin<br>   按照【<strong>源站</strong>】进行过滤。<br>   类型:String<br>   必选:否</li>
4112
+ # <li>originGroup<br>   按照【<strong>源站组</strong>】进行过滤,源站组形如:origin-xxxxx。<br>   类型:String<br>   必选:否</li>
4113
+ # <li>flowType<br>   按照【<strong>源站响应类型</strong>】进行过滤,优先级高于 MetricNames.N 参数。<br>   类型:String<br>   必选:否<br>   可选项:<br>   inFlow:源站响应流量,对应MetricNames中l7Flow_inFlux_hy、l7Flow_inBandwidth_hy、l7Flow_request_hy三个指标;<br>   outFlow:EdgeOne请求流量,对应MetricNames中l7Flow_outFlux_hy、l7Flow_outBandwidth_hy、l7Flow_request_hy三个指标。</li>
4114
+ # @type Filters: Array
4115
+ # @param Area: 数据归属地区,取值有:
4116
+ # <li>overseas:全球(除中国大陆地区)数据;</li>
4117
+ # <li>mainland:中国大陆地区数据;</li>
4118
+ # <li>global:全球数据。</li>不填默认取值为global。
4119
+ # @type Area: String
4120
+
4121
+ attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Interval, :Filters, :Area
4122
+
4123
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, interval=nil, filters=nil, area=nil)
4124
+ @StartTime = starttime
4125
+ @EndTime = endtime
4126
+ @MetricNames = metricnames
4127
+ @ZoneIds = zoneids
4128
+ @Interval = interval
4129
+ @Filters = filters
4130
+ @Area = area
4131
+ end
4132
+
4133
+ def deserialize(params)
4134
+ @StartTime = params['StartTime']
4135
+ @EndTime = params['EndTime']
4136
+ @MetricNames = params['MetricNames']
4137
+ @ZoneIds = params['ZoneIds']
4138
+ @Interval = params['Interval']
4139
+ unless params['Filters'].nil?
4140
+ @Filters = []
4141
+ params['Filters'].each do |i|
4142
+ querycondition_tmp = QueryCondition.new
4143
+ querycondition_tmp.deserialize(i)
4144
+ @Filters << querycondition_tmp
4145
+ end
4146
+ end
4147
+ @Area = params['Area']
4148
+ end
4149
+ end
4150
+
4151
+ # DescribeTimingL7SourceData返回参数结构体
4152
+ class DescribeTimingL7SourceDataResponse < TencentCloud::Common::AbstractModel
4153
+ # @param TotalCount: 查询结果的总条数。
4154
+ # @type TotalCount: Integer
4155
+ # @param TimingDataRecords: 时序流量数据列表。
4156
+ # 注意:此字段可能返回 null,表示取不到有效值。
4157
+ # @type TimingDataRecords: Array
4158
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4159
+ # @type RequestId: String
4160
+
4161
+ attr_accessor :TotalCount, :TimingDataRecords, :RequestId
4162
+
4163
+ def initialize(totalcount=nil, timingdatarecords=nil, requestid=nil)
4164
+ @TotalCount = totalcount
4165
+ @TimingDataRecords = timingdatarecords
4166
+ @RequestId = requestid
4167
+ end
4168
+
4169
+ def deserialize(params)
4170
+ @TotalCount = params['TotalCount']
4171
+ unless params['TimingDataRecords'].nil?
4172
+ @TimingDataRecords = []
4173
+ params['TimingDataRecords'].each do |i|
4174
+ timingdatarecord_tmp = TimingDataRecord.new
4175
+ timingdatarecord_tmp.deserialize(i)
4176
+ @TimingDataRecords << timingdatarecord_tmp
4177
+ end
4178
+ end
4179
+ @RequestId = params['RequestId']
4180
+ end
4181
+ end
4182
+
4088
4183
  # DescribeTopL7AnalysisData请求参数结构体
4089
4184
  class DescribeTopL7AnalysisDataRequest < TencentCloud::Common::AbstractModel
4090
4185
  # @param StartTime: 开始时间。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.495
4
+ version: 3.0.497
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-01-17 00:00:00.000000000 Z
11
+ date: 2023-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common