tencentcloud-sdk-gaap 1.0.311 → 1.0.312

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: a1b91f64e2c7cc7b1848655377c31404ed4f41e3
4
- data.tar.gz: 39eae40caec7a37b1de4e4b74b0dd9e809a2aacf
3
+ metadata.gz: 3efc167caeeaf4a6705f6953669f2d46474cbb85
4
+ data.tar.gz: fe48737ac85bd3ace945629daecc3ea7f379f42d
5
5
  SHA512:
6
- metadata.gz: d9b8bda43f45f052988e43d5d295cfca4aa92bd3d508882ef729393b7bc050440ec5366650049b92c14b395701189fd035cd8e818f7efa5f4d03a845933bdd75
7
- data.tar.gz: 9d41034f56159f75c945603e2c804f5a2517b28ad574aef0486ef1565188178ecae925ae25daf2134901930b7f61e71c9422a82599fe2f58e8b9bdf4f6935bce
6
+ metadata.gz: f3bdb17119f1e5f2fc8fef5d3aea02d74a02c25a620a01a92114d9bd27fd092c8b5554440638205d7b538735d2bc9198cfb452774b4a350f30aeb3078dd4fbd5
7
+ data.tar.gz: f6a4d863fcc30e54365d4f4015d0e7363162885643e0305895f8be08d2fdb8bd9c38d33eb430bc04c96c701d7eb083da0c991915c6fcc4262ce98ee13bbbef8a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.311
1
+ 1.0.312
@@ -295,6 +295,30 @@ module TencentCloud
295
295
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
296
296
  end
297
297
 
298
+ # 本接口(CreateFirstLinkSession)用于创建接入段加速会话,创建有可能成功,也可能失败,需要通过返回码来进行判断。
299
+
300
+ # @param request: Request instance for CreateFirstLinkSession.
301
+ # @type request: :class:`Tencentcloud::gaap::V20180529::CreateFirstLinkSessionRequest`
302
+ # @rtype: :class:`Tencentcloud::gaap::V20180529::CreateFirstLinkSessionResponse`
303
+ def CreateFirstLinkSession(request)
304
+ body = send_request('CreateFirstLinkSession', request.serialize)
305
+ response = JSON.parse(body)
306
+ if response['Response'].key?('Error') == false
307
+ model = CreateFirstLinkSessionResponse.new
308
+ model.deserialize(response['Response'])
309
+ model
310
+ else
311
+ code = response['Response']['Error']['Code']
312
+ message = response['Response']['Error']['Message']
313
+ reqid = response['Response']['RequestId']
314
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
315
+ end
316
+ rescue TencentCloud::Common::TencentCloudSDKException => e
317
+ raise e
318
+ rescue StandardError => e
319
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
320
+ end
321
+
298
322
  # 该接口(CreateHTTPListener)用于在通道实例下创建HTTP协议类型的监听器。
299
323
 
300
324
  # @param request: Request instance for CreateHTTPListener.
@@ -607,6 +631,30 @@ module TencentCloud
607
631
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
608
632
  end
609
633
 
634
+ # 本接口(DeleteFirstLinkSession)用于删除接入段加速会话,删除加速会话后会停止加速。
635
+
636
+ # @param request: Request instance for DeleteFirstLinkSession.
637
+ # @type request: :class:`Tencentcloud::gaap::V20180529::DeleteFirstLinkSessionRequest`
638
+ # @rtype: :class:`Tencentcloud::gaap::V20180529::DeleteFirstLinkSessionResponse`
639
+ def DeleteFirstLinkSession(request)
640
+ body = send_request('DeleteFirstLinkSession', request.serialize)
641
+ response = JSON.parse(body)
642
+ if response['Response'].key?('Error') == false
643
+ model = DeleteFirstLinkSessionResponse.new
644
+ model.deserialize(response['Response'])
645
+ model
646
+ else
647
+ code = response['Response']['Error']['Code']
648
+ message = response['Response']['Error']['Message']
649
+ reqid = response['Response']['RequestId']
650
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
651
+ end
652
+ rescue TencentCloud::Common::TencentCloudSDKException => e
653
+ raise e
654
+ rescue StandardError => e
655
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
656
+ end
657
+
610
658
  # 该接口(DeleteListeners)用于批量删除通道或通道组的监听器,包括4/7层监听器。
