tencentcloud-sdk-trtc 1.0.355 → 1.0.356
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/v20190722/client.rb +0 -24
- data/lib/v20190722/models.rb +0 -68
- 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: 32d5eaf7f2b320d115fa8b2dfee32a7d06958dbc
|
4
|
+
data.tar.gz: 9e9d53aa473da302b16a3e1db5fb73ff0fd5dace
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b37aa3d5db440f361f9ce8471573307c8972eda365d99714fb138929451a02e04db6b936e21a7e0635ae27a407346c1ed6ba9e0924a88d3c805d8be25d758ed
|
7
|
+
data.tar.gz: ec5e99f9e3dcc03b83fa256bb275fa6d96426904c8fc6fb0c2a5ed7979e8351344c559b271a11a24d2d3aaed91228875af900dc2f27a954ab45c37124736f842
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.356
|
data/lib/v20190722/client.rb
CHANGED
@@ -53,30 +53,6 @@ module TencentCloud
|
|
53
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
54
|
end
|
55
55
|
|
56
|
-
# 创建异常信息
|
57
|
-
|
58
|
-
# @param request: Request instance for CreateTroubleInfo.
|
59
|
-
# @type request: :class:`Tencentcloud::trtc::V20190722::CreateTroubleInfoRequest`
|
60
|
-
# @rtype: :class:`Tencentcloud::trtc::V20190722::CreateTroubleInfoResponse`
|
61
|
-
def CreateTroubleInfo(request)
|
62
|
-
body = send_request('CreateTroubleInfo', request.serialize)
|
63
|
-
response = JSON.parse(body)
|
64
|
-
if response['Response'].key?('Error') == false
|
65
|
-
model = CreateTroubleInfoResponse.new
|
66
|
-
model.deserialize(response['Response'])
|
67
|
-
model
|
68
|
-
else
|
69
|
-
code = response['Response']['Error']['Code']
|
70
|
-
message = response['Response']['Error']['Message']
|
71
|
-
reqid = response['Response']['RequestId']
|
72
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
-
end
|
74
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
-
raise e
|
76
|
-
rescue StandardError => e
|
77
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
-
end
|
79
|
-
|
80
56
|
# 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁删除自定义背景图或水印,可通过此接口删除已上传的图片。无需频繁删除图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
81
57
|
|
82
58
|
# @param request: Request instance for DeletePicture.
|
data/lib/v20190722/models.rb
CHANGED
@@ -137,74 +137,6 @@ module TencentCloud
|
|
137
137
|
end
|
138
138
|
end
|
139
139
|
|
140
|
-
# CreateTroubleInfo请求参数结构体
|
141
|
-
class CreateTroubleInfoRequest < TencentCloud::Common::AbstractModel
|
142
|
-
# @param SdkAppId: 应用的ID
|
143
|
-
# @type SdkAppId: String
|
144
|
-
# @param RoomId: 房间ID
|
145
|
-
# @type RoomId: String
|
146
|
-
# @param TeacherUserId: 老师用户ID
|
147
|
-
# @type TeacherUserId: String
|
148
|
-
# @param StudentUserId: 学生用户ID
|
149
|
-
# @type StudentUserId: String
|
150
|
-
# @param TroubleUserId: 体验异常端(老师或学生)的用户 ID。
|
151
|
-
# @type TroubleUserId: String
|
152
|
-
# @param TroubleType: 异常类型。
|
153
|
-
# 1. 仅视频异常
|
154
|
-
# 2. 仅声音异常
|
155
|
-
# 3. 音视频都异常
|
156
|
-
# 5. 进房异常
|
157
|
-
# 4. 切课
|
158
|
-
# 6. 求助
|
159
|
-
# 7. 问题反馈
|
160
|
-
# 8. 投诉
|
161
|
-
# @type TroubleType: Integer
|
162
|
-
# @param TroubleTime: 异常发生的UNIX 时间戳,单位为秒。
|
163
|
-
# @type TroubleTime: Integer
|
164
|
-
# @param TroubleMsg: 异常详情
|
165
|
-
# @type TroubleMsg: String
|
166
|
-
|
167
|
-
attr_accessor :SdkAppId, :RoomId, :TeacherUserId, :StudentUserId, :TroubleUserId, :TroubleType, :TroubleTime, :TroubleMsg
|
168
|
-
|
169
|
-
def initialize(sdkappid=nil, roomid=nil, teacheruserid=nil, studentuserid=nil, troubleuserid=nil, troubletype=nil, troubletime=nil, troublemsg=nil)
|
170
|
-
@SdkAppId = sdkappid
|
171
|
-
@RoomId = roomid
|
172
|
-
@TeacherUserId = teacheruserid
|
173
|
-
@StudentUserId = studentuserid
|
174
|
-
@TroubleUserId = troubleuserid
|
175
|
-
@TroubleType = troubletype
|
176
|
-
@TroubleTime = troubletime
|
177
|
-
@TroubleMsg = troublemsg
|
178
|
-
end
|
179
|
-
|
180
|
-
def deserialize(params)
|
181
|
-
@SdkAppId = params['SdkAppId']
|
182
|
-
@RoomId = params['RoomId']
|
183
|
-
@TeacherUserId = params['TeacherUserId']
|
184
|
-
@StudentUserId = params['StudentUserId']
|
185
|
-
@TroubleUserId = params['TroubleUserId']
|
186
|
-
@TroubleType = params['TroubleType']
|
187
|
-
@TroubleTime = params['TroubleTime']
|
188
|
-
@TroubleMsg = params['TroubleMsg']
|
189
|
-
end
|
190
|
-
end
|
191
|
-
|
192
|
-
# CreateTroubleInfo返回参数结构体
|
193
|
-
class CreateTroubleInfoResponse < TencentCloud::Common::AbstractModel
|
194
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
195
|
-
# @type RequestId: String
|
196
|
-
|
197
|
-
attr_accessor :RequestId
|
198
|
-
|
199
|
-
def initialize(requestid=nil)
|
200
|
-
@RequestId = requestid
|
201
|
-
end
|
202
|
-
|
203
|
-
def deserialize(params)
|
204
|
-
@RequestId = params['RequestId']
|
205
|
-
end
|
206
|
-
end
|
207
|
-
|
208
140
|
# DeletePicture请求参数结构体
|
209
141
|
class DeletePictureRequest < TencentCloud::Common::AbstractModel
|
210
142
|
# @param PictureId: 图片id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-trtc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.356
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|