tencentcloud-sdk-iotvideo 3.0.774 → 3.0.775
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 +44 -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: f471bfaa1b5c0684912c0fdaace1de35992e72e1
|
4
|
+
data.tar.gz: b062775b24dc6bb0ef5865fbcef5cbbd77e92ee3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa5228dfbf6fcc49776a43cb1959d2f22c4d25c1ce691f6ea2f4eb85bfb1b2ac70e2583e34cbb4315f9515047d904467a40cf2e227398cef0bfacc20543a6524
|
7
|
+
data.tar.gz: d2a8e5c8ea8f9918d5886bf94943141a37aca1cd2d8b01dd6e9aac62ce65ca1c3e321370d2040b09a708f9bbf7c1357286b909ba4255e9102b13e9c35c883b1a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.775
|
data/lib/v20211125/client.rb
CHANGED
@@ -1613,6 +1613,30 @@ module TencentCloud
|
|
1613
1613
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1614
1614
|
end
|
1615
1615
|
|
1616
|
+
# 拉取设备p2p信息
|
1617
|
+
|
1618
|
+
# @param request: Request instance for DescribeP2PInfo.
|
1619
|
+
# @type request: :class:`Tencentcloud::iotvideo::V20211125::DescribeP2PInfoRequest`
|
1620
|
+
# @rtype: :class:`Tencentcloud::iotvideo::V20211125::DescribeP2PInfoResponse`
|
1621
|
+
def DescribeP2PInfo(request)
|
1622
|
+
body = send_request('DescribeP2PInfo', request.serialize)
|
1623
|
+
response = JSON.parse(body)
|
1624
|
+
if response['Response'].key?('Error') == false
|
1625
|
+
model = DescribeP2PInfoResponse.new
|
1626
|
+
model.deserialize(response['Response'])
|
1627
|
+
model
|
1628
|
+
else
|
1629
|
+
code = response['Response']['Error']['Code']
|
1630
|
+
message = response['Response']['Error']['Message']
|
1631
|
+
reqid = response['Response']['RequestId']
|
1632
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1633
|
+
end
|
1634
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1635
|
+
raise e
|
1636
|
+
rescue StandardError => e
|
1637
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1638
|
+
end
|
1639
|
+
|
1616
1640
|
# 查询套餐消耗记录详情
|
1617
1641
|
|
1618
1642
|
# @param request: Request instance for DescribePackageConsumeTask.
|
data/lib/v20211125/models.rb
CHANGED
@@ -4159,6 +4159,50 @@ module TencentCloud
|
|
4159
4159
|
end
|
4160
4160
|
end
|
4161
4161
|
|
4162
|
+
# DescribeP2PInfo请求参数结构体
|
4163
|
+
class DescribeP2PInfoRequest < TencentCloud::Common::AbstractModel
|
4164
|
+
# @param ProductId: 产品ID
|
4165
|
+
# @type ProductId: String
|
4166
|
+
# @param DeviceName: 设备名称
|
4167
|
+
# @type DeviceName: String
|
4168
|
+
|
4169
|
+
attr_accessor :ProductId, :DeviceName
|
4170
|
+
|
4171
|
+
def initialize(productid=nil, devicename=nil)
|
4172
|
+
@ProductId = productid
|
4173
|
+
@DeviceName = devicename
|
4174
|
+
end
|
4175
|
+
|
4176
|
+
def deserialize(params)
|
4177
|
+
@ProductId = params['ProductId']
|
4178
|
+
@DeviceName = params['DeviceName']
|
4179
|
+
end
|
4180
|
+
end
|
4181
|
+
|
4182
|
+
# DescribeP2PInfo返回参数结构体
|
4183
|
+
class DescribeP2PInfoResponse < TencentCloud::Common::AbstractModel
|
4184
|
+
# @param P2PInfo: xp2pinfo信息
|
4185
|
+
# @type P2PInfo: String
|
4186
|
+
# @param ReportTime: 上报时间
|
4187
|
+
# @type ReportTime: Integer
|
4188
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4189
|
+
# @type RequestId: String
|
4190
|
+
|
4191
|
+
attr_accessor :P2PInfo, :ReportTime, :RequestId
|
4192
|
+
|
4193
|
+
def initialize(p2pinfo=nil, reporttime=nil, requestid=nil)
|
4194
|
+
@P2PInfo = p2pinfo
|
4195
|
+
@ReportTime = reporttime
|
4196
|
+
@RequestId = requestid
|
4197
|
+
end
|
4198
|
+
|
4199
|
+
def deserialize(params)
|
4200
|
+
@P2PInfo = params['P2PInfo']
|
4201
|
+
@ReportTime = params['ReportTime']
|
4202
|
+
@RequestId = params['RequestId']
|
4203
|
+
end
|
4204
|
+
end
|
4205
|
+
|
4162
4206
|
# DescribePackageConsumeTask请求参数结构体
|
4163
4207
|
class DescribePackageConsumeTaskRequest < TencentCloud::Common::AbstractModel
|
4164
4208
|
# @param TaskId: 任务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.775
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|