611
659
 
612
660
  # @param request: Request instance for DeleteListeners.
@@ -967,6 +1015,30 @@ module TencentCloud
967
1015
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
968
1016
  end
969
1017
 
1018
+ # 本接口(DescribeFirstLinkSession)用于查询接入段加速会话状态,包括会话状态,生效时长,加速套餐等信息。
1019
+
1020
+ # @param request: Request instance for DescribeFirstLinkSession.
1021
+ # @type request: :class:`Tencentcloud::gaap::V20180529::DescribeFirstLinkSessionRequest`
1022
+ # @rtype: :class:`Tencentcloud::gaap::V20180529::DescribeFirstLinkSessionResponse`
1023
+ def DescribeFirstLinkSession(request)
1024
+ body = send_request('DescribeFirstLinkSession', request.serialize)
1025
+ response = JSON.parse(body)
1026
+ if response['Response'].key?('Error') == false
1027
+ model = DescribeFirstLinkSessionResponse.new
1028
+ model.deserialize(response['Response'])
1029
+ model
1030
+ else
1031
+ code = response['Response']['Error']['Code']
1032
+ message = response['Response']['Error']['Message']
1033
+ reqid = response['Response']['RequestId']
1034
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1035
+ end
1036
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1037
+ raise e
1038
+ rescue StandardError => e
1039
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1040
+ end
1041
+
970
1042
  # 该接口为内部接口,用于查询可以获取统计数据的通道组和通道信息
971
1043
 
972
1044
  # @param request: Request instance for DescribeGroupAndStatisticsProxy.
@@ -376,6 +376,26 @@ module TencentCloud
376
376
  end
377
377
  end
378
378
 
379
+ # 接口扩展参数
380
+ class Capacity < TencentCloud::Common::AbstractModel
381
+ # @param CTCCToken: 电信鉴权的Token
382
+ # @type CTCCToken: String
383
+ # @param Province: 终端所处在的省份,建议不填写由服务端自动获取,若需填写请填写带有省、市、自治区、特别行政区等后缀的省份中文全称
384
+ # @type Province: String
385
+
386
+ attr_accessor :CTCCToken, :Province
387
+
388
+ def initialize(ctcctoken=nil, province=nil)
389
+ @CTCCToken = ctcctoken
390
+ @Province = province
391
+ end
392
+
393
+ def deserialize(params)
394
+ @CTCCToken = params['CTCCToken']
395
+ @Province = params['Province']
396
+ end
397
+ end
398
+
379
399
  # 服务器证书
380
400
  class Certificate < TencentCloud::Common::AbstractModel
381
401
  # @param CertificateId: 证书ID
@@ -963,6 +983,76 @@ module TencentCloud
963
983
  end
964
984
  end
965
985
 
