tencentcloud-sdk-gme 3.0.457 → 3.0.458
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/v20180711/client.rb +24 -0
- data/lib/v20180711/models.rb +212 -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: e5d2ce2b58cd92ee9cd5c575e4f98a5b6bb9ec1a
|
4
|
+
data.tar.gz: 6bd53f3d623a231fca004e1f252ff306d41922cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 621e54acdc8966ba047a41a935eea149b6238afec35628da8e0f87740b5d43812b429dc09397561486999540a71a8ed5d0fc3fc732e9a499f2fe26b8070f6ac2
|
7
|
+
data.tar.gz: 26d7e9267652f05b2f4de17055142548dd4d890bb03c00d43eec9d6abc7aa8dd891b23d9fb9dc832d1e384e92078e6a50d1eac021de49a412f5fc3baf435bf92
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.458
|
data/lib/v20180711/client.rb
CHANGED
@@ -279,6 +279,30 @@ module TencentCloud
|
|
279
279
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
280
280
|
end
|
281
281
|
|
282
|
+
# 本接口(DescribeApplicationList)用于查询自己账号下的应用列表
|
283
|
+
|
284
|
+
# @param request: Request instance for DescribeApplicationList.
|
285
|
+
# @type request: :class:`Tencentcloud::gme::V20180711::DescribeApplicationListRequest`
|
286
|
+
# @rtype: :class:`Tencentcloud::gme::V20180711::DescribeApplicationListResponse`
|
287
|
+
def DescribeApplicationList(request)
|
288
|
+
body = send_request('DescribeApplicationList', request.serialize)
|
289
|
+
response = JSON.parse(body)
|
290
|
+
if response['Response'].key?('Error') == false
|
291
|
+
model = DescribeApplicationListResponse.new
|
292
|
+
model.deserialize(response['Response'])
|
293
|
+
model
|
294
|
+
else
|
295
|
+
code = response['Response']['Error']['Code']
|
296
|
+
message = response['Response']['Error']['Message']
|
297
|
+
reqid = response['Response']['RequestId']
|
298
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
299
|
+
end
|
300
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
301
|
+
raise e
|
302
|
+
rescue StandardError => e
|
303
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
304
|
+
end
|
305
|
+
|
282
306
|
# 获取用户自定义送检信息
|
283
307
|
|
284
308
|
# @param request: Request instance for DescribeRealtimeScanConfig.
|
data/lib/v20180711/models.rb
CHANGED
@@ -264,6 +264,49 @@ module TencentCloud
|
|
264
264
|
end
|
265
265
|
end
|
266
266
|
|
267
|
+
# 获取应用列表返回
|
268
|
+
class ApplicationList < TencentCloud::Common::AbstractModel
|
269
|
+
# @param ServiceConf: 服务开关状态
|
270
|
+
# @type ServiceConf: :class:`Tencentcloud::Gme.v20180711.models.ServiceStatus`
|
271
|
+
# @param BizId: 应用ID(AppID)
|
272
|
+
# @type BizId: Integer
|
273
|
+
# @param AppName: 应用名称
|
274
|
+
# @type AppName: String
|
275
|
+
# @param ProjectId: 项目ID,默认为0
|
276
|
+
# @type ProjectId: Integer
|
277
|
+
# @param AppStatus: 应用状态,返回0表示正常,1表示关闭,2表示欠费停服,3表示欠费回收
|
278
|
+
# @type AppStatus: Integer
|
279
|
+
# @param CreateTime: 创建时间,Unix时间戳格式
|
280
|
+
# @type CreateTime: Integer
|
281
|
+
# @param AppType: 应用类型,无需关注此数值
|
282
|
+
# @type AppType: Integer
|
283
|
+
|
284
|
+
attr_accessor :ServiceConf, :BizId, :AppName, :ProjectId, :AppStatus, :CreateTime, :AppType
|
285
|
+
|
286
|
+
def initialize(serviceconf=nil, bizid=nil, appname=nil, projectid=nil, appstatus=nil, createtime=nil, apptype=nil)
|
287
|
+
@ServiceConf = serviceconf
|
288
|
+
@BizId = bizid
|
289
|
+
@AppName = appname
|
290
|
+
@ProjectId = projectid
|
291
|
+
@AppStatus = appstatus
|
292
|
+
@CreateTime = createtime
|
293
|
+
@AppType = apptype
|
294
|
+
end
|
295
|
+
|
296
|
+
def deserialize(params)
|
297
|
+
unless params['ServiceConf'].nil?
|
298
|
+
@ServiceConf = ServiceStatus.new
|
299
|
+
@ServiceConf.deserialize(params['ServiceConf'])
|
300
|
+
end
|
301
|
+
@BizId = params['BizId']
|
302
|
+
@AppName = params['AppName']
|
303
|
+
@ProjectId = params['ProjectId']
|
304
|
+
@AppStatus = params['AppStatus']
|
305
|
+
@CreateTime = params['CreateTime']
|
306
|
+
@AppType = params['AppType']
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
267
310
|
# 录音转文本用量统计数据
|
268
311
|
class AudioTextStatisticsItem < TencentCloud::Common::AbstractModel
|
269
312
|
# @param Data: 统计值,单位:秒
|
@@ -917,6 +960,87 @@ module TencentCloud
|
|
917
960
|
end
|
918
961
|
end
|
919
962
|
|
963
|
+
# DescribeApplicationList请求参数结构体
|
964
|
+
class DescribeApplicationListRequest < TencentCloud::Common::AbstractModel
|
965
|
+
# @param ProjectId: 项目ID,0表示默认项目,-1表示所有项目,如果需要查找具体项目下的应用列表,请填入具体项目ID,项目ID在项目管理中查看 https://console.cloud.tencent.com/project
|
966
|
+
# @type ProjectId: Integer
|
967
|
+
# @param PageNo: 页码ID,0表示第一页,以此后推。默认填0
|
968
|
+
# @type PageNo: Integer
|
969
|
+
# @param PageSize: 每页展示应用数量。默认填200
|
970
|
+
# @type PageSize: Integer
|
971
|
+
# @param SearchText: 所查找应用名称的关键字,支持模糊匹配查找。空串表示查询所有应用
|
972
|
+
# @type SearchText: String
|
973
|
+
# @param TagSet: 标签列表
|
974
|
+
# @type TagSet: Array
|
975
|
+
# @param Filters: 查找过滤关键字列表
|
976
|
+
# @type Filters: Array
|
977
|
+
|
978
|
+
attr_accessor :ProjectId, :PageNo, :PageSize, :SearchText, :TagSet, :Filters
|
979
|
+
|
980
|
+
def initialize(projectid=nil, pageno=nil, pagesize=nil, searchtext=nil, tagset=nil, filters=nil)
|
981
|
+
@ProjectId = projectid
|
982
|
+
@PageNo = pageno
|
983
|
+
@PageSize = pagesize
|
984
|
+
@SearchText = searchtext
|
985
|
+
@TagSet = tagset
|
986
|
+
@Filters = filters
|
987
|
+
end
|
988
|
+
|
989
|
+
def deserialize(params)
|
990
|
+
@ProjectId = params['ProjectId']
|
991
|
+
@PageNo = params['PageNo']
|
992
|
+
@PageSize = params['PageSize']
|
993
|
+
@SearchText = params['SearchText']
|
994
|
+
unless params['TagSet'].nil?
|
995
|
+
@TagSet = []
|
996
|
+
params['TagSet'].each do |i|
|
997
|
+
tag_tmp = Tag.new
|
998
|
+
tag_tmp.deserialize(i)
|
999
|
+
@TagSet << tag_tmp
|
1000
|
+
end
|
1001
|
+
end
|
1002
|
+
unless params['Filters'].nil?
|
1003
|
+
@Filters = []
|
1004
|
+
params['Filters'].each do |i|
|
1005
|
+
filter_tmp = Filter.new
|
1006
|
+
filter_tmp.deserialize(i)
|
1007
|
+
@Filters << filter_tmp
|
1008
|
+
end
|
1009
|
+
end
|
1010
|
+
end
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
# DescribeApplicationList返回参数结构体
|
1014
|
+
class DescribeApplicationListResponse < TencentCloud::Common::AbstractModel
|
1015
|
+
# @param ApplicationList: 获取应用列表返回
|
1016
|
+
# @type ApplicationList: Array
|
1017
|
+
# @param Total: 应用总数
|
1018
|
+
# @type Total: Integer
|
1019
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1020
|
+
# @type RequestId: String
|
1021
|
+
|
1022
|
+
attr_accessor :ApplicationList, :Total, :RequestId
|
1023
|
+
|
1024
|
+
def initialize(applicationlist=nil, total=nil, requestid=nil)
|
1025
|
+
@ApplicationList = applicationlist
|
1026
|
+
@Total = total
|
1027
|
+
@RequestId = requestid
|
1028
|
+
end
|
1029
|
+
|
1030
|
+
def deserialize(params)
|
1031
|
+
unless params['ApplicationList'].nil?
|
1032
|
+
@ApplicationList = []
|
1033
|
+
params['ApplicationList'].each do |i|
|
1034
|
+
applicationlist_tmp = ApplicationList.new
|
1035
|
+
applicationlist_tmp.deserialize(i)
|
1036
|
+
@ApplicationList << applicationlist_tmp
|
1037
|
+
end
|
1038
|
+
end
|
1039
|
+
@Total = params['Total']
|
1040
|
+
@RequestId = params['RequestId']
|
1041
|
+
end
|
1042
|
+
end
|
1043
|
+
|
920
1044
|
# DescribeRealtimeScanConfig请求参数结构体
|
921
1045
|
class DescribeRealtimeScanConfigRequest < TencentCloud::Common::AbstractModel
|
922
1046
|
# @param BizId: 应用ID
|
@@ -1225,6 +1349,26 @@ module TencentCloud
|
|
1225
1349
|
end
|
1226
1350
|
end
|
1227
1351
|
|
1352
|
+
# 查找过滤
|
1353
|
+
class Filter < TencentCloud::Common::AbstractModel
|
1354
|
+
# @param Name: 要过滤的字段名, 比如"AppName"
|
1355
|
+
# @type Name: String
|
1356
|
+
# @param Values: 多个关键字
|
1357
|
+
# @type Values: Array
|
1358
|
+
|
1359
|
+
attr_accessor :Name, :Values
|
1360
|
+
|
1361
|
+
def initialize(name=nil, values=nil)
|
1362
|
+
@Name = name
|
1363
|
+
@Values = values
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
def deserialize(params)
|
1367
|
+
@Name = params['Name']
|
1368
|
+
@Values = params['Values']
|
1369
|
+
end
|
1370
|
+
end
|
1371
|
+
|
1228
1372
|
# GetCustomizationList请求参数结构体
|
1229
1373
|
class GetCustomizationListRequest < TencentCloud::Common::AbstractModel
|
1230
1374
|
# @param BizId: 应用 ID,登录控制台创建应用得到的AppID
|
@@ -1811,6 +1955,58 @@ module TencentCloud
|
|
1811
1955
|
end
|
1812
1956
|
end
|
1813
1957
|
|
1958
|
+
# 服务开关状态
|
1959
|
+
class ServiceStatus < TencentCloud::Common::AbstractModel
|
1960
|
+
# @param RealTimeSpeech: 实时语音服务开关状态
|
1961
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1962
|
+
# @type RealTimeSpeech: :class:`Tencentcloud::Gme.v20180711.models.StatusInfo`
|
1963
|
+
# @param VoiceMessage: 语音消息服务开关状态
|
1964
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1965
|
+
# @type VoiceMessage: :class:`Tencentcloud::Gme.v20180711.models.StatusInfo`
|
1966
|
+
# @param Porn: 语音内容安全服务开关状态
|
1967
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1968
|
+
# @type Porn: :class:`Tencentcloud::Gme.v20180711.models.StatusInfo`
|
1969
|
+
# @param Live: 语音录制服务开关状态
|
1970
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1971
|
+
# @type Live: :class:`Tencentcloud::Gme.v20180711.models.StatusInfo`
|
1972
|
+
# @param RealTimeAsr: 语音转文本服务开关状态
|
1973
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1974
|
+
# @type RealTimeAsr: :class:`Tencentcloud::Gme.v20180711.models.StatusInfo`
|
1975
|
+
|
1976
|
+
attr_accessor :RealTimeSpeech, :VoiceMessage, :Porn, :Live, :RealTimeAsr
|
1977
|
+
|
1978
|
+
def initialize(realtimespeech=nil, voicemessage=nil, porn=nil, live=nil, realtimeasr=nil)
|
1979
|
+
@RealTimeSpeech = realtimespeech
|
1980
|
+
@VoiceMessage = voicemessage
|
1981
|
+
@Porn = porn
|
1982
|
+
@Live = live
|
1983
|
+
@RealTimeAsr = realtimeasr
|
1984
|
+
end
|
1985
|
+
|
1986
|
+
def deserialize(params)
|
1987
|
+
unless params['RealTimeSpeech'].nil?
|
1988
|
+
@RealTimeSpeech = StatusInfo.new
|
1989
|
+
@RealTimeSpeech.deserialize(params['RealTimeSpeech'])
|
1990
|
+
end
|
1991
|
+
unless params['VoiceMessage'].nil?
|
1992
|
+
@VoiceMessage = StatusInfo.new
|
1993
|
+
@VoiceMessage.deserialize(params['VoiceMessage'])
|
1994
|
+
end
|
1995
|
+
unless params['Porn'].nil?
|
1996
|
+
@Porn = StatusInfo.new
|
1997
|
+
@Porn.deserialize(params['Porn'])
|
1998
|
+
end
|
1999
|
+
unless params['Live'].nil?
|
2000
|
+
@Live = StatusInfo.new
|
2001
|
+
@Live.deserialize(params['Live'])
|
2002
|
+
end
|
2003
|
+
unless params['RealTimeAsr'].nil?
|
2004
|
+
@RealTimeAsr = StatusInfo.new
|
2005
|
+
@RealTimeAsr.deserialize(params['RealTimeAsr'])
|
2006
|
+
end
|
2007
|
+
end
|
2008
|
+
end
|
2009
|
+
|
1814
2010
|
# 用量数据单元
|
1815
2011
|
class StatisticsItem < TencentCloud::Common::AbstractModel
|
1816
2012
|
# @param StatDate: 日期,格式为年-月-日,如2018-07-13
|
@@ -1831,6 +2027,22 @@ module TencentCloud
|
|
1831
2027
|
end
|
1832
2028
|
end
|
1833
2029
|
|
2030
|
+
# 服务开关状态
|
2031
|
+
class StatusInfo < TencentCloud::Common::AbstractModel
|
2032
|
+
# @param Status: 服务开关状态, 0-正常,1-关闭
|
2033
|
+
# @type Status: Integer
|
2034
|
+
|
2035
|
+
attr_accessor :Status
|
2036
|
+
|
2037
|
+
def initialize(status=nil)
|
2038
|
+
@Status = status
|
2039
|
+
end
|
2040
|
+
|
2041
|
+
def deserialize(params)
|
2042
|
+
@Status = params['Status']
|
2043
|
+
end
|
2044
|
+
end
|
2045
|
+
|
1834
2046
|
# 流式转文本用量数据
|
1835
2047
|
class StreamTextStatisticsItem < TencentCloud::Common::AbstractModel
|
1836
2048
|
# @param Data: 统计值,单位:秒
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-gme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.458
|
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-11-
|
11
|
+
date: 2022-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|