tencentcloud-sdk-iotvideo 3.0.631 → 3.0.633
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: ddbc3578f581917532c5fed0ca6755444caa09ce
|
4
|
+
data.tar.gz: 1e8927eee73e7b42a204ca2f1c1e727d34cdcf2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b79a0056becace4916fb70b705c8b08a39960ee4ecfa6a88dea9785bff66f36d10fa53037aa48d6e45ba08860e61a24a321991eec3d7c2eb8a687296f53c2635
|
7
|
+
data.tar.gz: 25aae4ad1ef95244f33d7400e3fd663f34486e7f589f9ba2d8122a7784957ec3ccb5e2d25044102a6b461633d0c18db2f887855a5899278df8fb2b2db0f690bd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.633
|
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.633
|
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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|