tencentcloud-sdk-cat 3.0.446 → 3.0.448

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: 465946b9d9c7e3378465a4f386c003126d5de81b
4
- data.tar.gz: 497b04ae265638902116a6f441d9a1d59775be18
3
+ metadata.gz: 80e10ca044d54c3fe86f27b749baa9fed029a1a2
4
+ data.tar.gz: 24a9971a8094cd8e3ea0db17dc98790abbad3521
5
5
  SHA512:
6
- metadata.gz: 9ad965d79702f3e65d2efd259d3a0be47617d05870cae0a4025eee689f6529dcc6bc5d85c94afba96dce1192a4b8aeedd660e4879f0ccf86203d2eba0b6cea7f
7
- data.tar.gz: c00e5ed1c2504b65a68ffb6837b728164aa25b54d6c0d52180d261a77c4ceea86ca034002e082790695ecd177a98125d127110a127e33c7b3b2cdf3a0455b675
6
+ metadata.gz: 99e57b286b12782475a026b384da6519597629ffdb7460c98d7879460168f1df9580ef1de00c693cf99a01780233ad408499344521673591b5eac34e6ee45f0d
7
+ data.tar.gz: 2cb6ec511cb0985e1dc9b27f7498cb915b3f7fa0cb8b6133f91cc58c8e57975fda9a50806f2074ecb2052d82358470ebf17331335bb86e602bb338c91db4379e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.446
1
+ 3.0.448
@@ -245,6 +245,30 @@ module TencentCloud
245
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
246
  end
247
247
 
248
+ # 更新探测任务属性
249
+
250
+ # @param request: Request instance for UpdateProbeTaskAttributes.
251
+ # @type request: :class:`Tencentcloud::cat::V20180409::UpdateProbeTaskAttributesRequest`
252
+ # @rtype: :class:`Tencentcloud::cat::V20180409::UpdateProbeTaskAttributesResponse`
253
+ def UpdateProbeTaskAttributes(request)
254
+ body = send_request('UpdateProbeTaskAttributes', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = UpdateProbeTaskAttributesResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
248
272
  # 批量更新拨测任务配置
249
273
 
250
274
  # @param request: Request instance for UpdateProbeTaskConfigurationList.
@@ -1113,6 +1113,42 @@ module TencentCloud
1113
1113
  end
1114
1114
  end
1115
1115
 
1116
+ # UpdateProbeTaskAttributes请求参数结构体
1117
+ class UpdateProbeTaskAttributesRequest < TencentCloud::Common::AbstractModel
1118
+ # @param TaskId: 任务 ID
1119
+ # @type TaskId: String
1120
+ # @param Name: 任务名
1121
+ # @type Name: String
1122
+
1123
+ attr_accessor :TaskId, :Name
1124
+
1125
+ def initialize(taskid=nil, name=nil)
1126
+ @TaskId = taskid
1127
+ @Name = name
1128
+ end
1129
+
1130
+ def deserialize(params)
1131
+ @TaskId = params['TaskId']
1132
+ @Name = params['Name']
1133
+ end
1134
+ end
1135
+
1136
+ # UpdateProbeTaskAttributes返回参数结构体
1137
+ class UpdateProbeTaskAttributesResponse < TencentCloud::Common::AbstractModel
1138
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1139
+ # @type RequestId: String
1140
+
1141
+ attr_accessor :RequestId
1142
+
1143
+ def initialize(requestid=nil)
1144
+ @RequestId = requestid
1145
+ end
1146
+
1147
+ def deserialize(params)
1148
+ @RequestId = params['RequestId']
1149
+ end
1150
+ end
1151
+
1116
1152
  # UpdateProbeTaskConfigurationList请求参数结构体
1117
1153
  class UpdateProbeTaskConfigurationListRequest < TencentCloud::Common::AbstractModel
1118
1154
  # @param TaskIds: 任务 ID
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.446
4
+ version: 3.0.448
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-11-07 00:00:00.000000000 Z
11
+ date: 2022-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common