986
+ # CreateFirstLinkSession请求参数结构体
987
+ class CreateFirstLinkSessionRequest < TencentCloud::Common::AbstractModel
988
+ # @param TemplateId: 模版ID
989
+ # @type TemplateId: String
990
+ # @param SrcAddressInfo: 终端网络信息
991
+ # @type SrcAddressInfo: :class:`Tencentcloud::Gaap.v20180529.models.SrcAddressInfo`
992
+ # @param DestAddressInfo: 加速目标网络信息
993
+ # @type DestAddressInfo: :class:`Tencentcloud::Gaap.v20180529.models.DestAddressInfo`
994
+ # @param DeviceInfo: 终端设备信息
995
+ # @type DeviceInfo: :class:`Tencentcloud::Gaap.v20180529.models.DeviceInfo`
996
+ # @param Capacity: 接口扩展参数,如果是电信用户,需要填充CTCC Token字段
997
+ # @type Capacity: :class:`Tencentcloud::Gaap.v20180529.models.Capacity`
998
+
999
+ attr_accessor :TemplateId, :SrcAddressInfo, :DestAddressInfo, :DeviceInfo, :Capacity
1000
+
1001
+ def initialize(templateid=nil, srcaddressinfo=nil, destaddressinfo=nil, deviceinfo=nil, capacity=nil)
1002
+ @TemplateId = templateid
1003
+ @SrcAddressInfo = srcaddressinfo
1004
+ @DestAddressInfo = destaddressinfo
1005
+ @DeviceInfo = deviceinfo
1006
+ @Capacity = capacity
1007
+ end
1008
+
1009
+ def deserialize(params)
1010
+ @TemplateId = params['TemplateId']
1011
+ unless params['SrcAddressInfo'].nil?
1012
+ @SrcAddressInfo = SrcAddressInfo.new
1013
+ @SrcAddressInfo.deserialize(params['SrcAddressInfo'])
1014
+ end
1015
+ unless params['DestAddressInfo'].nil?
1016
+ @DestAddressInfo = DestAddressInfo.new
1017
+ @DestAddressInfo.deserialize(params['DestAddressInfo'])
1018
+ end
1019
+ unless params['DeviceInfo'].nil?
1020
+ @DeviceInfo = DeviceInfo.new
1021
+ @DeviceInfo.deserialize(params['DeviceInfo'])
1022
+ end
1023
+ unless params['Capacity'].nil?
1024
+ @Capacity = Capacity.new
1025
+ @Capacity.deserialize(params['Capacity'])
1026
+ end
1027
+ end
1028
+ end
1029
+
1030
+ # CreateFirstLinkSession返回参数结构体
1031
+ class CreateFirstLinkSessionResponse < TencentCloud::Common::AbstractModel
1032
+ # @param SessionId: 加速成功时返回,单次加速唯一会话Id。。
1033
+ # 注意:此字段可能返回 null,表示取不到有效值。
1034
+ # @type SessionId: String
1035
+ # @param Duration: 剩余的加速时间,单位秒。
1036
+ # 注意:此字段可能返回 null,表示取不到有效值。
1037
+ # @type Duration: Integer
1038
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1039
+ # @type RequestId: String
1040
+
1041
+ attr_accessor :SessionId, :Duration, :RequestId
1042
+
1043
+ def initialize(sessionid=nil, duration=nil, requestid=nil)
1044
+ @SessionId = sessionid
1045
+ @Duration = duration
1046
+ @RequestId = requestid
1047
+ end
1048
+
1049
+ def deserialize(params)
1050
+ @SessionId = params['SessionId']
1051
+ @Duration = params['Duration']
1052
+ @RequestId = params['RequestId']
1053
+ end
1054
+ end
1055
+
966
1056
  # CreateHTTPListener请求参数结构体
967
1057
  class CreateHTTPListenerRequest < TencentCloud::Common::AbstractModel
968
1058
  # @param ListenerName: 监听器名称
@@ -1733,6 +1823,38 @@ module TencentCloud
1733
1823
  end
1734
1824
  end
1735
1825
 
1826
+ # DeleteFirstLinkSession请求参数结构体
1827
+ class DeleteFirstLinkSessionRequest < TencentCloud::Common::AbstractModel
1828
+ # @param SessionId: 单次加速唯一会话Id
1829
+ # @type SessionId: String
1830
+
1831
+ attr_accessor :SessionId
1832
+
1833
+ def initialize(sessionid=nil)
1834
+ @SessionId = sessionid
1835
+ end
1836
+
1837
+ def deserialize(params)
1838
+ @SessionId = params['SessionId']
1839
+ end
1840
+ end
1841
+
1842
+ # DeleteFirstLinkSession返回参数结构体
1843
+ class DeleteFirstLinkSessionResponse < TencentCloud::Common::AbstractModel
1844
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1845
+ # @type RequestId: String
1846
+
1847
+ attr_accessor :RequestId
1848
+
1849
+ def initialize(requestid=nil)
1850
+ @RequestId = requestid
1851
+ end
1852
+
1853
+ def deserialize(params)
1854
+ @RequestId = params['RequestId']
1855
+ end
1856
+ end
1857
+
1736
1858
  # DeleteListeners请求参数结构体
