tencentcloud-sdk-cat 3.0.371 → 3.0.379

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: c552b9b2946b0f02e93b83b9ad32ccf1a7122621
4
- data.tar.gz: b910c255090962ea10d782fe988cad517effbaf4
3
+ metadata.gz: 187d642d001f244bef5a8764337986d12b7360f1
4
+ data.tar.gz: b9d68aaccc52f5f957bda30b05650f0c4baa2fc8
5
5
  SHA512:
6
- metadata.gz: 3e247b42b2829b1f7d3a37fe90de83e70a858f74e0d00553d7c6fec530efad78c901f870ab78f9fab6b3028e546edfde1b5c42b7e37956f3644d73898a5b8e7f
7
- data.tar.gz: 9ff1cdf4b63a71fcc0cba245b20d86b3db726802bf5326f6f20c2ad1b09d00317c9a6dd6086b98d83bbeacd33a72f8060765133995bf5c0fc3c926d14baf3430
6
+ metadata.gz: 829f8808ca852cc7aec9a2e938463f648b8438027df2a77ba5bcd9a54f0429a26740aadc2e3e9370b89e9bcfdb63f43969ee19d882a6407bb62ac3b6dd44ee13
7
+ data.tar.gz: 7c2dbd948b6bd5da2b08212bb98b1b6bc1a78d412e72aaba71f71ab787d594ff99ca839c8d96c4e2be63e954c9706ed8fdc398ca750dd3332c92f10fa4c68a48
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.371
1
+ 3.0.379
@@ -101,6 +101,30 @@ module TencentCloud
101
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
102
  end
103
103
 
