tencentcloud-sdk-vpc 3.0.410 → 3.0.411

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: 9237d68dc49d7fab7f31d1dac1cb292fbc3a1704
4
- data.tar.gz: fa72a0a0cd6e80b7ce9c92d9bd512bc31bc940d4
3
+ metadata.gz: 7dff0df3801d25cc2bc5dcf01add967c9e8e34bf
4
+ data.tar.gz: 50b37726b477fada2b3a6c31b3f2f2065cebb0f5
5
5
  SHA512:
6
- metadata.gz: 0f0914acccd4216d06e575194b649330cf2b9d381e2e0ffb9590d2f5185443ff89561f736b06d79cf2aeab33f7d38aea6fd2f9ef69114683e430197ef528a343
7
- data.tar.gz: a4006923466306d6ad917d529b3fd974a1630f82129124bcfd1dfc1defb38f4d43e838e26be7f193a329e876300cfccf14adaa24e8eda6c4921702d31c7d306f
6
+ metadata.gz: cd54bbefb09ab2101bfb7c37cd923e52af5b825bd088ea12d848106fc25e07ee33be31b3abe5da4514f08bb86044127fd04648284f1247bc587f1e89861b592e
7
+ data.tar.gz: e2bfe6bc8fe6ab15c6943046bc594ab6d5b7210995a4991acf7c46f1b802144d4f62533303d7f0b683339f788012223ce394333fe202248af546e5daa9188805
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.410
1
+ 3.0.411
@@ -3059,6 +3059,30 @@ module TencentCloud
3059
3059
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3060
3060
  end
3061
3061
 
3062
+ # 查询跨境带宽监控数据,该接口特提供给联通使用
3063
+
3064
+ # @param request: Request instance for DescribeCrossBorderFlowMonitor.
3065
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DescribeCrossBorderFlowMonitorRequest`
3066
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeCrossBorderFlowMonitorResponse`
3067
+ def DescribeCrossBorderFlowMonitor(request)
3068
+ body = send_request('DescribeCrossBorderFlowMonitor', request.serialize)
3069
+ response = JSON.parse(body)
3070
+ if response['Response'].key?('Error') == false
3071
+ model = DescribeCrossBorderFlowMonitorResponse.new
3072
+ model.deserialize(response['Response'])
3073
+ model
3074
+ else
3075
+ code = response['Response']['Error']['Code']
3076
+ message = response['Response']['Error']['Message']
3077
+ reqid = response['Response']['RequestId']
3078
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3079
+ end
3080
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3081
+ raise e
3082
+ rescue StandardError => e
3083
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3084
+ end
3085
+
3062
3086
  # 本接口(DescribeCustomerGatewayVendors)用于查询可支持的对端网关厂商信息。
3063
3087
 
3064
3088
  # @param request: Request instance for DescribeCustomerGatewayVendors.
@@ -4687,6 +4687,34 @@ module TencentCloud
4687
4687
  end
4688
4688
  end
4689
4689
 
4690
+ # 跨境带宽监控数据
4691
+ class CrossBorderFlowMonitorData < TencentCloud::Common::AbstractModel
4692
+ # @param InBandwidth: 入带宽
4693
+ # @type InBandwidth: Array
4694
+ # @param OutBandwidth: 出带宽
4695
+ # @type OutBandwidth: Array
4696
+ # @param InPkg: 入包
4697
+ # @type InPkg: Array
4698
+ # @param OutPkg: 出包
4699
+ # @type OutPkg: Array
4700
+
4701
+ attr_accessor :InBandwidth, :OutBandwidth, :InPkg, :OutPkg
4702
+
4703
+ def initialize(inbandwidth=nil, outbandwidth=nil, inpkg=nil, outpkg=nil)
4704
+ @InBandwidth = inbandwidth
4705
+ @OutBandwidth = outbandwidth
4706
+ @InPkg = inpkg
4707
+ @OutPkg = outpkg
4708
+ end
4709
+
4710
+ def deserialize(params)
4711
+ @InBandwidth = params['InBandwidth']
4712
+ @OutBandwidth = params['OutBandwidth']
4713
+ @InPkg = params['InPkg']
4714
+ @OutPkg = params['OutPkg']
4715
+ end
4716
+ end
4717
+
4690
4718
  # 对端网关