1737
1859
  class DeleteListenersRequest < TencentCloud::Common::AbstractModel
1738
1860
  # @param ListenerIds: 待删除的监听器ID列表
@@ -2382,6 +2504,69 @@ module TencentCloud
2382
2504
  end
2383
2505
  end
2384
2506
 
2507
+ # DescribeFirstLinkSession请求参数结构体
2508
+ class DescribeFirstLinkSessionRequest < TencentCloud::Common::AbstractModel
2509
+ # @param SessionId: 单次加速唯一会话Id
2510
+ # @type SessionId: String
2511
+
2512
+ attr_accessor :SessionId
2513
+
2514
+ def initialize(sessionid=nil)
2515
+ @SessionId = sessionid
2516
+ end
2517
+
2518
+ def deserialize(params)
2519
+ @SessionId = params['SessionId']
2520
+ end
2521
+ end
2522
+
2523
+ # DescribeFirstLinkSession返回参数结构体
2524
+ class DescribeFirstLinkSessionResponse < TencentCloud::Common::AbstractModel
2525
+ # @param Status: 会话状态,具体如下:
2526
+ # 1: 加速中;
2527
+ # 0: 非加速中。
2528
+ # 注意:此字段可能返回 null,表示取不到有效值。
2529
+ # @type Status: Integer
2530
+ # @param Duration: 剩余加速时间,单位秒。
2531
+ # 注意:此字段可能返回 null,表示取不到有效值。
2532
+ # @type Duration: Integer
2533
+ # @param SuiteType: 加速套餐类型。
2534
+ # 套餐说明如下:
2535
+ # T100K:上/下行保障100kbps;
2536
+ # BD4M:下行带宽保障4Mbps;
2537
+ # BU4M:上行带宽保障4Mbps。
2538
+ # 注意:此字段可能返回 null,表示取不到有效值。
2539
+ # @type SuiteType: String
2540
+ # @param SrcPublicIpv4: 加速终端的公网ip
2541
+ # 注意:此字段可能返回 null,表示取不到有效值。
2542
+ # @type SrcPublicIpv4: String
2543
+ # @param DestIpv4: 加速目标ip
2544
+ # 注意:此字段可能返回 null,表示取不到有效值。
2545
+ # @type DestIpv4: Array
2546
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2547
+ # @type RequestId: String
2548
+
2549
+ attr_accessor :Status, :Duration, :SuiteType, :SrcPublicIpv4, :DestIpv4, :RequestId
2550
+
2551
+ def initialize(status=nil, duration=nil, suitetype=nil, srcpublicipv4=nil, destipv4=nil, requestid=nil)
2552
+ @Status = status
2553
+ @Duration = duration
2554
+ @SuiteType = suitetype
2555
+ @SrcPublicIpv4 = srcpublicipv4
2556
+ @DestIpv4 = destipv4
2557
+ @RequestId = requestid
2558
+ end
2559
+
2560
+ def deserialize(params)
2561
+ @Status = params['Status']
2562
+ @Duration = params['Duration']
2563
+ @SuiteType = params['SuiteType']
2564
+ @SrcPublicIpv4 = params['SrcPublicIpv4']
2565
+ @DestIpv4 = params['DestIpv4']
2566
+ @RequestId = params['RequestId']
2567
+ end
2568
+ end
2569
+
2385
2570
  # DescribeGroupAndStatisticsProxy请求参数结构体
2386
2571
  class DescribeGroupAndStatisticsProxyRequest < TencentCloud::Common::AbstractModel
2387
2572
  # @param ProjectId: 项目ID
@@ -4036,6 +4221,22 @@ module TencentCloud
4036
4221
  end
4037
4222
  end
4038
4223
 
