tencentcloud-sdk-mna 1.0.260 → 1.0.261

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20210119/models.rb +98 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bdb27bce3e1d81aeebb940b16ada3bb782637702
4
- data.tar.gz: 1670ac1088edc23a51d9aede9afdbddf0d44ae06
3
+ metadata.gz: 49ef46030915296a6e33bef359a732a49e59f112
4
+ data.tar.gz: b2f58a0231348627617f5e042b66de25dda25d46
5
5
  SHA512:
6
- metadata.gz: 8453eff4b82ffabab7aaf01d733e5a350cc7b9fb3c3d83c053805d13d78843c7d72566315c2ccc6005f7f2f7c7172b9b21ab531c96324a113194c778a2b329ed
7
- data.tar.gz: de858022f3c90a0de2ef8d464294dd16633102a8f0fa6c2c915a5f8378719dd7a09fb74caaae3ebc2656b2017c62bc1ecd5f38ed3502a19dbab6caa2f66b542c
6
+ metadata.gz: ae3388a464ffccf5003218de15e81daca755efa0338dfef7e3b7533cc78b72a9bcb712bec40912478d35334152c4e5d0ba79d25f927ecb91f64c9a757376fade
7
+ data.tar.gz: 2fd1628ca78b1677acfd59fcf4e4f17519aed19ad22ace1559797127ab5261cbc7bff44c8d01006b25a3c3455a558fa298fd420ee7b3948b199629c2ae87e418
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.260
1
+ 1.0.261
@@ -37,6 +37,39 @@ module TencentCloud
37
37
  end
38
38
  end
39
39
 
40
+ # 加速策略关键数据
41
+ class Context < TencentCloud::Common::AbstractModel
42
+ # @param NetworkData: 测速数据
43
+ # @type NetworkData: :class:`Tencentcloud::Mna.v20210119.models.NetworkData`
44
+ # @param ExpectedLowThreshold: 用户期望最低门限
45
+ # @type ExpectedLowThreshold: :class:`Tencentcloud::Mna.v20210119.models.ExpectedThreshold`
46
+ # @param ExpectedHighThreshold: 用户期望最高门限
47
+ # @type ExpectedHighThreshold: :class:`Tencentcloud::Mna.v20210119.models.ExpectedThreshold`
48
+
49
+ attr_accessor :NetworkData, :ExpectedLowThreshold, :ExpectedHighThreshold
50
+
51
+ def initialize(networkdata=nil, expectedlowthreshold=nil, expectedhighthreshold=nil)
52
+ @NetworkData = networkdata
53
+ @ExpectedLowThreshold = expectedlowthreshold
54
+ @ExpectedHighThreshold = expectedhighthreshold
55
+ end
56
+
57
+ def deserialize(params)
58
+ unless params['NetworkData'].nil?
59
+ @NetworkData = NetworkData.new
60
+ @NetworkData.deserialize(params['NetworkData'])
61
+ end
62
+ unless params['ExpectedLowThreshold'].nil?
63
+ @ExpectedLowThreshold = ExpectedThreshold.new
64
+ @ExpectedLowThreshold.deserialize(params['ExpectedLowThreshold'])
65
+ end
66
+ unless params['ExpectedHighThreshold'].nil?
67
+ @ExpectedHighThreshold = ExpectedThreshold.new
68
+ @ExpectedHighThreshold.deserialize(params['ExpectedHighThreshold'])
69
+ end
70
+ end
71
+ end
72
+
40
73
  # CreateQos请求参数结构体
41
74
  class CreateQosRequest < TencentCloud::Common::AbstractModel
42
75
  # @param SrcAddressInfo: 加速业务源地址信息,SrcIpv6和(SrcIpv4+SrcPublicIpv4)二选一,目前Ipv6不可用,全部填写以Ipv4参数为准。
@@ -67,10 +100,14 @@ module TencentCloud
67
100
  # 2. UDP
68
101
  # 3. TCP
69
102
  # @type Protocol: Integer
103
+ # @param Context: 加速策略关键数据
104
+ # @type Context: :class:`Tencentcloud::Mna.v20210119.models.Context`
105
+ # @param Extern: 签名
106
+ # @type Extern: String
70
107
 
