tencentcloud-sdk-iotexplorer 3.0.1139 → 3.0.1145
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190423/client.rb +24 -0
- data/lib/v20190423/models.rb +73 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68117c10869db8672eef2926d4a334a7fa280a68
|
4
|
+
data.tar.gz: ee846dc949fc0aeaa1d226d19ba8500ded891d45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27fd3cf6e4747ffab6ff86e4e94f58ab2e3830fd60d718644a6898b1b0bee04f7667f4f979172d32825e0c4052abcfdeb14498b2d238decb45506347dc16c23e
|
7
|
+
data.tar.gz: 9ed1287ef3f378740621897bb319a20929608f59d76a46ca6898ddcf4ef8af74ec5a03afb3f0ffbcbe837d7f1f0ffbd7124d5afc53d9676780a824473908b1ad
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1145
|
data/lib/v20190423/client.rb
CHANGED
@@ -2433,6 +2433,30 @@ module TencentCloud
|
|
2433
2433
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2434
2434
|
end
|
2435
2435
|
|
2436
|
+
# 本接口(DescribeSubscribedTopicPolicy)用于获取设备已订阅Topic列表
|
2437
|
+
|
2438
|
+
# @param request: Request instance for DescribeSubscribedTopicPolicy.
|
2439
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeSubscribedTopicPolicyRequest`
|
2440
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeSubscribedTopicPolicyResponse`
|
2441
|
+
def DescribeSubscribedTopicPolicy(request)
|
2442
|
+
body = send_request('DescribeSubscribedTopicPolicy', request.serialize)
|
2443
|
+
response = JSON.parse(body)
|
2444
|
+
if response['Response'].key?('Error') == false
|
2445
|
+
model = DescribeSubscribedTopicPolicyResponse.new
|
2446
|
+
model.deserialize(response['Response'])
|
2447
|
+
model
|
2448
|
+
else
|
2449
|
+
code = response['Response']['Error']['Code']
|
2450
|
+
message = response['Response']['Error']['Message']
|
2451
|
+
reqid = response['Response']['RequestId']
|
2452
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2453
|
+
end
|
2454
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2455
|
+
raise e
|
2456
|
+
rescue StandardError => e
|
2457
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2458
|
+
end
|
2459
|
+
|
2436
2460
|
# 拉取 TWeSee 配置
|
2437
2461
|
|
2438
2462
|
# @param request: Request instance for DescribeTWeSeeConfig.
|
data/lib/v20190423/models.rb
CHANGED
@@ -3379,22 +3379,29 @@ module TencentCloud
|
|
3379
3379
|
# @param DeviceName: 设备名称
|
3380
3380
|
# @type DeviceName: String
|
3381
3381
|
# @param ServiceType: 云存 AI 服务类型。可选值:
|
3382
|
-
# - `RealtimeObjectDetect`:目标检测
|
3383
3382
|
# - `Highlight`:视频浓缩
|
3384
3383
|
# @type ServiceType: String
|
3384
|
+
# @param ChannelId: 通道 ID
|
3385
|
+
# @type ChannelId: Integer
|
3386
|
+
# @param UserId: 用户 ID
|
3387
|
+
# @type UserId: String
|
3385
3388
|
|
3386
|
-
attr_accessor :ProductId, :DeviceName, :ServiceType
|
3389
|
+
attr_accessor :ProductId, :DeviceName, :ServiceType, :ChannelId, :UserId
|
3387
3390
|
|
3388
|
-
def initialize(productid=nil, devicename=nil, servicetype=nil)
|
3391
|
+
def initialize(productid=nil, devicename=nil, servicetype=nil, channelid=nil, userid=nil)
|
3389
3392
|
@ProductId = productid
|
3390
3393
|
@DeviceName = devicename
|
3391
3394
|
@ServiceType = servicetype
|
3395
|
+
@ChannelId = channelid
|
3396
|
+
@UserId = userid
|
3392
3397
|
end
|
3393
3398
|
|
3394
3399
|
def deserialize(params)
|
3395
3400
|
@ProductId = params['ProductId']
|
3396
3401
|
@DeviceName = params['DeviceName']
|
3397
3402
|
@ServiceType = params['ServiceType']
|
3403
|
+
@ChannelId = params['ChannelId']
|
3404
|
+
@UserId = params['UserId']
|
3398
3405
|
end
|
3399
3406
|
end
|
3400
3407
|
|
@@ -6173,6 +6180,53 @@ module TencentCloud
|
|
6173
6180
|
end
|
6174
6181
|
end
|
6175
6182
|
|
6183
|
+
# DescribeSubscribedTopicPolicy请求参数结构体
|
6184
|
+
class DescribeSubscribedTopicPolicyRequest < TencentCloud::Common::AbstractModel
|
6185
|
+
# @param ProductId: 产品ID
|
6186
|
+
# @type ProductId: String
|
6187
|
+
# @param DeviceName: 设备名称
|
6188
|
+
# @type DeviceName: String
|
6189
|
+
|
6190
|
+
attr_accessor :ProductId, :DeviceName
|
6191
|
+
|
6192
|
+
def initialize(productid=nil, devicename=nil)
|
6193
|
+
@ProductId = productid
|
6194
|
+
@DeviceName = devicename
|
6195
|
+
end
|
6196
|
+
|
6197
|
+
def deserialize(params)
|
6198
|
+
@ProductId = params['ProductId']
|
6199
|
+
@DeviceName = params['DeviceName']
|
6200
|
+
end
|
6201
|
+
end
|
6202
|
+
|
6203
|
+
# DescribeSubscribedTopicPolicy返回参数结构体
|
6204
|
+
class DescribeSubscribedTopicPolicyResponse < TencentCloud::Common::AbstractModel
|
6205
|
+
# @param Topics: 已订阅Topic信息
|
6206
|
+
# @type Topics: Array
|
6207
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6208
|
+
# @type RequestId: String
|
6209
|
+
|
6210
|
+
attr_accessor :Topics, :RequestId
|
6211
|
+
|
6212
|
+
def initialize(topics=nil, requestid=nil)
|
6213
|
+
@Topics = topics
|
6214
|
+
@RequestId = requestid
|
6215
|
+
end
|
6216
|
+
|
6217
|
+
def deserialize(params)
|
6218
|
+
unless params['Topics'].nil?
|
6219
|
+
@Topics = []
|
6220
|
+
params['Topics'].each do |i|
|
6221
|
+
subscribedtopicitem_tmp = SubscribedTopicItem.new
|
6222
|
+
subscribedtopicitem_tmp.deserialize(i)
|
6223
|
+
@Topics << subscribedtopicitem_tmp
|
6224
|
+
end
|
6225
|
+
end
|
6226
|
+
@RequestId = params['RequestId']
|
6227
|
+
end
|
6228
|
+
end
|
6229
|
+
|
6176
6230
|
# DescribeTWeSeeConfig请求参数结构体
|
6177
6231
|
class DescribeTWeSeeConfigRequest < TencentCloud::Common::AbstractModel
|
6178
6232
|
# @param ProductId: 产品ID
|
@@ -11892,6 +11946,22 @@ module TencentCloud
|
|
11892
11946
|
end
|
11893
11947
|
end
|
11894
11948
|
|
11949
|
+
# 已订阅Topic信息
|
11950
|
+
class SubscribedTopicItem < TencentCloud::Common::AbstractModel
|
11951
|
+
# @param TopicName: Topic名称
|
11952
|
+
# @type TopicName: String
|
11953
|
+
|
11954
|
+
attr_accessor :TopicName
|
11955
|
+
|
11956
|
+
def initialize(topicname=nil)
|
11957
|
+
@TopicName = topicname
|
11958
|
+
end
|
11959
|
+
|
11960
|
+
def deserialize(params)
|
11961
|
+
@TopicName = params['TopicName']
|
11962
|
+
end
|
11963
|
+
end
|
11964
|
+
|
11895
11965
|
# TRTC 的参数 可以用来加入房间
|
11896
11966
|
class TRTCParams < TencentCloud::Common::AbstractModel
|
11897
11967
|
# @param SdkAppId: TRTC入参: TRTC的实例ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iotexplorer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1145
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -34,8 +34,8 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- lib/tencentcloud-sdk-iotexplorer.rb
|
37
|
-
- lib/v20190423/models.rb
|
38
37
|
- lib/v20190423/client.rb
|
38
|
+
- lib/v20190423/models.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|