tencentcloud-sdk-iotcloud 3.0.387 → 3.0.388
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210408/client.rb +24 -0
- data/lib/v20210408/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: be6f7b74b4fa5198712b997ae0fd4b90db439d9b
|
4
|
+
data.tar.gz: ff213249a2437a0fe345d0607b19945470566b8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e723ff7908179274d6b0719c99bb40415c8275c63d705f906d1313dc877995415e7e792d94f2693c2f4aaf67ef717813247f20ba527b57bf939bb10bec11f2d8
|
7
|
+
data.tar.gz: 3cebc52f9f6a50be4f846aee9c5c4048f5645059c58fbf0261e2f8d21d27904935f1dc6a80a8de4ad30d0157d31574dbb7482286d7b866fd25812416bca711ea
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.388
|
data/lib/v20210408/client.rb
CHANGED
@@ -317,6 +317,30 @@ module TencentCloud
|
|
317
317
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
318
|
end
|
319
319
|
|
320
|
+
# 本接口(DeleteDeviceShadow)用于删除设备影子
|
321
|
+
|
322
|
+
# @param request: Request instance for DeleteDeviceShadow.
|
323
|
+
# @type request: :class:`Tencentcloud::iotcloud::V20210408::DeleteDeviceShadowRequest`
|
324
|
+
# @rtype: :class:`Tencentcloud::iotcloud::V20210408::DeleteDeviceShadowResponse`
|
325
|
+
def DeleteDeviceShadow(request)
|
326
|
+
body = send_request('DeleteDeviceShadow', request.serialize)
|
327
|
+
response = JSON.parse(body)
|
328
|
+
if response['Response'].key?('Error') == false
|
329
|
+
model = DeleteDeviceShadowResponse.new
|
330
|
+
model.deserialize(response['Response'])
|
331
|
+
model
|
332
|
+
else
|
333
|
+
code = response['Response']['Error']['Code']
|
334
|
+
message = response['Response']['Error']['Message']
|
335
|
+
reqid = response['Response']['RequestId']
|
336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
337
|
+
end
|
338
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
339
|
+
raise e
|
340
|
+
rescue StandardError => e
|
341
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
|
+
end
|
343
|
+
|
320
344
|
# 删除私有CA证书
|
321
345
|
|
322
346
|
# @param request: Request instance for DeletePrivateCA.
|
data/lib/v20210408/models.rb
CHANGED
@@ -831,6 +831,42 @@ module TencentCloud
|
|
831
831
|
end
|
832
832
|
end
|
833
833
|
|
834
|
+
# DeleteDeviceShadow请求参数结构体
|
835
|
+
class DeleteDeviceShadowRequest < TencentCloud::Common::AbstractModel
|
836
|
+
# @param ProductId: 产品ID
|
837
|
+
# @type ProductId: String
|
838
|
+
# @param DeviceName: 设备名称
|
839
|
+
# @type DeviceName: String
|
840
|
+
|
841
|
+
attr_accessor :ProductId, :DeviceName
|
842
|
+
|
843
|
+
def initialize(productid=nil, devicename=nil)
|
844
|
+
@ProductId = productid
|
845
|
+
@DeviceName = devicename
|
846
|
+
end
|
847
|
+
|
848
|
+
def deserialize(params)
|
849
|
+
@ProductId = params['ProductId']
|
850
|
+
@DeviceName = params['DeviceName']
|
851
|
+
end
|
852
|
+
end
|
853
|
+
|
854
|
+
# DeleteDeviceShadow返回参数结构体
|
855
|
+
class DeleteDeviceShadowResponse < TencentCloud::Common::AbstractModel
|
856
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
857
|
+
# @type RequestId: String
|
858
|
+
|
859
|
+
attr_accessor :RequestId
|
860
|
+
|
861
|
+
def initialize(requestid=nil)
|
862
|
+
@RequestId = requestid
|
863
|
+
end
|
864
|
+
|
865
|
+
def deserialize(params)
|
866
|
+
@RequestId = params['RequestId']
|
867
|
+
end
|
868
|
+
end
|
869
|
+
|
834
870
|
# DeletePrivateCA请求参数结构体
|
835
871
|
class DeletePrivateCARequest < TencentCloud::Common::AbstractModel
|
836
872
|
# @param CertName: 私有CA证书名称
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iotcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.388
|
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-
|
11
|
+
date: 2022-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|