tencentcloud-sdk-cat 3.0.1043 → 3.0.1044
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/v20180409/client.rb +24 -0
- data/lib/v20180409/models.rb +68 -0
- 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: d31b9915ff3f44249aa3880eb19b589d846f9ced
|
4
|
+
data.tar.gz: 65c85f9418ec9f8710f71afa50aa9ce13d5018ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dc0931be1f66cffe3bf3a34df1827bd046e86bf5f614f5cca32f5dd20fbc8c6590cc72e44860d9663fed5e8565c46d7fd8a310475cb6ccfe0b8fd6323ba7438
|
7
|
+
data.tar.gz: ca48a2d5b10c166b4bd42e41b628c6f9f11a407a92be2482303e890b4a5509996d3da3cd509fd32bd8bcaeff13962351357bc14aecb25059bd64e5dc04617a55
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1044
|
data/lib/v20180409/client.rb
CHANGED
@@ -125,6 +125,30 @@ module TencentCloud
|
|
125
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
126
|
end
|
127
127
|
|
128
|
+
# 获取拨测点组(可用性拨测点组、高级拨测点组、我的拨测点组)
|
129
|
+
|
130
|
+
# @param request: Request instance for DescribeNodeGroups.
|
131
|
+
# @type request: :class:`Tencentcloud::cat::V20180409::DescribeNodeGroupsRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::cat::V20180409::DescribeNodeGroupsResponse`
|
133
|
+
def DescribeNodeGroups(request)
|
134
|
+
body = send_request('DescribeNodeGroups', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = DescribeNodeGroupsResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
128
152
|
# 获取拨测节点
|
129
153
|
|
130
154
|
# @param request: Request instance for DescribeNodes.
|
data/lib/v20180409/models.rb
CHANGED
@@ -356,6 +356,74 @@ module TencentCloud
|
|
356
356
|
end
|
357
357
|
end
|
358
358
|
|
359
|
+
# DescribeNodeGroups请求参数结构体
|
360
|
+
class DescribeNodeGroupsRequest < TencentCloud::Common::AbstractModel
|
361
|
+
# @param NodeType: 节点类型。0: 全部 1: IDC 2: LastMile 3: Mobile,不填默认为0
|
362
|
+
# @type NodeType: Array
|
363
|
+
# @param TaskCategory: 节点分类。0: 全部 1: PC 2:Mobile,不填默认为0。PC分类包括IDC和LM节点类型,Mobile分类包括Mobile节点类型。与NodeType参数取交集。
|
364
|
+
# @type TaskCategory: Integer
|
365
|
+
# @param IPType: IP类型。0: 全部 1: IPv4 2: IPv6,不填默认为0
|
366
|
+
# @type IPType: Integer
|
367
|
+
# @param Name: 拨测点描述关键词。
|
368
|
+
# @type Name: String
|
369
|
+
# @param RegionID: 地域ID。0: 精选拨测点 1: 国内 2: 港澳台 3: 亚太 4: 欧洲与美洲 5: 非洲与大洋洲,不填默认为0
|
370
|
+
# @type RegionID: Integer
|
371
|
+
# @param DistrictID: 省份或国家ID。0表示全部,不填默认为0
|
372
|
+
# @type DistrictID: Integer
|
373
|
+
# @param NetServiceID: 运营商ID。0: 全部 1: 中国电信 2: 中国联通 3: 中国移动 99: 其他,不填默认为0
|
374
|
+
# @type NetServiceID: Integer
|
375
|
+
# @param NodeGroupType: 节点组类型。0: 高级拨测点组 1: 可用性节点 2: 我的拨测点组,不填默认为0
|
376
|
+
# @type NodeGroupType: Integer
|
377
|
+
# @param TaskType: 任务类型,如1、2、3、4、5、6、7;1-页面性能、2-文件上传、3-文件下载、4-端口性能、5-网络质量、6-音视频体验、7-域名whois,不填默认为0,不对任务类型做过滤
|
378
|
+
# @type TaskType: Integer
|
379
|
+
# @param ProbeType: 测试类型,包含定时测试与即时测试。0-定时拨测,其它表示即时拨测。
|
380
|
+
# @type ProbeType: Integer
|
381
|
+
|
382
|
+
attr_accessor :NodeType, :TaskCategory, :IPType, :Name, :RegionID, :DistrictID, :NetServiceID, :NodeGroupType, :TaskType, :ProbeType
|
383
|
+
|
384
|
+
def initialize(nodetype=nil, taskcategory=nil, iptype=nil, name=nil, regionid=nil, districtid=nil, netserviceid=nil, nodegrouptype=nil, tasktype=nil, probetype=nil)
|
385
|
+
@NodeType = nodetype
|
386
|
+
@TaskCategory = taskcategory
|
387
|
+
@IPType = iptype
|
388
|
+
@Name = name
|
389
|
+
@RegionID = regionid
|
390
|
+
@DistrictID = districtid
|
391
|
+
@NetServiceID = netserviceid
|
392
|
+
@NodeGroupType = nodegrouptype
|
393
|
+
@TaskType = tasktype
|
394
|
+
@ProbeType = probetype
|
395
|
+
end
|
396
|
+
|
397
|
+
def deserialize(params)
|
398
|
+
@NodeType = params['NodeType']
|
399
|
+
@TaskCategory = params['TaskCategory']
|
400
|
+
@IPType = params['IPType']
|
401
|
+
@Name = params['Name']
|
402
|
+
@RegionID = params['RegionID']
|
403
|
+
@DistrictID = params['DistrictID']
|
404
|
+
@NetServiceID = params['NetServiceID']
|
405
|
+
@NodeGroupType = params['NodeGroupType']
|
406
|
+
@TaskType = params['TaskType']
|
407
|
+
@ProbeType = params['ProbeType']
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
# DescribeNodeGroups返回参数结构体
|
412
|
+
class DescribeNodeGroupsResponse < TencentCloud::Common::AbstractModel
|
413
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
414
|
+
# @type RequestId: String
|
415
|
+
|
416
|
+
attr_accessor :RequestId
|
417
|
+
|
418
|
+
def initialize(requestid=nil)
|
419
|
+
@RequestId = requestid
|
420
|
+
end
|
421
|
+
|
422
|
+
def deserialize(params)
|
423
|
+
@RequestId = params['RequestId']
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
359
427
|
# DescribeNodes请求参数结构体
|
360
428
|
class DescribeNodesRequest < TencentCloud::Common::AbstractModel
|
361
429
|
# @param NodeType: 节点类型
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1044
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|