tencentcloud-sdk-cat 3.0.446 → 3.0.447
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 +36 -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: 4a987b8223d7726877ac66e4ce23e924e47b58d7
|
4
|
+
data.tar.gz: ddcfcd4c86e4f0d5afd66866bb42e430df418630
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63cf17ec77eea312afa51b6088e93e8fb197ab7028f033173f06d0e68266dfa9c59fc426695c6d79bde90afda3f06b37fadd33909d09fc2ca0d28914ebaf50b8
|
7
|
+
data.tar.gz: 527f2ad93282abd5232d170eed8e36583e14ecbb841088e2198344b64e1d8feaf04e957f2ce002d0e51daa849d443bc9758abbc022d06782e0de23609ce75f10
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.447
|
data/lib/v20180409/client.rb
CHANGED
@@ -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.
|
data/lib/v20180409/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.447
|
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-
|
11
|
+
date: 2022-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|