104
+ # 获取拨测节点
105
+
106
+ # @param request: Request instance for DescribeNodes.
107
+ # @type request: :class:`Tencentcloud::cat::V20180409::DescribeNodesRequest`
108
+ # @rtype: :class:`Tencentcloud::cat::V20180409::DescribeNodesResponse`
109
+ def DescribeNodes(request)
110
+ body = send_request('DescribeNodes', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DescribeNodesResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
104
128
  # 查询云拨测指标数据,指标支持使用sum,avg,max,min聚合函数进行指标数据查询
105
129
 
106
130
  # @param request: Request instance for DescribeProbeMetricData.
@@ -284,6 +284,84 @@ module TencentCloud
284
284
  end
285
285
  end
286
286
 
287
+ # DescribeNodes请求参数结构体
288
+ class DescribeNodesRequest < TencentCloud::Common::AbstractModel
289
+ # @param NodeType: 节点类型
290
+ # <li> 1 = IDC </li>
291
+ # <li> 2 = LastMile </li>
292
+ # <li> 3 = Mobile </li>
293
+ # @type NodeType: Integer
294
+ # @param Location: 节点区域
295
+ # <li> 1 = 中国大陆 </li>
296
+ # <li> 2 = 港澳台 </li>
297
+ # <li> 3 = 海外 </li>
298
+ # @type Location: Integer
299
+ # @param IsIPv6: 是否IPv6
300
+ # @type IsIPv6: Boolean
301
+ # @param NodeName: 名字模糊搜索
302
+ # @type NodeName: String
303
+ # @param PayMode: 付费模式
304
+ # <li>1 = 试用版本</li>
305
+ # <li> 2 = 付费版本 </li>
306
+ # @type PayMode: Integer
307
+ # @param TaskType: 任务类型
308
+ # <li>1 = 页面性能</li>
309
+ # <li>2 = 文件上传</li>
310
+ # <li>3 = 文件下载</li>
311
+ # <li>4 = 端口性能</li>
312
+ # <li>5 = 网络质量</li>
313
+ # <li>6 = 音视频体验</li>
314
+ # @type TaskType: Integer
315
+
316
+ attr_accessor :NodeType, :Location, :IsIPv6, :NodeName, :PayMode, :TaskType
317
+
318
+ def initialize(nodetype=nil, location=nil, isipv6=nil, nodename=nil, paymode=nil, tasktype=nil)
319
+ @NodeType = nodetype
320
+ @Location = location
321
+ @IsIPv6 = isipv6
322
+ @NodeName = nodename
323
+ @PayMode = paymode
324
+ @TaskType = tasktype
325
+ end
326
+
327
+ def deserialize(params)
328
+ @NodeType = params['NodeType']
329
+ @Location = params['Location']
330
+ @IsIPv6 = params['IsIPv6']
331
+ @NodeName = params['NodeName']
332
+ @PayMode = params['PayMode']
333
+ @TaskType = params['TaskType']
334
+ end
335
+ end
336
+
337
+ # DescribeNodes返回参数结构体
338
+ class DescribeNodesResponse < TencentCloud::Common::AbstractModel
339
+ # @param NodeSet: 节点列表
340
+ # 注意:此字段可能返回 null,表示取不到有效值。
341
+ # @type NodeSet: Array
342
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
343
+ # @type RequestId: String
344
+
345
+ attr_accessor :NodeSet, :RequestId
346
+
347
+ def initialize(nodeset=nil, requestid=nil)
348
+ @NodeSet = nodeset
349
+ @RequestId = requestid
350
+ end
351
+
352
+ def deserialize(params)
353
+ unless params['NodeSet'].nil?
354
+ @NodeSet = []
355
+ params['NodeSet'].each do |i|
356
+ nodedefineext_tmp = NodeDefineExt.new
357
+ nodedefineext_tmp.deserialize(i)
358
+ @NodeSet << nodedefineext_tmp
359
+ end
360
+ end
361
+ @RequestId = params['RequestId']
362
+ end
363
+ end
364
+
287
365
  # DescribeProbeMetricData请求参数结构体
288
366
  class DescribeProbeMetricDataRequest < TencentCloud::Common::AbstractModel
289
367
  # @param AnalyzeTaskType: 分析任务类型,支持以下几种类型:
@@ -710,6 +788,70 @@ module TencentCloud
710
788
  end
711
789
  end
712
790
 
791
+ # 探测节点
792
+ class NodeDefineExt < TencentCloud::Common::AbstractModel
793
+ # @param Name: 节点名称
794
+ # @type Name: String
795
+ # @param Code: 节点代码
796
+ # @type Code: String
797
+ # @param Type: 节点类型
798
+ # <li> 1 = IDC </li>
799
+ # <li> 2 = LastMile </li>
800
+ # <li> 3 = Mobile </li>
801
+ # @type Type: Integer
802
+ # @param NetService: 网络服务商
803
+ # @type NetService: String
804
+ # @param District: 区域
805
+ # @type District: String
806
+ # @param City: 城市
807
+ # @type City: String
808
+ # @param IPType: IP 类型
809
+ # <li> 1 = IPv4 </li>
810
+ # <li> 2 = IPv6 </li>
811
+ # 注意:此字段可能返回 null,表示取不到有效值。
812
+ # @type IPType: Integer
813
+ # @param Location: 区域
814
+ # <li> 1 = 中国大陆 </li>
815
+ # <li> 2 = 港澳台 </li>
816
+ # <li> 3 = 国外 </li>
817
+ # 注意:此字段可能返回 null,表示取不到有效值。
818
+ # @type Location: Integer
819
+ # @param CodeType: 节点类型 如果为base 则为可用性拨测点,为空则为高级拨测点
820
+ # 注意:此字段可能返回 null,表示取不到有效值。
821
+ # @type CodeType: String
822
+ # @param TaskTypes: 节点支持的任务类型。1: 页面性能 2: 文件上传 3: 文件下载 4: 端口性能 5: 网络质量 6: 音视频体验
823
+ # 注意:此字段可能返回 null,表示取不到有效值。
824
+ # @type TaskTypes: Array
825
+
826
+ attr_accessor :Name, :Code, :Type, :NetService, :District, :City, :IPType, :Location, :CodeType, :TaskTypes
827
+
828
+ def initialize(name=nil, code=nil, type=nil, netservice=nil, district=nil, city=nil, iptype=nil, location=nil, codetype=nil, tasktypes=nil)
829
+ @Name = name
830
+ @Code = code
831
+ @Type = type
832
+ @NetService = netservice
833
+ @District = district
834
+ @City = city
835
+ @IPType = iptype
836
+ @Location = location
837
+ @CodeType = codetype
838
+ @TaskTypes = tasktypes
839
+ end
840
+
841
+ def deserialize(params)
842
+ @Name = params['Name']
843
+ @Code = params['Code']
844
+ @Type = params['Type']
845
+ @NetService = params['NetService']
846
+ @District = params['District']
847
+ @City = params['City']
848
+ @IPType = params['IPType']
849
+ @Location = params['Location']
850
+ @CodeType = params['CodeType']
851
+ @TaskTypes = params['TaskTypes']
852
+ end
853
+ end
854
+
713
855
  # 拨测任务
714
856
  class ProbeTask < TencentCloud::Common::AbstractModel
715
857
  # @param Name: 任务名
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cat
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.371
4
+ version: 3.0.379
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-08-01 00:00:00.000000000 Z
11
+ date: 2022-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
27
  description: Tencent Cloud Ruby SDK is the official software development kit, which
@@ -33,10 +33,10 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/VERSION
37
36
  - lib/tencentcloud-sdk-cat.rb
38
- - lib/v20180409/client.rb
39
37
  - lib/v20180409/models.rb
38
+ - lib/v20180409/client.rb
39
+ - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses:
42
42
  - Apache-2.0
@@ -49,17 +49,17 @@ require_paths:
49
49
  - lib
50
50
  required_ruby_version: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
57
+ - - '>='
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0'
60
60
  requirements: []
61
61
  rubyforge_project:
62
- rubygems_version: 2.6.14
62
+ rubygems_version: 2.0.14
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Tencent Cloud SDK for Ruby - CAT