tencentcloud-sdk-iotvideo 3.0.774 → 3.0.776

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29c50c94e8c4d350e64f4f7d8542113e8c13f7fc
4
- data.tar.gz: 68af2bab39a0f1c6f03618787beaefb8706bd3d1
3
+ metadata.gz: c40e58b4854481cefcf7d02339952a4acd2b554d
4
+ data.tar.gz: 501d67574eeb77c1613f4149e947ac63d23fa748
5
5
  SHA512:
6
- metadata.gz: c56d81387f3c29256813d473957475c1ae62b005ff4bdbfb7bc0f5316d9b5ce8b71f3a2c6a4e05366b3e07755f49bd37263480b686a359916c92f9d876e2bbf5
7
- data.tar.gz: e83dae3d7ab6f93cef93f0e5eb590100b8956d7e2119587a23a006bbaca7142dc5f8ac05532e9ac715db50bd8d004fcae8d5014b62b4087672d5544dbdc2379c
6
+ metadata.gz: fabdbfe3dcfbe41c45d540294c863599c33175b9dabd3f7da8a5b68f6a01d61dbec2e4765fe8a8619dc0a3d0e62ab27dadf791c8084b9b2f78bc58fea487698e
7
+ data.tar.gz: b8506fe8aa1cf70d96e1fb8f783c4471c9a62bbf4f200a88d07a998e48869cc27f4b1bab795edb5b4d0e8d05fd1b9f7cfd90978e18729fd40021f30f4f8c1e4b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.774
1
+ 3.0.776
@@ -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.
@@ -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.774
4
+ version: 3.0.776
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-04 00:00:00.000000000 Z
11
+ date: 2024-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common