tencentcloud-sdk-cwp 3.0.939 → 3.0.941
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/v20180228/client.rb +0 -26
- data/lib/v20180228/models.rb +161 -906
- 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: f27806184988d0dc886003755db4efc0fc8459be
|
4
|
+
data.tar.gz: c29b71c4be9d1153eb81a2cf30c576c015e68b73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 702c5c8c7b07d876be810e45c4d4b9aebba35e66374187e0733070af6f9ad7b3ae2321f99333653fc419d670d8965627a82ccdc8259776f273be9cd716bcb564
|
7
|
+
data.tar.gz: b346312cef09e330b48a1de88d626bbc69faa0cf956f2b4ab356360f3545d6bbdb5a190c4fab9988dc308c5a981e197f343c55d8d40034506bfd8d4f8357dce4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.941
|
data/lib/v20180228/client.rb
CHANGED
@@ -341,32 +341,6 @@ module TencentCloud
|
|
341
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
342
|
end
|
343
343
|
|
344
|
-
# 云护航计费产品已下线
|
345
|
-
|
346
|
-
# 云护航服务使用完成后,该接口可以确认收货
|
347
|
-
|
348
|
-
# @param request: Request instance for CreateCloudProtectServiceOrderRecord.
|
349
|
-
# @type request: :class:`Tencentcloud::cwp::V20180228::CreateCloudProtectServiceOrderRecordRequest`
|
350
|
-
# @rtype: :class:`Tencentcloud::cwp::V20180228::CreateCloudProtectServiceOrderRecordResponse`
|
351
|
-
def CreateCloudProtectServiceOrderRecord(request)
|
352
|
-
body = send_request('CreateCloudProtectServiceOrderRecord', request.serialize)
|
353
|
-
response = JSON.parse(body)
|
354
|
-
if response['Response'].key?('Error') == false
|
355
|
-
model = CreateCloudProtectServiceOrderRecordResponse.new
|
356
|
-
model.deserialize(response['Response'])
|
357
|
-
model
|
358
|
-
else
|
359
|
-
code = response['Response']['Error']['Code']
|
360
|
-
message = response['Response']['Error']['Message']
|
361
|
-
reqid = response['Response']['RequestId']
|
362
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
363
|
-
end
|
364
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
365
|
-
raise e
|
366
|
-
rescue StandardError => e
|
367
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
368
|
-
end
|
369
|
-
|
370
344
|
# 创建应急漏洞扫描任务
|
371
345
|
|
372
346
|
# @param request: Request instance for CreateEmergencyVulScan.
|