tencentcloud-sdk-iotvideo 3.0.534 → 3.0.536
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 +80 -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: 2d8f3850b47c0418ca43909e3da758680528ef8f
|
4
|
+
data.tar.gz: 443edd63ce47073efdb43a95be36377ee993f3c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cc09f0a5126724d142534a0ccf1e21767b692e50d5bb55350bd2952b77be7e4496926b89801fdaca3da4630ad3e4a56b0f28eef061cd4c2708a909cf6e22ff5
|
7
|
+
data.tar.gz: 69165296aa99d3d6e8ef245af9302343fa249cde75d9d7c67123bb7cfd711b75df708f705b8901188f1ee4b7ed0e24dd244b06c9d20bfff98affc6040f9b8a80
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.536
|
data/lib/v20211125/client.rb
CHANGED
@@ -149,6 +149,30 @@ module TencentCloud
|
|
149
149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
150
|
end
|
151
151
|
|
152
|
+
# 呼叫TRTC设备
|
153
|
+
|
154
|
+
# @param request: Request instance for CallTRTCDevice.
|
155
|
+
# @type request: :class:`Tencentcloud::iotvideo::V20211125::CallTRTCDeviceRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::iotvideo::V20211125::CallTRTCDeviceResponse`
|
157
|
+
def CallTRTCDevice(request)
|
158
|
+
body = send_request('CallTRTCDevice', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = CallTRTCDeviceResponse.new
|
162
|
+
model.deserialize(response['Response'])
|
163
|
+
model
|
164
|
+
else
|
165
|
+
code = response['Response']['Error']['Code']
|
166
|
+
message = response['Response']['Error']['Message']
|
167
|
+
reqid = response['Response']['RequestId']
|
168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
169
|
+
end
|
170
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
171
|
+
raise e
|
172
|
+
rescue StandardError => e
|
173
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
|
+
end
|
175
|
+
|
152
176
|
# 取消AI模型申请
|
153
177
|
|
154
178
|
# @param request: Request instance for CancelAIModelApplication.
|
data/lib/v20211125/models.rb
CHANGED
@@ -497,6 +497,49 @@ module TencentCloud
|
|
497
497
|
end
|
498
498
|
end
|
499
499
|
|
500
|
+
# CallTRTCDevice请求参数结构体
|
501
|
+
class CallTRTCDeviceRequest < TencentCloud::Common::AbstractModel
|
502
|
+
# @param ProductId: 产品ID
|
503
|
+
# @type ProductId: String
|
504
|
+
# @param DeviceName: 设备名称
|
505
|
+
# @type DeviceName: String
|
506
|
+
|
507
|
+
attr_accessor :ProductId, :DeviceName
|
508
|
+
|
509
|
+
def initialize(productid=nil, devicename=nil)
|
510
|
+
@ProductId = productid
|
511
|
+
@DeviceName = devicename
|
512
|
+
end
|
513
|
+
|
514
|
+
def deserialize(params)
|
515
|
+
@ProductId = params['ProductId']
|
516
|
+
@DeviceName = params['DeviceName']
|
517
|
+
end
|
518
|
+
end
|
519
|
+
|
520
|
+
# CallTRTCDevice返回参数结构体
|
521
|
+
class CallTRTCDeviceResponse < TencentCloud::Common::AbstractModel
|
522
|
+
# @param TRTCParams: TRTC SDK房间参数
|
523
|
+
# @type TRTCParams: :class:`Tencentcloud::Iotvideo.v20211125.models.TRTCParams`
|
524
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
525
|
+
# @type RequestId: String
|
526
|
+
|
527
|
+
attr_accessor :TRTCParams, :RequestId
|
528
|
+
|
529
|
+
def initialize(trtcparams=nil, requestid=nil)
|
530
|
+
@TRTCParams = trtcparams
|
531
|
+
@RequestId = requestid
|
532
|
+
end
|
533
|
+
|
534
|
+
def deserialize(params)
|
535
|
+
unless params['TRTCParams'].nil?
|
536
|
+
@TRTCParams = TRTCParams.new
|
537
|
+
@TRTCParams.deserialize(params['TRTCParams'])
|
538
|
+
end
|
539
|
+
@RequestId = params['RequestId']
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
500
543
|
# CancelAIModelApplication请求参数结构体
|
501
544
|
class CancelAIModelApplicationRequest < TencentCloud::Common::AbstractModel
|
502
545
|
# @param ModelId: AI模型ID
|
@@ -5772,6 +5815,43 @@ module TencentCloud
|
|
5772
5815
|
end
|
5773
5816
|
end
|
5774
5817
|
|
5818
|
+
# TRTC调用参数
|
5819
|
+
class TRTCParams < TencentCloud::Common::AbstractModel
|
5820
|
+
# @param SDKAppId: 应用id,供TRTC SDK使用
|
5821
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5822
|
+
# @type SDKAppId: Integer
|
5823
|
+
# @param UserId: 用户id,供TRTC SDK使用
|
5824
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5825
|
+
# @type UserId: String
|
5826
|
+
# @param UserSig: 用户id签名,供TRTC SDK使用
|
5827
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5828
|
+
# @type UserSig: String
|
5829
|
+
# @param StrRoomId: 房间id,供TRTC SDK使用
|
5830
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5831
|
+
# @type StrRoomId: String
|
5832
|
+
# @param PrivateMapKey: 权限票据,供TRTC SDK使用
|
5833
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5834
|
+
# @type PrivateMapKey: String
|
5835
|
+
|
5836
|
+
attr_accessor :SDKAppId, :UserId, :UserSig, :StrRoomId, :PrivateMapKey
|
5837
|
+
|
5838
|
+
def initialize(sdkappid=nil, userid=nil, usersig=nil, strroomid=nil, privatemapkey=nil)
|
5839
|
+
@SDKAppId = sdkappid
|
5840
|
+
@UserId = userid
|
5841
|
+
@UserSig = usersig
|
5842
|
+
@StrRoomId = strroomid
|
5843
|
+
@PrivateMapKey = privatemapkey
|
5844
|
+
end
|
5845
|
+
|
5846
|
+
def deserialize(params)
|
5847
|
+
@SDKAppId = params['SDKAppId']
|
5848
|
+
@UserId = params['UserId']
|
5849
|
+
@UserSig = params['UserSig']
|
5850
|
+
@StrRoomId = params['StrRoomId']
|
5851
|
+
@PrivateMapKey = params['PrivateMapKey']
|
5852
|
+
end
|
5853
|
+
end
|
5854
|
+
|
5775
5855
|
# TransferCloudStorage请求参数结构体
|
5776
5856
|
class TransferCloudStorageRequest < TencentCloud::Common::AbstractModel
|
5777
5857
|
# @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.536
|
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-03-
|
11
|
+
date: 2023-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|