71
- attr_accessor :SrcAddressInfo, :DestAddressInfo, :QosMenu, :DeviceInfo, :Duration, :Capacity, :TemplateId, :Protocol
108
+ attr_accessor :SrcAddressInfo, :DestAddressInfo, :QosMenu, :DeviceInfo, :Duration, :Capacity, :TemplateId, :Protocol, :Context, :Extern
72
109
 
73
- def initialize(srcaddressinfo=nil, destaddressinfo=nil, qosmenu=nil, deviceinfo=nil, duration=nil, capacity=nil, templateid=nil, protocol=nil)
110
+ def initialize(srcaddressinfo=nil, destaddressinfo=nil, qosmenu=nil, deviceinfo=nil, duration=nil, capacity=nil, templateid=nil, protocol=nil, context=nil, extern=nil)
74
111
  @SrcAddressInfo = srcaddressinfo
75
112
  @DestAddressInfo = destaddressinfo
76
113
  @QosMenu = qosmenu
@@ -79,6 +116,8 @@ module TencentCloud
79
116
  @Capacity = capacity
80
117
  @TemplateId = templateid
81
118
  @Protocol = protocol
119
+ @Context = context
120
+ @Extern = extern
82
121
  end
83
122
 
84
123
  def deserialize(params)
@@ -102,6 +141,11 @@ module TencentCloud
102
141
  end
103
142
  @TemplateId = params['TemplateId']
104
143
  @Protocol = params['Protocol']
144
+ unless params['Context'].nil?
145
+ @Context = Context.new
146
+ @Context.deserialize(params['Context'])
147
+ end
148
+ @Extern = params['Extern']
105
149
  end
106
150
  end
107
151
 
@@ -288,6 +332,58 @@ module TencentCloud
288
332
  end
289
333
  end
290
334
 
335
+ # 用户期望门限
336
+ class ExpectedThreshold < TencentCloud::Common::AbstractModel
337
+ # @param RTT: 期望发起加速的时延阈值
338
+ # @type RTT: Float
339
+ # @param Loss: 期望发起加速的丢包率阈值
340
+ # @type Loss: Float
341
+ # @param Jitter: 期望发起加速的抖动阈值
342
+ # @type Jitter: Float
343
+
344
+ attr_accessor :RTT, :Loss, :Jitter
345
+
346
+ def initialize(rtt=nil, loss=nil, jitter=nil)
347
+ @RTT = rtt
348
+ @Loss = loss
349
+ @Jitter = jitter
350
+ end
351
+
352
+ def deserialize(params)
353
+ @RTT = params['RTT']
354
+ @Loss = params['Loss']
355
+ @Jitter = params['Jitter']
356
+ end
357
+ end
358
+
359
+ # 测速数据
360
+ class NetworkData < TencentCloud::Common::AbstractModel
361
+ # @param RTT: 时延数组,最大长度30
362
+ # @type RTT: Array
363
+ # @param Loss: 丢包率
364
+ # @type Loss: Float
365
+ # @param Jitter: 抖动
366
+ # @type Jitter: Float
367
+ # @param Timestamp: 10位秒级时间戳
368
+ # @type Timestamp: Integer
369
+
370
+ attr_accessor :RTT, :Loss, :Jitter, :Timestamp
371
+
372
+ def initialize(rtt=nil, loss=nil, jitter=nil, timestamp=nil)
373
+ @RTT = rtt
374
+ @Loss = loss
375
+ @Jitter = jitter
376
+ @Timestamp = timestamp
377
+ end
378
+
379
+ def deserialize(params)
380
+ @RTT = params['RTT']
381
+ @Loss = params['Loss']
382
+ @Jitter = params['Jitter']
383
+ @Timestamp = params['Timestamp']
384
+ end
385
+ end
386
+
291
387
  # 移动网络加速源地址结构体
292
388
  class SrcAddressInfo < TencentCloud::Common::AbstractModel
293
389
  # @param SrcIpv4: 用户私网 ipv4 地址
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mna
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.260
4
+ version: 1.0.261
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-02-18 00:00:00.000000000 Z
11
+ date: 2022-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common