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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210119/models.rb +98 -2
- 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: 49ef46030915296a6e33bef359a732a49e59f112
|
4
|
+
data.tar.gz: b2f58a0231348627617f5e042b66de25dda25d46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae3388a464ffccf5003218de15e81daca755efa0338dfef7e3b7533cc78b72a9bcb712bec40912478d35334152c4e5d0ba79d25f927ecb91f64c9a757376fade
|
7
|
+
data.tar.gz: 2fd1628ca78b1677acfd59fcf4e4f17519aed19ad22ace1559797127ab5261cbc7bff44c8d01006b25a3c3455a558fa298fd420ee7b3948b199629c2ae87e418
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.261
|
data/lib/v20210119/models.rb
CHANGED
@@ -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.
|
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-
|
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
|