4224
+ # 网络加速的目标地址信息
4225
+ class DestAddressInfo < TencentCloud::Common::AbstractModel
4226
+ # @param DestIp: 加速的目标IP,可多ip一起加速
4227
+ # @type DestIp: Array
4228
+
4229
+ attr_accessor :DestIp
4230
+
4231
+ def initialize(destip=nil)
4232
+ @DestIp = destip
4233
+ end
4234
+
4235
+ def deserialize(params)
4236
+ @DestIp = params['DestIp']
4237
+ end
4238
+ end
4239
+
4039
4240
  # DestroyProxies请求参数结构体
4040
4241
  class DestroyProxiesRequest < TencentCloud::Common::AbstractModel
4041
4242
  # @param Force: 强制删除标识。
@@ -4092,6 +4293,52 @@ module TencentCloud
4092
4293
  end
4093
4294
  end
4094
4295
 
4296
+ # 终端设备信息
4297
+ class DeviceInfo < TencentCloud::Common::AbstractModel
4298
+ # @param Vendor: 设备数据卡所属的运营商
4299
+ # 1:移动
4300
+ # 2:电信
4301
+ # 3:联通
4302
+ # 4:广电
4303
+ # 99:其他
4304
+ # @type Vendor: Integer
4305
+ # @param OS: 设备操作系统
4306
+ # 1:Android
4307
+ # 2: IOS
4308
+ # 99:其他
4309
+ # @type OS: Integer
4310
+ # @param DeviceId: 设备唯一标识
4311
+ # IOS 填写 IDFV
4312
+ # Android 填写 IMEI
4313
+ # @type DeviceId: String
4314
+ # @param PhoneNum: 用户手机号码
4315
+ # @type PhoneNum: String
4316
+ # @param Wireless: 无线信息
4317
+ # 1:4G
4318
+ # 2:5G
4319
+ # 3:WIFI
4320
+ # 99:其他
4321
+ # @type Wireless: Integer
4322
+
4323
+ attr_accessor :Vendor, :OS, :DeviceId, :PhoneNum, :Wireless
4324
+
4325
+ def initialize(vendor=nil, os=nil, deviceid=nil, phonenum=nil, wireless=nil)
4326
+ @Vendor = vendor
4327
+ @OS = os
4328
+ @DeviceId = deviceid
4329
+ @PhoneNum = phonenum
4330
+ @Wireless = wireless
4331
+ end
4332
+
4333
+ def deserialize(params)
4334
+ @Vendor = params['Vendor']
4335
+ @OS = params['OS']
4336
+ @DeviceId = params['DeviceId']
4337
+ @PhoneNum = params['PhoneNum']
4338
+ @Wireless = params['Wireless']
4339
+ end
4340
+ end
4341
+
4095
4342
  # 域名解析就近访问配置详情
4096
4343
  class DomainAccessRegionDict < TencentCloud::Common::AbstractModel
4097
4344
  # @param NationCountryInnerList: 就近接入区域
@@ -6614,6 +6861,26 @@ module TencentCloud
6614
6861
  end
6615
6862
  end
6616
6863
 
6864
+ # 网络加速的原地址信息
6865
+ class SrcAddressInfo < TencentCloud::Common::AbstractModel
6866
+ # @param SrcIpv4: 内网Ip4地址
6867
+ # @type SrcIpv4: String
6868
+ # @param SrcPublicIpv4: 公网Ip4地址
6869
+ # @type SrcPublicIpv4: String
6870
+
6871
+ attr_accessor :SrcIpv4, :SrcPublicIpv4
6872
+
6873
+ def initialize(srcipv4=nil, srcpublicipv4=nil)
6874
+ @SrcIpv4 = srcipv4
6875
+ @SrcPublicIpv4 = srcpublicipv4
6876
+ end
6877
+
6878
+ def deserialize(params)
6879
+ @SrcIpv4 = params['SrcIpv4']
6880
+ @SrcPublicIpv4 = params['SrcPublicIpv4']
6881
+ end
6882
+ end
6883
+
6617
6884
  # 统计数据信息
6618
6885
  class StatisticsDataInfo < TencentCloud::Common::AbstractModel
6619
6886
  # @param Time: 对应的时间点
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-gaap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.311
4
+ version: 1.0.312
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-05-12 00:00:00.000000000 Z
11
+ date: 2022-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common