tencentcloud-sdk-iotvideo 3.0.631 → 3.0.632
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/v20211125/client.rb +24 -0
- data/lib/v20211125/models.rb +40 -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: bfcc688644e4550319dc69cca38606b37a40363c
|
4
|
+
data.tar.gz: 17e39bd1fc28f021c561ce7c18c0d44e74b0e690
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8517543f088926111ca39cd9a07c06e92119459303f699944a09967b37f3d18e7bcc55680e78d72168219beb5122c7b6c6d13dbd7048077c4521c762fcefcd42
|
7
|
+
data.tar.gz: a617dc49a1b988a22cb7aceaafba178a1e6fa7a2bdfdb3d8ff5feb5e239d74b3599d26f828f4cd8bd2e058fcc37da43f24588849554dac7f58b620d9a64e7280
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.632
|
data/lib/v20211125/client.rb
CHANGED
@@ -2213,6 +2213,30 @@ module TencentCloud
|
|
2213
2213
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2214
2214
|
end
|
2215
2215
|
|
2216
|
+
# 重置云存事件
|
2217
|
+
|
2218
|
+
# @param request: Request instance for ResetCloudStorageEvent.
|
2219
|
+
# @type request: :class:`Tencentcloud::iotvideo::V20211125::ResetCloudStorageEventRequest`
|
2220
|
+
# @rtype: :class:`Tencentcloud::iotvideo::V20211125::ResetCloudStorageEventResponse`
|
2221
|
+
def ResetCloudStorageEvent(request)
|
2222
|
+
body = send_request('ResetCloudStorageEvent', request.serialize)
|
2223
|
+
response = JSON.parse(body)
|
2224
|
+
if response['Response'].key?('Error') == false
|
2225
|
+
model = ResetCloudStorageEventResponse.new
|
2226
|
+
model.deserialize(response['Response'])
|
2227
|
+
model
|
2228
|
+
else
|
2229
|
+
code = response['Response']['Error']['Code']
|
2230
|
+
message = response['Response']['Error']['Message']
|
2231
|
+
reqid = response['Response']['RequestId']
|
2232
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2233
|
+
end
|
2234
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2235
|
+
raise e
|
2236
|
+
rescue StandardError => e
|
2237
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2238
|
+
end
|
2239
|
+
|
2216
2240
|
# 本接口用于重试设备升级任务
|
2217
2241
|
|
2218
2242
|
# @param request: Request instance for RetryDeviceFirmwareTask.
|
data/lib/v20211125/models.rb
CHANGED
@@ -5753,6 +5753,46 @@ module TencentCloud
|
|
5753
5753
|
end
|
5754
5754
|
end
|
5755
5755
|
|
5756
|
+
# ResetCloudStorageEvent请求参数结构体
|
5757
|
+
class ResetCloudStorageEventRequest < TencentCloud::Common::AbstractModel
|
5758
|
+
# @param ProductId: 产品ID
|
5759
|
+
# @type ProductId: String
|
5760
|
+
# @param DeviceName: 设备名称
|
5761
|
+
# @type DeviceName: String
|
5762
|
+
# @param UserId: 用户ID
|
5763
|
+
# @type UserId: String
|
5764
|
+
|
5765
|
+
attr_accessor :ProductId, :DeviceName, :UserId
|
5766
|
+
|
5767
|
+
def initialize(productid=nil, devicename=nil, userid=nil)
|
5768
|
+
@ProductId = productid
|
5769
|
+
@DeviceName = devicename
|
5770
|
+
@UserId = userid
|
5771
|
+
end
|
5772
|
+
|
5773
|
+
def deserialize(params)
|
5774
|
+
@ProductId = params['ProductId']
|
5775
|
+
@DeviceName = params['DeviceName']
|
5776
|
+
@UserId = params['UserId']
|
5777
|
+
end
|
5778
|
+
end
|
5779
|
+
|
5780
|
+
# ResetCloudStorageEvent返回参数结构体
|
5781
|
+
class ResetCloudStorageEventResponse < TencentCloud::Common::AbstractModel
|
5782
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5783
|
+
# @type RequestId: String
|
5784
|
+
|
5785
|
+
attr_accessor :RequestId
|
5786
|
+
|
5787
|
+
def initialize(requestid=nil)
|
5788
|
+
@RequestId = requestid
|
5789
|
+
end
|
5790
|
+
|
5791
|
+
def deserialize(params)
|
5792
|
+
@RequestId = params['RequestId']
|
5793
|
+
end
|
5794
|
+
end
|
5795
|
+
|
5756
5796
|
# ResetCloudStorage请求参数结构体
|
5757
5797
|
class ResetCloudStorageRequest < TencentCloud::Common::AbstractModel
|
5758
5798
|
# @param ProductId: 产品ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iotvideo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.632
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|