tencentcloud-sdk-iotexplorer 3.0.1127 → 3.0.1130
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 +120 -0
- data/lib/v20190423/models.rb +365 -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: 967b516f9b7919742367407032ba8ad8c3987805
|
4
|
+
data.tar.gz: 6012decf2b528c7091fa772b00f4541a07cfa1f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a06344e0f376a12961011c282e862ce21242c64d0d14718d818f7de3d1595fedc6bf19a29dcbd9b16db84724923d90abec8df2a109b3f9a14d114551522cbc97
|
7
|
+
data.tar.gz: 78898a07fb102030fc6299177fa9b98a5ac59716d9a9d7b018562ae082c26a193b1bfe05d16f748d147282f4821724ec73fb32fd40c80de669c688b3234c48b9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1130
|
data/lib/v20190423/client.rb
CHANGED
@@ -703,6 +703,30 @@ module TencentCloud
|
|
703
703
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
704
704
|
end
|
705
705
|
|
706
|
+
# 用于配置TWeTalk服务连接产品配置信息。
|
707
|
+
|
708
|
+
# @param request: Request instance for CreateTWeTalkProductConfig.
|
709
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateTWeTalkProductConfigRequest`
|
710
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateTWeTalkProductConfigResponse`
|
711
|
+
def CreateTWeTalkProductConfig(request)
|
712
|
+
body = send_request('CreateTWeTalkProductConfig', request.serialize)
|
713
|
+
response = JSON.parse(body)
|
714
|
+
if response['Response'].key?('Error') == false
|
715
|
+
model = CreateTWeTalkProductConfigResponse.new
|
716
|
+
model.deserialize(response['Response'])
|
717
|
+
model
|
718
|
+
else
|
719
|
+
code = response['Response']['Error']['Code']
|
720
|
+
message = response['Response']['Error']['Message']
|
721
|
+
reqid = response['Response']['RequestId']
|
722
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
723
|
+
end
|
724
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
725
|
+
raise e
|
726
|
+
rescue StandardError => e
|
727
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
728
|
+
end
|
729
|
+
|
706
730
|
# 本接口(CreateTopicPolicy)用于创建一个Topic
|
707
731
|
|
708
732
|
# @param request: Request instance for CreateTopicPolicy.
|
@@ -2313,6 +2337,54 @@ module TencentCloud
|
|
2313
2337
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2314
2338
|
end
|
2315
2339
|
|
2340
|
+
# 查询 TWeSee 语义理解任务
|
2341
|
+
|
2342
|
+
# @param request: Request instance for DescribeTWeSeeRecognitionTask.
|
2343
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeTWeSeeRecognitionTaskRequest`
|
2344
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeTWeSeeRecognitionTaskResponse`
|
2345
|
+
def DescribeTWeSeeRecognitionTask(request)
|
2346
|
+
body = send_request('DescribeTWeSeeRecognitionTask', request.serialize)
|
2347
|
+
response = JSON.parse(body)
|
2348
|
+
if response['Response'].key?('Error') == false
|
2349
|
+
model = DescribeTWeSeeRecognitionTaskResponse.new
|
2350
|
+
model.deserialize(response['Response'])
|
2351
|
+
model
|
2352
|
+
else
|
2353
|
+
code = response['Response']['Error']['Code']
|
2354
|
+
message = response['Response']['Error']['Message']
|
2355
|
+
reqid = response['Response']['RequestId']
|
2356
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2357
|
+
end
|
2358
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2359
|
+
raise e
|
2360
|
+
rescue StandardError => e
|
2361
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2362
|
+
end
|
2363
|
+
|
2364
|
+
# 用于获取TWeTalk服务连接产品配置信息。
|
2365
|
+
|
2366
|
+
# @param request: Request instance for DescribeTWeTalkProductConfig.
|
2367
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeTWeTalkProductConfigRequest`
|
2368
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeTWeTalkProductConfigResponse`
|
2369
|
+
def DescribeTWeTalkProductConfig(request)
|
2370
|
+
body = send_request('DescribeTWeTalkProductConfig', request.serialize)
|
2371
|
+
response = JSON.parse(body)
|
2372
|
+
if response['Response'].key?('Error') == false
|
2373
|
+
model = DescribeTWeTalkProductConfigResponse.new
|
2374
|
+
model.deserialize(response['Response'])
|
2375
|
+
model
|
2376
|
+
else
|
2377
|
+
code = response['Response']['Error']['Code']
|
2378
|
+
message = response['Response']['Error']['Message']
|
2379
|
+
reqid = response['Response']['RequestId']
|
2380
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2381
|
+
end
|
2382
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2383
|
+
raise e
|
2384
|
+
rescue StandardError => e
|
2385
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2386
|
+
end
|
2387
|
+
|
2316
2388
|
# 本接口(DescribeTopicPolicy)用于查看Topic详细信息
|
2317
2389
|
|
2318
2390
|
# @param request: Request instance for DescribeTopicPolicy.
|
@@ -2889,6 +2961,30 @@ module TencentCloud
|
|
2889
2961
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2890
2962
|
end
|
2891
2963
|
|
2964
|
+
# 用于获取TWeTalk服务连接产品配置信息列表。
|
2965
|
+
|
2966
|
+
# @param request: Request instance for GetTWeTalkProductConfigList.
|
2967
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::GetTWeTalkProductConfigListRequest`
|
2968
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::GetTWeTalkProductConfigListResponse`
|
2969
|
+
def GetTWeTalkProductConfigList(request)
|
2970
|
+
body = send_request('GetTWeTalkProductConfigList', request.serialize)
|
2971
|
+
response = JSON.parse(body)
|
2972
|
+
if response['Response'].key?('Error') == false
|
2973
|
+
model = GetTWeTalkProductConfigListResponse.new
|
2974
|
+
model.deserialize(response['Response'])
|
2975
|
+
model
|
2976
|
+
else
|
2977
|
+
code = response['Response']['Error']['Code']
|
2978
|
+
message = response['Response']['Error']['Message']
|
2979
|
+
reqid = response['Response']['RequestId']
|
2980
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2981
|
+
end
|
2982
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2983
|
+
raise e
|
2984
|
+
rescue StandardError => e
|
2985
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2986
|
+
end
|
2987
|
+
|
2892
2988
|
# 获取规则列表
|
2893
2989
|
|
2894
2990
|
# @param request: Request instance for GetTopicRuleList.
|
@@ -3489,6 +3585,30 @@ module TencentCloud
|
|
3489
3585
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3490
3586
|
end
|
3491
3587
|
|
3588
|
+
# 用于修改TWeTalk服务连接产品配置信息。
|
3589
|
+
|
3590
|
+
# @param request: Request instance for ModifyTWeTalkProductConfig.
|
3591
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ModifyTWeTalkProductConfigRequest`
|
3592
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::ModifyTWeTalkProductConfigResponse`
|
3593
|
+
def ModifyTWeTalkProductConfig(request)
|
3594
|
+
body = send_request('ModifyTWeTalkProductConfig', request.serialize)
|
3595
|
+
response = JSON.parse(body)
|
3596
|
+
if response['Response'].key?('Error') == false
|
3597
|
+
model = ModifyTWeTalkProductConfigResponse.new
|
3598
|
+
model.deserialize(response['Response'])
|
3599
|
+
model
|
3600
|
+
else
|
3601
|
+
code = response['Response']['Error']['Code']
|
3602
|
+
message = response['Response']['Error']['Message']
|
3603
|
+
reqid = response['Response']['RequestId']
|
3604
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3605
|
+
end
|
3606
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3607
|
+
raise e
|
3608
|
+
rescue StandardError => e
|
3609
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3610
|
+
end
|
3611
|
+
|
3492
3612
|
# 本接口(UpdateTopicPolicy)用于更新Topic信息
|
3493
3613
|
|
3494
3614
|
# @param request: Request instance for ModifyTopicPolicy.
|
data/lib/v20190423/models.rb
CHANGED
@@ -2307,6 +2307,54 @@ module TencentCloud
|
|
2307
2307
|
end
|
2308
2308
|
end
|
2309
2309
|
|
2310
|
+
# CreateTWeTalkProductConfig请求参数结构体
|
2311
|
+
class CreateTWeTalkProductConfigRequest < TencentCloud::Common::AbstractModel
|
2312
|
+
# @param ProductId: 产品ID
|
2313
|
+
# @type ProductId: String
|
2314
|
+
# @param SystemPrompt: 系统提示词
|
2315
|
+
# @type SystemPrompt: String
|
2316
|
+
# @param GreetingMessage: 欢迎语
|
2317
|
+
# @type GreetingMessage: String
|
2318
|
+
# @param VoiceType: 音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。
|
2319
|
+
# @type VoiceType: Integer
|
2320
|
+
# @param TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
2321
|
+
# @type TargetLanguage: String
|
2322
|
+
|
2323
|
+
attr_accessor :ProductId, :SystemPrompt, :GreetingMessage, :VoiceType, :TargetLanguage
|
2324
|
+
|
2325
|
+
def initialize(productid=nil, systemprompt=nil, greetingmessage=nil, voicetype=nil, targetlanguage=nil)
|
2326
|
+
@ProductId = productid
|
2327
|
+
@SystemPrompt = systemprompt
|
2328
|
+
@GreetingMessage = greetingmessage
|
2329
|
+
@VoiceType = voicetype
|
2330
|
+
@TargetLanguage = targetlanguage
|
2331
|
+
end
|
2332
|
+
|
2333
|
+
def deserialize(params)
|
2334
|
+
@ProductId = params['ProductId']
|
2335
|
+
@SystemPrompt = params['SystemPrompt']
|
2336
|
+
@GreetingMessage = params['GreetingMessage']
|
2337
|
+
@VoiceType = params['VoiceType']
|
2338
|
+
@TargetLanguage = params['TargetLanguage']
|
2339
|
+
end
|
2340
|
+
end
|
2341
|
+
|
2342
|
+
# CreateTWeTalkProductConfig返回参数结构体
|
2343
|
+
class CreateTWeTalkProductConfigResponse < TencentCloud::Common::AbstractModel
|
2344
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2345
|
+
# @type RequestId: String
|
2346
|
+
|
2347
|
+
attr_accessor :RequestId
|
2348
|
+
|
2349
|
+
def initialize(requestid=nil)
|
2350
|
+
@RequestId = requestid
|
2351
|
+
end
|
2352
|
+
|
2353
|
+
def deserialize(params)
|
2354
|
+
@RequestId = params['RequestId']
|
2355
|
+
end
|
2356
|
+
end
|
2357
|
+
|
2310
2358
|
# CreateTopicPolicy请求参数结构体
|
2311
2359
|
class CreateTopicPolicyRequest < TencentCloud::Common::AbstractModel
|
2312
2360
|
# @param ProductId: 产品ID
|
@@ -5817,6 +5865,94 @@ module TencentCloud
|
|
5817
5865
|
end
|
5818
5866
|
end
|
5819
5867
|
|
5868
|
+
# DescribeTWeSeeRecognitionTask请求参数结构体
|
5869
|
+
class DescribeTWeSeeRecognitionTaskRequest < TencentCloud::Common::AbstractModel
|
5870
|
+
# @param TaskId: 任务 ID
|
5871
|
+
# @type TaskId: String
|
5872
|
+
# @param FileURLExpireTime: 下载 URL 的过期时间。
|
5873
|
+
|
5874
|
+
# 若传入该参数,则响应中将包含所有文件的下载 URL
|
5875
|
+
# @type FileURLExpireTime: Integer
|
5876
|
+
|
5877
|
+
attr_accessor :TaskId, :FileURLExpireTime
|
5878
|
+
|
5879
|
+
def initialize(taskid=nil, fileurlexpiretime=nil)
|
5880
|
+
@TaskId = taskid
|
5881
|
+
@FileURLExpireTime = fileurlexpiretime
|
5882
|
+
end
|
5883
|
+
|
5884
|
+
def deserialize(params)
|
5885
|
+
@TaskId = params['TaskId']
|
5886
|
+
@FileURLExpireTime = params['FileURLExpireTime']
|
5887
|
+
end
|
5888
|
+
end
|
5889
|
+
|
5890
|
+
# DescribeTWeSeeRecognitionTask返回参数结构体
|
5891
|
+
class DescribeTWeSeeRecognitionTaskResponse < TencentCloud::Common::AbstractModel
|
5892
|
+
# @param TaskInfo: 任务信息
|
5893
|
+
# @type TaskInfo: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionRecognitionTask`
|
5894
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5895
|
+
# @type RequestId: String
|
5896
|
+
|
5897
|
+
attr_accessor :TaskInfo, :RequestId
|
5898
|
+
|
5899
|
+
def initialize(taskinfo=nil, requestid=nil)
|
5900
|
+
@TaskInfo = taskinfo
|
5901
|
+
@RequestId = requestid
|
5902
|
+
end
|
5903
|
+
|
5904
|
+
def deserialize(params)
|
5905
|
+
unless params['TaskInfo'].nil?
|
5906
|
+
@TaskInfo = VisionRecognitionTask.new
|
5907
|
+
@TaskInfo.deserialize(params['TaskInfo'])
|
5908
|
+
end
|
5909
|
+
@RequestId = params['RequestId']
|
5910
|
+
end
|
5911
|
+
end
|
5912
|
+
|
5913
|
+
# DescribeTWeTalkProductConfig请求参数结构体
|
5914
|
+
class DescribeTWeTalkProductConfigRequest < TencentCloud::Common::AbstractModel
|
5915
|
+
# @param ProductId: 产品ID
|
5916
|
+
# @type ProductId: String
|
5917
|
+
# @param TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
5918
|
+
# @type TargetLanguage: String
|
5919
|
+
|
5920
|
+
attr_accessor :ProductId, :TargetLanguage
|
5921
|
+
|
5922
|
+
def initialize(productid=nil, targetlanguage=nil)
|
5923
|
+
@ProductId = productid
|
5924
|
+
@TargetLanguage = targetlanguage
|
5925
|
+
end
|
5926
|
+
|
5927
|
+
def deserialize(params)
|
5928
|
+
@ProductId = params['ProductId']
|
5929
|
+
@TargetLanguage = params['TargetLanguage']
|
5930
|
+
end
|
5931
|
+
end
|
5932
|
+
|
5933
|
+
# DescribeTWeTalkProductConfig返回参数结构体
|
5934
|
+
class DescribeTWeTalkProductConfigResponse < TencentCloud::Common::AbstractModel
|
5935
|
+
# @param Data: 配置信息
|
5936
|
+
# @type Data: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkProductConfigInfo`
|
5937
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5938
|
+
# @type RequestId: String
|
5939
|
+
|
5940
|
+
attr_accessor :Data, :RequestId
|
5941
|
+
|
5942
|
+
def initialize(data=nil, requestid=nil)
|
5943
|
+
@Data = data
|
5944
|
+
@RequestId = requestid
|
5945
|
+
end
|
5946
|
+
|
5947
|
+
def deserialize(params)
|
5948
|
+
unless params['Data'].nil?
|
5949
|
+
@Data = TalkProductConfigInfo.new
|
5950
|
+
@Data.deserialize(params['Data'])
|
5951
|
+
end
|
5952
|
+
@RequestId = params['RequestId']
|
5953
|
+
end
|
5954
|
+
end
|
5955
|
+
|
5820
5956
|
# DescribeTopicPolicy请求参数结构体
|
5821
5957
|
class DescribeTopicPolicyRequest < TencentCloud::Common::AbstractModel
|
5822
5958
|
# @param ProductId: 产品ID
|
@@ -7718,6 +7854,65 @@ module TencentCloud
|
|
7718
7854
|
end
|
7719
7855
|
end
|
7720
7856
|
|
7857
|
+
# GetTWeTalkProductConfigList请求参数结构体
|
7858
|
+
class GetTWeTalkProductConfigListRequest < TencentCloud::Common::AbstractModel
|
7859
|
+
# @param ProductId: 产品ID
|
7860
|
+
# @type ProductId: String
|
7861
|
+
# @param TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
7862
|
+
# @type TargetLanguage: String
|
7863
|
+
# @param Offset: 页码
|
7864
|
+
# @type Offset: Integer
|
7865
|
+
# @param Limit: 偏移量,10-100
|
7866
|
+
# @type Limit: Integer
|
7867
|
+
|
7868
|
+
attr_accessor :ProductId, :TargetLanguage, :Offset, :Limit
|
7869
|
+
|
7870
|
+
def initialize(productid=nil, targetlanguage=nil, offset=nil, limit=nil)
|
7871
|
+
@ProductId = productid
|
7872
|
+
@TargetLanguage = targetlanguage
|
7873
|
+
@Offset = offset
|
7874
|
+
@Limit = limit
|
7875
|
+
end
|
7876
|
+
|
7877
|
+
def deserialize(params)
|
7878
|
+
@ProductId = params['ProductId']
|
7879
|
+
@TargetLanguage = params['TargetLanguage']
|
7880
|
+
@Offset = params['Offset']
|
7881
|
+
@Limit = params['Limit']
|
7882
|
+
end
|
7883
|
+
end
|
7884
|
+
|
7885
|
+
# GetTWeTalkProductConfigList返回参数结构体
|
7886
|
+
class GetTWeTalkProductConfigListResponse < TencentCloud::Common::AbstractModel
|
7887
|
+
# @param Data: 配置信息列表
|
7888
|
+
# @type Data: Array
|
7889
|
+
# @param Total: 总数
|
7890
|
+
# @type Total: Integer
|
7891
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7892
|
+
# @type RequestId: String
|
7893
|
+
|
7894
|
+
attr_accessor :Data, :Total, :RequestId
|
7895
|
+
|
7896
|
+
def initialize(data=nil, total=nil, requestid=nil)
|
7897
|
+
@Data = data
|
7898
|
+
@Total = total
|
7899
|
+
@RequestId = requestid
|
7900
|
+
end
|
7901
|
+
|
7902
|
+
def deserialize(params)
|
7903
|
+
unless params['Data'].nil?
|
7904
|
+
@Data = []
|
7905
|
+
params['Data'].each do |i|
|
7906
|
+
talkproductconfiginfo_tmp = TalkProductConfigInfo.new
|
7907
|
+
talkproductconfiginfo_tmp.deserialize(i)
|
7908
|
+
@Data << talkproductconfiginfo_tmp
|
7909
|
+
end
|
7910
|
+
end
|
7911
|
+
@Total = params['Total']
|
7912
|
+
@RequestId = params['RequestId']
|
7913
|
+
end
|
7914
|
+
end
|
7915
|
+
|
7721
7916
|
# GetTopicRuleList请求参数结构体
|
7722
7917
|
class GetTopicRuleListRequest < TencentCloud::Common::AbstractModel
|
7723
7918
|
# @param PageNum: 请求的页数
|
@@ -9638,6 +9833,54 @@ module TencentCloud
|
|
9638
9833
|
end
|
9639
9834
|
end
|
9640
9835
|
|
9836
|
+
# ModifyTWeTalkProductConfig请求参数结构体
|
9837
|
+
class ModifyTWeTalkProductConfigRequest < TencentCloud::Common::AbstractModel
|
9838
|
+
# @param ProductId: 产品ID
|
9839
|
+
# @type ProductId: String
|
9840
|
+
# @param SystemPrompt: 系统提示词
|
9841
|
+
# @type SystemPrompt: String
|
9842
|
+
# @param GreetingMessage: 欢迎语
|
9843
|
+
# @type GreetingMessage: String
|
9844
|
+
# @param VoiceType: 音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。
|
9845
|
+
# @type VoiceType: Integer
|
9846
|
+
# @param TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
9847
|
+
# @type TargetLanguage: String
|
9848
|
+
|
9849
|
+
attr_accessor :ProductId, :SystemPrompt, :GreetingMessage, :VoiceType, :TargetLanguage
|
9850
|
+
|
9851
|
+
def initialize(productid=nil, systemprompt=nil, greetingmessage=nil, voicetype=nil, targetlanguage=nil)
|
9852
|
+
@ProductId = productid
|
9853
|
+
@SystemPrompt = systemprompt
|
9854
|
+
@GreetingMessage = greetingmessage
|
9855
|
+
@VoiceType = voicetype
|
9856
|
+
@TargetLanguage = targetlanguage
|
9857
|
+
end
|
9858
|
+
|
9859
|
+
def deserialize(params)
|
9860
|
+
@ProductId = params['ProductId']
|
9861
|
+
@SystemPrompt = params['SystemPrompt']
|
9862
|
+
@GreetingMessage = params['GreetingMessage']
|
9863
|
+
@VoiceType = params['VoiceType']
|
9864
|
+
@TargetLanguage = params['TargetLanguage']
|
9865
|
+
end
|
9866
|
+
end
|
9867
|
+
|
9868
|
+
# ModifyTWeTalkProductConfig返回参数结构体
|
9869
|
+
class ModifyTWeTalkProductConfigResponse < TencentCloud::Common::AbstractModel
|
9870
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9871
|
+
# @type RequestId: String
|
9872
|
+
|
9873
|
+
attr_accessor :RequestId
|
9874
|
+
|
9875
|
+
def initialize(requestid=nil)
|
9876
|
+
@RequestId = requestid
|
9877
|
+
end
|
9878
|
+
|
9879
|
+
def deserialize(params)
|
9880
|
+
@RequestId = params['RequestId']
|
9881
|
+
end
|
9882
|
+
end
|
9883
|
+
|
9641
9884
|
# ModifyTopicPolicy请求参数结构体
|
9642
9885
|
class ModifyTopicPolicyRequest < TencentCloud::Common::AbstractModel
|
9643
9886
|
# @param ProductId: 产品ID
|
@@ -11121,6 +11364,46 @@ module TencentCloud
|
|
11121
11364
|
end
|
11122
11365
|
end
|
11123
11366
|
|
11367
|
+
# Talk配置信息描述。
|
11368
|
+
class TalkProductConfigInfo < TencentCloud::Common::AbstractModel
|
11369
|
+
# @param ProductId: 产品ID
|
11370
|
+
# @type ProductId: String
|
11371
|
+
# @param TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
11372
|
+
# @type TargetLanguage: String
|
11373
|
+
# @param SystemPrompt: 系统提示词
|
11374
|
+
# @type SystemPrompt: String
|
11375
|
+
# @param GreetingMessage: 欢迎语
|
11376
|
+
# @type GreetingMessage: String
|
11377
|
+
# @param VoiceType: 音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。
|
11378
|
+
# @type VoiceType: Integer
|
11379
|
+
# @param CreateTime: 创建时间
|
11380
|
+
# @type CreateTime: Integer
|
11381
|
+
# @param UpdateTime: 更新时间
|
11382
|
+
# @type UpdateTime: Integer
|
11383
|
+
|
11384
|
+
attr_accessor :ProductId, :TargetLanguage, :SystemPrompt, :GreetingMessage, :VoiceType, :CreateTime, :UpdateTime
|
11385
|
+
|
11386
|
+
def initialize(productid=nil, targetlanguage=nil, systemprompt=nil, greetingmessage=nil, voicetype=nil, createtime=nil, updatetime=nil)
|
11387
|
+
@ProductId = productid
|
11388
|
+
@TargetLanguage = targetlanguage
|
11389
|
+
@SystemPrompt = systemprompt
|
11390
|
+
@GreetingMessage = greetingmessage
|
11391
|
+
@VoiceType = voicetype
|
11392
|
+
@CreateTime = createtime
|
11393
|
+
@UpdateTime = updatetime
|
11394
|
+
end
|
11395
|
+
|
11396
|
+
def deserialize(params)
|
11397
|
+
@ProductId = params['ProductId']
|
11398
|
+
@TargetLanguage = params['TargetLanguage']
|
11399
|
+
@SystemPrompt = params['SystemPrompt']
|
11400
|
+
@GreetingMessage = params['GreetingMessage']
|
11401
|
+
@VoiceType = params['VoiceType']
|
11402
|
+
@CreateTime = params['CreateTime']
|
11403
|
+
@UpdateTime = params['UpdateTime']
|
11404
|
+
end
|
11405
|
+
end
|
11406
|
+
|
11124
11407
|
# 视频语义搜索结果
|
11125
11408
|
class TargetInfo < TencentCloud::Common::AbstractModel
|
11126
11409
|
# @param Id: 视频唯一ID
|
@@ -11802,6 +12085,88 @@ module TencentCloud
|
|
11802
12085
|
end
|
11803
12086
|
end
|
11804
12087
|
|
12088
|
+
# TWeSee 语义理解任务信息
|
12089
|
+
class VisionRecognitionTask < TencentCloud::Common::AbstractModel
|
12090
|
+
# @param TaskId: 云存 AI 服务任务 ID
|
12091
|
+
# @type TaskId: String
|
12092
|
+
# @param ProductId: 产品 ID
|
12093
|
+
# @type ProductId: String
|
12094
|
+
# @param DeviceName: 设备名称
|
12095
|
+
# @type DeviceName: String
|
12096
|
+
# @param ChannelId: 通道 ID
|
12097
|
+
# @type ChannelId: Integer
|
12098
|
+
# @param StartTime: 对应云存视频的起始时间(秒级 UNIX 时间戳)
|
12099
|
+
# @type StartTime: Integer
|
12100
|
+
# @param StartTimeMs: 对应云存视频的起始时间(毫秒级 UNIX 时间戳)
|
12101
|
+
# @type StartTimeMs: Integer
|
12102
|
+
# @param EndTime: 对应云存视频的结束时间(秒级 UNIX 时间戳)
|
12103
|
+
# @type EndTime: Integer
|
12104
|
+
# @param EndTimeMs: 对应云存视频的结束时间(毫秒级 UNIX 时间戳)
|
12105
|
+
# @type EndTimeMs: Integer
|
12106
|
+
# @param Status: 任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功;4:执行中)
|
12107
|
+
# @type Status: Integer
|
12108
|
+
# @param Result: 任务结果
|
12109
|
+
# @type Result: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionRecognitionResult`
|
12110
|
+
# @param CreateTime: 创建时间
|
12111
|
+
# @type CreateTime: Integer
|
12112
|
+
# @param UpdateTime: 最后更新时间
|
12113
|
+
# @type UpdateTime: Integer
|
12114
|
+
# @param CustomId: 自定义任务 ID
|
12115
|
+
# @type CustomId: String
|
12116
|
+
# @param Files: 任务输出文件列表
|
12117
|
+
# @type Files: Array
|
12118
|
+
# @param FilesInfo: 任务输出文件信息列表
|
12119
|
+
# @type FilesInfo: Array
|
12120
|
+
|
12121
|
+
attr_accessor :TaskId, :ProductId, :DeviceName, :ChannelId, :StartTime, :StartTimeMs, :EndTime, :EndTimeMs, :Status, :Result, :CreateTime, :UpdateTime, :CustomId, :Files, :FilesInfo
|
12122
|
+
|
12123
|
+
def initialize(taskid=nil, productid=nil, devicename=nil, channelid=nil, starttime=nil, starttimems=nil, endtime=nil, endtimems=nil, status=nil, result=nil, createtime=nil, updatetime=nil, customid=nil, files=nil, filesinfo=nil)
|
12124
|
+
@TaskId = taskid
|
12125
|
+
@ProductId = productid
|
12126
|
+
@DeviceName = devicename
|
12127
|
+
@ChannelId = channelid
|
12128
|
+
@StartTime = starttime
|
12129
|
+
@StartTimeMs = starttimems
|
12130
|
+
@EndTime = endtime
|
12131
|
+
@EndTimeMs = endtimems
|
12132
|
+
@Status = status
|
12133
|
+
@Result = result
|
12134
|
+
@CreateTime = createtime
|
12135
|
+
@UpdateTime = updatetime
|
12136
|
+
@CustomId = customid
|
12137
|
+
@Files = files
|
12138
|
+
@FilesInfo = filesinfo
|
12139
|
+
end
|
12140
|
+
|
12141
|
+
def deserialize(params)
|
12142
|
+
@TaskId = params['TaskId']
|
12143
|
+
@ProductId = params['ProductId']
|
12144
|
+
@DeviceName = params['DeviceName']
|
12145
|
+
@ChannelId = params['ChannelId']
|
12146
|
+
@StartTime = params['StartTime']
|
12147
|
+
@StartTimeMs = params['StartTimeMs']
|
12148
|
+
@EndTime = params['EndTime']
|
12149
|
+
@EndTimeMs = params['EndTimeMs']
|
12150
|
+
@Status = params['Status']
|
12151
|
+
unless params['Result'].nil?
|
12152
|
+
@Result = VisionRecognitionResult.new
|
12153
|
+
@Result.deserialize(params['Result'])
|
12154
|
+
end
|
12155
|
+
@CreateTime = params['CreateTime']
|
12156
|
+
@UpdateTime = params['UpdateTime']
|
12157
|
+
@CustomId = params['CustomId']
|
12158
|
+
@Files = params['Files']
|
12159
|
+
unless params['FilesInfo'].nil?
|
12160
|
+
@FilesInfo = []
|
12161
|
+
params['FilesInfo'].each do |i|
|
12162
|
+
cloudstorageaiservicetaskfileinfo_tmp = CloudStorageAIServiceTaskFileInfo.new
|
12163
|
+
cloudstorageaiservicetaskfileinfo_tmp.deserialize(i)
|
12164
|
+
@FilesInfo << cloudstorageaiservicetaskfileinfo_tmp
|
12165
|
+
end
|
12166
|
+
end
|
12167
|
+
end
|
12168
|
+
end
|
12169
|
+
|
11805
12170
|
# 视频摘要配置
|
11806
12171
|
class VisionSummaryConfig < TencentCloud::Common::AbstractModel
|
11807
12172
|
# @param OutputLang: 主输出语言
|
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.1130
|
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-08-
|
11
|
+
date: 2025-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|