4691
4719
  class CustomerGateway < TencentCloud::Common::AbstractModel
4692
4720
  # @param CustomerGatewayId: 用户网关唯一ID
@@ -7166,6 +7194,74 @@ module TencentCloud
7166
7194
  end
7167
7195
  end
7168
7196
 
7197
+ # DescribeCrossBorderFlowMonitor请求参数结构体
7198
+ class DescribeCrossBorderFlowMonitorRequest < TencentCloud::Common::AbstractModel
7199
+ # @param SourceRegion: 源地域
7200
+ # @type SourceRegion: String
7201
+ # @param DestinationRegion: 目的地域
7202
+ # @type DestinationRegion: String
7203
+ # @param CcnId: 云联网Id
7204
+ # @type CcnId: String
7205
+ # @param CcnUin: 云联网所属账号
7206
+ # @type CcnUin: String
7207
+ # @param Period: 时间粒度
7208
+ # @type Period: Integer
7209
+ # @param StartTime: 开始时间
7210
+ # @type StartTime: String
7211
+ # @param EndTime: 结束时间
7212
+ # @type EndTime: String
7213
+
7214
+ attr_accessor :SourceRegion, :DestinationRegion, :CcnId, :CcnUin, :Period, :StartTime, :EndTime
7215
+
7216
+ def initialize(sourceregion=nil, destinationregion=nil, ccnid=nil, ccnuin=nil, period=nil, starttime=nil, endtime=nil)
7217
+ @SourceRegion = sourceregion
7218
+ @DestinationRegion = destinationregion
7219
+ @CcnId = ccnid
7220
+ @CcnUin = ccnuin
7221
+ @Period = period
7222
+ @StartTime = starttime
7223
+ @EndTime = endtime
7224
+ end
7225
+
7226
+ def deserialize(params)
7227
+ @SourceRegion = params['SourceRegion']
7228
+ @DestinationRegion = params['DestinationRegion']
7229
+ @CcnId = params['CcnId']
7230
+ @CcnUin = params['CcnUin']
7231
+ @Period = params['Period']
7232
+ @StartTime = params['StartTime']
7233
+ @EndTime = params['EndTime']
7234
+ end
7235
+ end
7236
+
7237
+ # DescribeCrossBorderFlowMonitor返回参数结构体
7238
+ class DescribeCrossBorderFlowMonitorResponse < TencentCloud::Common::AbstractModel
7239
+ # @param CrossBorderFlowMonitorData: 云联网跨境带宽监控数据
7240
+ # 注意:此字段可能返回 null,表示取不到有效值。
7241
+ # @type CrossBorderFlowMonitorData: Array
7242
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7243
+ # @type RequestId: String
7244
+
7245
+ attr_accessor :CrossBorderFlowMonitorData, :RequestId
7246
+
7247
+ def initialize(crossborderflowmonitordata=nil, requestid=nil)
7248
+ @CrossBorderFlowMonitorData = crossborderflowmonitordata
7249
+ @RequestId = requestid
7250
+ end
7251
+
7252
+ def deserialize(params)
7253
+ unless params['CrossBorderFlowMonitorData'].nil?
7254
+ @CrossBorderFlowMonitorData = []
7255
+ params['CrossBorderFlowMonitorData'].each do |i|
7256
+ crossborderflowmonitordata_tmp = CrossBorderFlowMonitorData.new
7257
+ crossborderflowmonitordata_tmp.deserialize(i)
7258
+ @CrossBorderFlowMonitorData << crossborderflowmonitordata_tmp
7259
+ end
7260
+ end
7261
+ @RequestId = params['RequestId']
7262
+ end
7263
+ end
7264
+
7169
7265
  # DescribeCustomerGatewayVendors请求参数结构体
7170
7266
  class DescribeCustomerGatewayVendorsRequest < TencentCloud::Common::AbstractModel
7171
7267
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.410
4
+ version: 3.0.411
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-15 00:00:00.000000000 Z
11
+ date: 2022-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common