tencentcloud-sdk-cat 1.0.364 → 3.0.380

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c33ef2bc71ddf315fb000707d54c13ae6512b39
4
- data.tar.gz: 1438516cfde695b44a305d03faef8c0d2298877f
3
+ metadata.gz: e0d90b558576864313c3d88ae8ea82edac01886e
4
+ data.tar.gz: a94a7fb640b5d3110829a786ebab4379cf665419
5
5
  SHA512:
6
- metadata.gz: da3dbc4d61989e09204cdbbff1b08f240ff2638f7732a14e474ee66765db4fcba34e62e664990013db9f5596bf1b4185464d7a8d8b68b06eab5c3944cef5b5da
7
- data.tar.gz: 7d2f8d67c69333b29dabc843f9872f561915067abe5b70699cc57c128218001f841a13af5e63ab4c78abec7d32e1a112c3fc3cf109077bfc5f226bbf834d86a3
6
+ metadata.gz: e236d1652fc1bf2f5753e57ea01e3aa8419ced8d585692e4f1a50d335d3459731c8c8ccc11c07b96e226e43934f861d6c6e2f71fbbdd7db99b28562b8339956c
7
+ data.tar.gz: 2082228c476075254ae5e9cfbe58360273b618d9e5fe5705b68f4679dd4ff95f2d594966f2ba5559e99211c19ad7e29c8a6e7b3e4f8903fabad29119ae000be8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.364
1
+ 3.0.380
@@ -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: 任务名
@@ -799,11 +941,7 @@ module TencentCloud
799
941
  end
800
942
  end
801
943
 
802
- # type ProbeTaskBasicConfiguration struct {
803
- # TaskID TaskID `json:"TaskId" gorm:"column:task_id"`
804
- # Name string `json:"Name" binding:"required" gorm:"column:name"`
805
- # TargetAddress string `json:"TargetAddress" binding:"required" gorm:"column:target_address"`
806
- # }
944
+ # 拨测任务基础配置
807
945
  class ProbeTaskBasicConfiguration < TencentCloud::Common::AbstractModel
808
946
  # @param Name: 拨测任务名称
809
947
  # @type Name: String
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: 1.0.364
4
+ version: 3.0.380
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-07-26 00:00:00.000000000 Z
11
+ date: 2022-08-04 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