tencentcloud-sdk-teo 3.0.721 → 3.0.723

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: 697b917ae93871fe2c31e2136e87c0612412f5d9
4
- data.tar.gz: 9a23f493b0c3e2e3187d2daccb7b11f55a68a0a6
3
+ metadata.gz: aa3739eee6b8a7196f7bba32f86a8fc4436361fc
4
+ data.tar.gz: df1d8e62c89d3c71e2f0de2e6353c7c7e5260248
5
5
  SHA512:
6
- metadata.gz: b873ee3e1f324f26e04ca67e808654424f957dee9ec58d21936333700d953330ac66343347816e013380a0c4d38612ea78805600b0410eb56f95eb4831d4afb8
7
- data.tar.gz: f8afe5b0aef389ece0dc897533d56332149407fe3abf183d3998f833335fcbdf585c2bc13756dc9020fd420fbe9e0274c3190bd288d31a3924ecbf048058f296
6
+ metadata.gz: 4fcbbebd7ca8a5cf39c973eea3bcf80ddd6872b57f6c8c0f033a2e1698a8564cbba22335f6c02b946a95df1d04eff84be3684db5cbd759c09986570ef7c52b0c
7
+ data.tar.gz: 12ad09cfc99d9855eec5469ef7c25c0c0ecb32c23d4ff7c1923780f83edeceafe04bb274183d210311698db0d8fa632af286055620cdeb030f9d953bc27f027f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.721
1
+ 3.0.723
@@ -1019,6 +1019,30 @@ module TencentCloud
1019
1019
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1020
1020
  end
1021
1021
 
1022
+ # 该接口可用于查询 IP 是否为 EdgeOne IP。
1023
+
1024
+ # @param request: Request instance for DescribeIPRegion.
1025
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeIPRegionRequest`
1026
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeIPRegionResponse`
1027
+ def DescribeIPRegion(request)
1028
+ body = send_request('DescribeIPRegion', request.serialize)
1029
+ response = JSON.parse(body)
1030
+ if response['Response'].key?('Error') == false
1031
+ model = DescribeIPRegionResponse.new
1032
+ model.deserialize(response['Response'])
1033
+ model
1034
+ else
1035
+ code = response['Response']['Error']['Code']
1036
+ message = response['Response']['Error']['Message']
1037
+ reqid = response['Response']['RequestId']
1038
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1039
+ end
1040
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1041
+ raise e
1042
+ rescue StandardError => e
1043
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1044
+ end
1045
+
1022
1046
  # 查询站点的验证信息。
1023
1047
 
1024
1048
  # @param request: Request instance for DescribeIdentifications.
@@ -4239,6 +4239,49 @@ module TencentCloud
4239
4239
  end
4240
4240
  end
4241
4241
 
4242
+ # DescribeIPRegion请求参数结构体
4243
+ class DescribeIPRegionRequest < TencentCloud::Common::AbstractModel
4244
+ # @param IPs: 待查询的 IP 列表,支持 IPV4 和 IPV6,最大可查询 100 条。
4245
+ # @type IPs: Array
4246
+
4247
+ attr_accessor :IPs
4248
+
4249
+ def initialize(ips=nil)
4250
+ @IPs = ips
4251
+ end
4252
+
4253
+ def deserialize(params)
4254
+ @IPs = params['IPs']
4255
+ end
4256
+ end
4257
+
4258
+ # DescribeIPRegion返回参数结构体
4259
+ class DescribeIPRegionResponse < TencentCloud::Common::AbstractModel
4260
+ # @param IPRegionInfo: IP 归属信息列表。
4261
+ # @type IPRegionInfo: Array
4262
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4263
+ # @type RequestId: String
4264
+
4265
+ attr_accessor :IPRegionInfo, :RequestId
4266
+
4267
+ def initialize(ipregioninfo=nil, requestid=nil)
4268
+ @IPRegionInfo = ipregioninfo
4269
+ @RequestId = requestid
4270
+ end
4271
+
4272
+ def deserialize(params)
4273
+ unless params['IPRegionInfo'].nil?
4274
+ @IPRegionInfo = []
4275
+ params['IPRegionInfo'].each do |i|
4276
+ ipregioninfo_tmp = IPRegionInfo.new
4277
+ ipregioninfo_tmp.deserialize(i)
4278
+ @IPRegionInfo << ipregioninfo_tmp
4279
+ end
4280
+ end
4281
+ @RequestId = params['RequestId']
4282
+ end
4283
+ end
4284
+
4242
4285
  # DescribeIdentifications请求参数结构体
4243
4286
  class DescribeIdentificationsRequest < TencentCloud::Common::AbstractModel
4244
4287
  # @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
@@ -6530,6 +6573,28 @@ module TencentCloud
6530
6573
  end
6531
6574
  end
6532
6575
 
6576
+ # IP 归属信息查询
6577
+ class IPRegionInfo < TencentCloud::Common::AbstractModel
6578
+ # @param IP: IP 地址,IPV4 或 IPV6。
6579
+ # @type IP: String
6580
+ # @param IsEdgeOneIP: IP 是否属于 EdgeOne 节点,取值有:
6581
+ # <li>yes:该 IP 属于 EdgeOne 节点;</li>
6582
+ # <li>no:该 IP 不属于 EdgeOne 节点。</li>
6583
+ # @type IsEdgeOneIP: String
6584
+
6585
+ attr_accessor :IP, :IsEdgeOneIP
6586
+
6587
+ def initialize(ip=nil, isedgeoneip=nil)
6588
+ @IP = ip
6589
+ @IsEdgeOneIP = isedgeoneip
6590
+ end
6591
+
6592
+ def deserialize(params)
6593
+ @IP = params['IP']
6594
+ @IsEdgeOneIP = params['IsEdgeOneIP']
6595
+ end
6596
+ end
6597
+
6533
6598
  # 源站防护IP白名单
6534
6599
  class IPWhitelist < TencentCloud::Common::AbstractModel
6535
6600
  # @param IPv4: IPv4列表。
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.721
4
+ version: 3.0.723
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-12-06 00:00:00.000000000 Z
11
+ date: 2023-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common