tencentcloud-sdk-iotexplorer 3.0.1128 → 3.0.1138
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 +96 -0
- data/lib/v20190423/models.rb +328 -26
- 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: 0da638854df476dfb2947bcd55544b635d081272
|
4
|
+
data.tar.gz: 32fa568efc0638b8aa4268aa44aee72d3bc448c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6214cd064af5d0eef1b051f4da942e46d70ab1c033da3359df16a78584574784aa18c647b4762f76c9dc0cd8481bc78c42af98106291d8e2bca352f204868aa7
|
7
|
+
data.tar.gz: d51e81b969e83eb8da81ecd544615feddc0c6bf2597f1fe4e3d09889ce14c6f6897639d0d76c13bf91b15cdded465f384845bd6b896bcf7be0925c4f31721057
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1138
|
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.
|
@@ -2337,6 +2361,30 @@ module TencentCloud
|
|
2337
2361
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2338
2362
|
end
|
2339
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
|
+
|
2340
2388
|
# 本接口(DescribeTopicPolicy)用于查看Topic详细信息
|
2341
2389
|
|
2342
2390
|
# @param request: Request instance for DescribeTopicPolicy.
|
@@ -2913,6 +2961,30 @@ module TencentCloud
|
|
2913
2961
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2914
2962
|
end
|
2915
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
|
+
|
2916
2988
|
# 获取规则列表
|
2917
2989
|
|
2918
2990
|
# @param request: Request instance for GetTopicRuleList.
|
@@ -3513,6 +3585,30 @@ module TencentCloud
|
|
3513
3585
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3514
3586
|
end
|
3515
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
|
+
|
3516
3612
|
# 本接口(UpdateTopicPolicy)用于更新Topic信息
|
3517
3613
|
|
3518
3614
|
# @param request: Request instance for ModifyTopicPolicy.
|
data/lib/v20190423/models.rb
CHANGED
@@ -100,8 +100,8 @@ module TencentCloud
|
|
100
100
|
|
101
101
|
attr_accessor :PkgType, :MiniProgramAppId, :DeviceList
|
102
102
|
extend Gem::Deprecate
|
103
|
-
deprecate :MiniProgramAppId, :none, 2025,
|
104
|
-
deprecate :MiniProgramAppId=, :none, 2025,
|
103
|
+
deprecate :MiniProgramAppId, :none, 2025, 9
|
104
|
+
deprecate :MiniProgramAppId=, :none, 2025, 9
|
105
105
|
|
106
106
|
def initialize(pkgtype=nil, miniprogramappid=nil, devicelist=nil)
|
107
107
|
@PkgType = pkgtype
|
@@ -136,8 +136,8 @@ module TencentCloud
|
|
136
136
|
|
137
137
|
attr_accessor :DeviceList, :FailureList, :SuccessList, :RequestId
|
138
138
|
extend Gem::Deprecate
|
139
|
-
deprecate :DeviceList, :none, 2025,
|
140
|
-
deprecate :DeviceList=, :none, 2025,
|
139
|
+
deprecate :DeviceList, :none, 2025, 9
|
140
|
+
deprecate :DeviceList=, :none, 2025, 9
|
141
141
|
|
142
142
|
def initialize(devicelist=nil, failurelist=nil, successlist=nil, requestid=nil)
|
143
143
|
@DeviceList = devicelist
|
@@ -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
|
@@ -4843,17 +4891,21 @@ module TencentCloud
|
|
4843
4891
|
# @type ProductID: String
|
4844
4892
|
# @param FirmwareVersion: 固件版本号
|
4845
4893
|
# @type FirmwareVersion: String
|
4894
|
+
# @param FwType: 固件模块
|
4895
|
+
# @type FwType: String
|
4846
4896
|
|
4847
|
-
attr_accessor :ProductID, :FirmwareVersion
|
4897
|
+
attr_accessor :ProductID, :FirmwareVersion, :FwType
|
4848
4898
|
|
4849
|
-
def initialize(productid=nil, firmwareversion=nil)
|
4899
|
+
def initialize(productid=nil, firmwareversion=nil, fwtype=nil)
|
4850
4900
|
@ProductID = productid
|
4851
4901
|
@FirmwareVersion = firmwareversion
|
4902
|
+
@FwType = fwtype
|
4852
4903
|
end
|
4853
4904
|
|
4854
4905
|
def deserialize(params)
|
4855
4906
|
@ProductID = params['ProductID']
|
4856
4907
|
@FirmwareVersion = params['FirmwareVersion']
|
4908
|
+
@FwType = params['FwType']
|
4857
4909
|
end
|
4858
4910
|
end
|
4859
4911
|
|
@@ -4955,12 +5007,28 @@ module TencentCloud
|
|
4955
5007
|
# @type CreateUserId: Integer
|
4956
5008
|
# @param CreatorNickName: 创建账号ID昵称
|
4957
5009
|
# @type CreatorNickName: String
|
5010
|
+
# @param DelayTime: 延迟时间
|
5011
|
+
# @type DelayTime: Integer
|
5012
|
+
# @param TimeoutInterval: 超时时间
|
5013
|
+
# @type TimeoutInterval: Integer
|
5014
|
+
# @param UpgradeMethod: 静默升级or用户确认升级
|
5015
|
+
# @type UpgradeMethod: Integer
|
5016
|
+
# @param MaxRetryNum: 最大重试次数
|
5017
|
+
# @type MaxRetryNum: Integer
|
5018
|
+
# @param FwType: 固件类型
|
5019
|
+
# @type FwType: String
|
5020
|
+
# @param RetryInterval: 重试间隔时间单位min
|
5021
|
+
# @type RetryInterval: Integer
|
5022
|
+
# @param OverrideMode: 是否覆盖任务
|
5023
|
+
# @type OverrideMode: Integer
|
5024
|
+
# @param TaskUserDefine: 用户自定义消息
|
5025
|
+
# @type TaskUserDefine: String
|
4958
5026
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4959
5027
|
# @type RequestId: String
|
4960
5028
|
|
4961
|
-
attr_accessor :TaskId, :Status, :CreateTime, :Type, :ProductName, :UpgradeMode, :ProductId, :OriginalVersion, :CreateUserId, :CreatorNickName, :RequestId
|
5029
|
+
attr_accessor :TaskId, :Status, :CreateTime, :Type, :ProductName, :UpgradeMode, :ProductId, :OriginalVersion, :CreateUserId, :CreatorNickName, :DelayTime, :TimeoutInterval, :UpgradeMethod, :MaxRetryNum, :FwType, :RetryInterval, :OverrideMode, :TaskUserDefine, :RequestId
|
4962
5030
|
|
4963
|
-
def initialize(taskid=nil, status=nil, createtime=nil, type=nil, productname=nil, upgrademode=nil, productid=nil, originalversion=nil, createuserid=nil, creatornickname=nil, requestid=nil)
|
5031
|
+
def initialize(taskid=nil, status=nil, createtime=nil, type=nil, productname=nil, upgrademode=nil, productid=nil, originalversion=nil, createuserid=nil, creatornickname=nil, delaytime=nil, timeoutinterval=nil, upgrademethod=nil, maxretrynum=nil, fwtype=nil, retryinterval=nil, overridemode=nil, taskuserdefine=nil, requestid=nil)
|
4964
5032
|
@TaskId = taskid
|
4965
5033
|
@Status = status
|
4966
5034
|
@CreateTime = createtime
|
@@ -4971,6 +5039,14 @@ module TencentCloud
|
|
4971
5039
|
@OriginalVersion = originalversion
|
4972
5040
|
@CreateUserId = createuserid
|
4973
5041
|
@CreatorNickName = creatornickname
|
5042
|
+
@DelayTime = delaytime
|
5043
|
+
@TimeoutInterval = timeoutinterval
|
5044
|
+
@UpgradeMethod = upgrademethod
|
5045
|
+
@MaxRetryNum = maxretrynum
|
5046
|
+
@FwType = fwtype
|
5047
|
+
@RetryInterval = retryinterval
|
5048
|
+
@OverrideMode = overridemode
|
5049
|
+
@TaskUserDefine = taskuserdefine
|
4974
5050
|
@RequestId = requestid
|
4975
5051
|
end
|
4976
5052
|
|
@@ -4985,6 +5061,14 @@ module TencentCloud
|
|
4985
5061
|
@OriginalVersion = params['OriginalVersion']
|
4986
5062
|
@CreateUserId = params['CreateUserId']
|
4987
5063
|
@CreatorNickName = params['CreatorNickName']
|
5064
|
+
@DelayTime = params['DelayTime']
|
5065
|
+
@TimeoutInterval = params['TimeoutInterval']
|
5066
|
+
@UpgradeMethod = params['UpgradeMethod']
|
5067
|
+
@MaxRetryNum = params['MaxRetryNum']
|
5068
|
+
@FwType = params['FwType']
|
5069
|
+
@RetryInterval = params['RetryInterval']
|
5070
|
+
@OverrideMode = params['OverrideMode']
|
5071
|
+
@TaskUserDefine = params['TaskUserDefine']
|
4988
5072
|
@RequestId = params['RequestId']
|
4989
5073
|
end
|
4990
5074
|
end
|
@@ -5862,6 +5946,49 @@ module TencentCloud
|
|
5862
5946
|
end
|
5863
5947
|
end
|
5864
5948
|
|
5949
|
+
# DescribeTWeTalkProductConfig请求参数结构体
|
5950
|
+
class DescribeTWeTalkProductConfigRequest < TencentCloud::Common::AbstractModel
|
5951
|
+
# @param ProductId: 产品ID
|
5952
|
+
# @type ProductId: String
|
5953
|
+
# @param TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
5954
|
+
# @type TargetLanguage: String
|
5955
|
+
|
5956
|
+
attr_accessor :ProductId, :TargetLanguage
|
5957
|
+
|
5958
|
+
def initialize(productid=nil, targetlanguage=nil)
|
5959
|
+
@ProductId = productid
|
5960
|
+
@TargetLanguage = targetlanguage
|
5961
|
+
end
|
5962
|
+
|
5963
|
+
def deserialize(params)
|
5964
|
+
@ProductId = params['ProductId']
|
5965
|
+
@TargetLanguage = params['TargetLanguage']
|
5966
|
+
end
|
5967
|
+
end
|
5968
|
+
|
5969
|
+
# DescribeTWeTalkProductConfig返回参数结构体
|
5970
|
+
class DescribeTWeTalkProductConfigResponse < TencentCloud::Common::AbstractModel
|
5971
|
+
# @param Data: 配置信息
|
5972
|
+
# @type Data: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkProductConfigInfo`
|
5973
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5974
|
+
# @type RequestId: String
|
5975
|
+
|
5976
|
+
attr_accessor :Data, :RequestId
|
5977
|
+
|
5978
|
+
def initialize(data=nil, requestid=nil)
|
5979
|
+
@Data = data
|
5980
|
+
@RequestId = requestid
|
5981
|
+
end
|
5982
|
+
|
5983
|
+
def deserialize(params)
|
5984
|
+
unless params['Data'].nil?
|
5985
|
+
@Data = TalkProductConfigInfo.new
|
5986
|
+
@Data.deserialize(params['Data'])
|
5987
|
+
end
|
5988
|
+
@RequestId = params['RequestId']
|
5989
|
+
end
|
5990
|
+
end
|
5991
|
+
|
5865
5992
|
# DescribeTopicPolicy请求参数结构体
|
5866
5993
|
class DescribeTopicPolicyRequest < TencentCloud::Common::AbstractModel
|
5867
5994
|
# @param ProductId: 产品ID
|
@@ -6116,8 +6243,8 @@ module TencentCloud
|
|
6116
6243
|
|
6117
6244
|
attr_accessor :ModelId, :Sn, :ErrCode, :ExpireTime
|
6118
6245
|
extend Gem::Deprecate
|
6119
|
-
deprecate :ModelId, :none, 2025,
|
6120
|
-
deprecate :ModelId=, :none, 2025,
|
6246
|
+
deprecate :ModelId, :none, 2025, 9
|
6247
|
+
deprecate :ModelId=, :none, 2025, 9
|
6121
6248
|
|
6122
6249
|
def initialize(modelid=nil, sn=nil, errcode=nil, expiretime=nil)
|
6123
6250
|
@ModelId = modelid
|
@@ -7123,19 +7250,23 @@ module TencentCloud
|
|
7123
7250
|
# @type FirmwareVersion: String
|
7124
7251
|
# @param FileSize: 文件大小
|
7125
7252
|
# @type FileSize: Integer
|
7253
|
+
# @param FwType: 模块类型or固件类型
|
7254
|
+
# @type FwType: String
|
7126
7255
|
|
7127
|
-
attr_accessor :ProductID, :FirmwareVersion, :FileSize
|
7256
|
+
attr_accessor :ProductID, :FirmwareVersion, :FileSize, :FwType
|
7128
7257
|
|
7129
|
-
def initialize(productid=nil, firmwareversion=nil, filesize=nil)
|
7258
|
+
def initialize(productid=nil, firmwareversion=nil, filesize=nil, fwtype=nil)
|
7130
7259
|
@ProductID = productid
|
7131
7260
|
@FirmwareVersion = firmwareversion
|
7132
7261
|
@FileSize = filesize
|
7262
|
+
@FwType = fwtype
|
7133
7263
|
end
|
7134
7264
|
|
7135
7265
|
def deserialize(params)
|
7136
7266
|
@ProductID = params['ProductID']
|
7137
7267
|
@FirmwareVersion = params['FirmwareVersion']
|
7138
7268
|
@FileSize = params['FileSize']
|
7269
|
+
@FwType = params['FwType']
|
7139
7270
|
end
|
7140
7271
|
end
|
7141
7272
|
|
@@ -7169,6 +7300,8 @@ module TencentCloud
|
|
7169
7300
|
# @type Limit: Integer
|
7170
7301
|
# @param FirmwareVersion: 设备固件版本号,若不带此参数会返回所有固件版本的设备。传"None-FirmwareVersion"查询无版本号的设备
|
7171
7302
|
# @type FirmwareVersion: String
|
7303
|
+
# @param FwType: 固件类型
|
7304
|
+
# @type FwType: String
|
7172
7305
|
# @param DeviceName: 需要过滤的设备名称
|
7173
7306
|
# @type DeviceName: String
|
7174
7307
|
# @param ProjectId: 项目ID。产品 ID 为 -1 时,该参数必填
|
@@ -7176,13 +7309,14 @@ module TencentCloud
|
|
7176
7309
|
# @param Filters: 每次请求的Filters的上限为10,Filter.Values的上限为1。
|
7177
7310
|
# @type Filters: Array
|
7178
7311
|
|
7179
|
-
attr_accessor :ProductId, :Offset, :Limit, :FirmwareVersion, :DeviceName, :ProjectId, :Filters
|
7312
|
+
attr_accessor :ProductId, :Offset, :Limit, :FirmwareVersion, :FwType, :DeviceName, :ProjectId, :Filters
|
7180
7313
|
|
7181
|
-
def initialize(productid=nil, offset=nil, limit=nil, firmwareversion=nil, devicename=nil, projectid=nil, filters=nil)
|
7314
|
+
def initialize(productid=nil, offset=nil, limit=nil, firmwareversion=nil, fwtype=nil, devicename=nil, projectid=nil, filters=nil)
|
7182
7315
|
@ProductId = productid
|
7183
7316
|
@Offset = offset
|
7184
7317
|
@Limit = limit
|
7185
7318
|
@FirmwareVersion = firmwareversion
|
7319
|
+
@FwType = fwtype
|
7186
7320
|
@DeviceName = devicename
|
7187
7321
|
@ProjectId = projectid
|
7188
7322
|
@Filters = filters
|
@@ -7193,6 +7327,7 @@ module TencentCloud
|
|
7193
7327
|
@Offset = params['Offset']
|
7194
7328
|
@Limit = params['Limit']
|
7195
7329
|
@FirmwareVersion = params['FirmwareVersion']
|
7330
|
+
@FwType = params['FwType']
|
7196
7331
|
@DeviceName = params['DeviceName']
|
7197
7332
|
@ProjectId = params['ProjectId']
|
7198
7333
|
unless params['Filters'].nil?
|
@@ -7715,8 +7850,8 @@ module TencentCloud
|
|
7715
7850
|
|
7716
7851
|
attr_accessor :MiniProgramAppId, :DeviceList
|
7717
7852
|
extend Gem::Deprecate
|
7718
|
-
deprecate :MiniProgramAppId, :none, 2025,
|
7719
|
-
deprecate :MiniProgramAppId=, :none, 2025,
|
7853
|
+
deprecate :MiniProgramAppId, :none, 2025, 9
|
7854
|
+
deprecate :MiniProgramAppId=, :none, 2025, 9
|
7720
7855
|
|
7721
7856
|
def initialize(miniprogramappid=nil, devicelist=nil)
|
7722
7857
|
@MiniProgramAppId = miniprogramappid
|
@@ -7763,6 +7898,65 @@ module TencentCloud
|
|
7763
7898
|
end
|
7764
7899
|
end
|
7765
7900
|
|
7901
|
+
# GetTWeTalkProductConfigList请求参数结构体
|
7902
|
+
class GetTWeTalkProductConfigListRequest < TencentCloud::Common::AbstractModel
|
7903
|
+
# @param ProductId: 产品ID
|
7904
|
+
# @type ProductId: String
|
7905
|
+
# @param TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
7906
|
+
# @type TargetLanguage: String
|
7907
|
+
# @param Offset: 页码
|
7908
|
+
# @type Offset: Integer
|
7909
|
+
# @param Limit: 偏移量,10-100
|
7910
|
+
# @type Limit: Integer
|
7911
|
+
|
7912
|
+
attr_accessor :ProductId, :TargetLanguage, :Offset, :Limit
|
7913
|
+
|
7914
|
+
def initialize(productid=nil, targetlanguage=nil, offset=nil, limit=nil)
|
7915
|
+
@ProductId = productid
|
7916
|
+
@TargetLanguage = targetlanguage
|
7917
|
+
@Offset = offset
|
7918
|
+
@Limit = limit
|
7919
|
+
end
|
7920
|
+
|
7921
|
+
def deserialize(params)
|
7922
|
+
@ProductId = params['ProductId']
|
7923
|
+
@TargetLanguage = params['TargetLanguage']
|
7924
|
+
@Offset = params['Offset']
|
7925
|
+
@Limit = params['Limit']
|
7926
|
+
end
|
7927
|
+
end
|
7928
|
+
|
7929
|
+
# GetTWeTalkProductConfigList返回参数结构体
|
7930
|
+
class GetTWeTalkProductConfigListResponse < TencentCloud::Common::AbstractModel
|
7931
|
+
# @param Data: 配置信息列表
|
7932
|
+
# @type Data: Array
|
7933
|
+
# @param Total: 总数
|
7934
|
+
# @type Total: Integer
|
7935
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7936
|
+
# @type RequestId: String
|
7937
|
+
|
7938
|
+
attr_accessor :Data, :Total, :RequestId
|
7939
|
+
|
7940
|
+
def initialize(data=nil, total=nil, requestid=nil)
|
7941
|
+
@Data = data
|
7942
|
+
@Total = total
|
7943
|
+
@RequestId = requestid
|
7944
|
+
end
|
7945
|
+
|
7946
|
+
def deserialize(params)
|
7947
|
+
unless params['Data'].nil?
|
7948
|
+
@Data = []
|
7949
|
+
params['Data'].each do |i|
|
7950
|
+
talkproductconfiginfo_tmp = TalkProductConfigInfo.new
|
7951
|
+
talkproductconfiginfo_tmp.deserialize(i)
|
7952
|
+
@Data << talkproductconfiginfo_tmp
|
7953
|
+
end
|
7954
|
+
end
|
7955
|
+
@Total = params['Total']
|
7956
|
+
@RequestId = params['RequestId']
|
7957
|
+
end
|
7958
|
+
end
|
7959
|
+
|
7766
7960
|
# GetTopicRuleList请求参数结构体
|
7767
7961
|
class GetTopicRuleListRequest < TencentCloud::Common::AbstractModel
|
7768
7962
|
# @param PageNum: 请求的页数
|
@@ -8051,10 +8245,18 @@ module TencentCloud
|
|
8051
8245
|
# 注:
|
8052
8246
|
# 符合iana标准 https://www.iana.org/time-zones,例如Asia/Shanghai、Asia/Bangkok
|
8053
8247
|
# @type TimeZone: String
|
8248
|
+
# @param SearchMode: 取值为1表示高级搜索,取值为2表示简单搜索,默认为1
|
8249
|
+
# @type SearchMode: Integer
|
8250
|
+
# @param Limit: 最终输出的条数;仅当SearchMode为2时支持自定义设置,默认为50
|
8251
|
+
# @type Limit: Integer
|
8252
|
+
# @param VectorSearchRadius: 向量搜索的相似度搜索半径,取值范围[-1, 1];仅当SearchMode为2时支持自定义设置,默认为0.5
|
8253
|
+
# @type VectorSearchRadius: Float
|
8254
|
+
# @param VectorSearchTopK: 指定向量搜索最相似的 Top K;仅当SearchMode为2时支持自定义设置,默认为100
|
8255
|
+
# @type VectorSearchTopK: Integer
|
8054
8256
|
|
8055
|
-
attr_accessor :ProductId, :DeviceName, :Query, :SummaryLang, :ChannelId, :EnableSummary, :StartTimeMs, :EndTimeMs, :TimeZone
|
8257
|
+
attr_accessor :ProductId, :DeviceName, :Query, :SummaryLang, :ChannelId, :EnableSummary, :StartTimeMs, :EndTimeMs, :TimeZone, :SearchMode, :Limit, :VectorSearchRadius, :VectorSearchTopK
|
8056
8258
|
|
8057
|
-
def initialize(productid=nil, devicename=nil, query=nil, summarylang=nil, channelid=nil, enablesummary=nil, starttimems=nil, endtimems=nil, timezone=nil)
|
8259
|
+
def initialize(productid=nil, devicename=nil, query=nil, summarylang=nil, channelid=nil, enablesummary=nil, starttimems=nil, endtimems=nil, timezone=nil, searchmode=nil, limit=nil, vectorsearchradius=nil, vectorsearchtopk=nil)
|
8058
8260
|
@ProductId = productid
|
8059
8261
|
@DeviceName = devicename
|
8060
8262
|
@Query = query
|
@@ -8064,6 +8266,10 @@ module TencentCloud
|
|
8064
8266
|
@StartTimeMs = starttimems
|
8065
8267
|
@EndTimeMs = endtimems
|
8066
8268
|
@TimeZone = timezone
|
8269
|
+
@SearchMode = searchmode
|
8270
|
+
@Limit = limit
|
8271
|
+
@VectorSearchRadius = vectorsearchradius
|
8272
|
+
@VectorSearchTopK = vectorsearchtopk
|
8067
8273
|
end
|
8068
8274
|
|
8069
8275
|
def deserialize(params)
|
@@ -8076,6 +8282,10 @@ module TencentCloud
|
|
8076
8282
|
@StartTimeMs = params['StartTimeMs']
|
8077
8283
|
@EndTimeMs = params['EndTimeMs']
|
8078
8284
|
@TimeZone = params['TimeZone']
|
8285
|
+
@SearchMode = params['SearchMode']
|
8286
|
+
@Limit = params['Limit']
|
8287
|
+
@VectorSearchRadius = params['VectorSearchRadius']
|
8288
|
+
@VectorSearchTopK = params['VectorSearchTopK']
|
8079
8289
|
end
|
8080
8290
|
end
|
8081
8291
|
|
@@ -9683,6 +9893,54 @@ module TencentCloud
|
|
9683
9893
|
end
|
9684
9894
|
end
|
9685
9895
|
|
9896
|
+
# ModifyTWeTalkProductConfig请求参数结构体
|
9897
|
+
class ModifyTWeTalkProductConfigRequest < TencentCloud::Common::AbstractModel
|
9898
|
+
# @param ProductId: 产品ID
|
9899
|
+
# @type ProductId: String
|
9900
|
+
# @param SystemPrompt: 系统提示词
|
9901
|
+
# @type SystemPrompt: String
|
9902
|
+
# @param GreetingMessage: 欢迎语
|
9903
|
+
# @type GreetingMessage: String
|
9904
|
+
# @param VoiceType: 音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。
|
9905
|
+
# @type VoiceType: Integer
|
9906
|
+
# @param TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
9907
|
+
# @type TargetLanguage: String
|
9908
|
+
|
9909
|
+
attr_accessor :ProductId, :SystemPrompt, :GreetingMessage, :VoiceType, :TargetLanguage
|
9910
|
+
|
9911
|
+
def initialize(productid=nil, systemprompt=nil, greetingmessage=nil, voicetype=nil, targetlanguage=nil)
|
9912
|
+
@ProductId = productid
|
9913
|
+
@SystemPrompt = systemprompt
|
9914
|
+
@GreetingMessage = greetingmessage
|
9915
|
+
@VoiceType = voicetype
|
9916
|
+
@TargetLanguage = targetlanguage
|
9917
|
+
end
|
9918
|
+
|
9919
|
+
def deserialize(params)
|
9920
|
+
@ProductId = params['ProductId']
|
9921
|
+
@SystemPrompt = params['SystemPrompt']
|
9922
|
+
@GreetingMessage = params['GreetingMessage']
|
9923
|
+
@VoiceType = params['VoiceType']
|
9924
|
+
@TargetLanguage = params['TargetLanguage']
|
9925
|
+
end
|
9926
|
+
end
|
9927
|
+
|
9928
|
+
# ModifyTWeTalkProductConfig返回参数结构体
|
9929
|
+
class ModifyTWeTalkProductConfigResponse < TencentCloud::Common::AbstractModel
|
9930
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9931
|
+
# @type RequestId: String
|
9932
|
+
|
9933
|
+
attr_accessor :RequestId
|
9934
|
+
|
9935
|
+
def initialize(requestid=nil)
|
9936
|
+
@RequestId = requestid
|
9937
|
+
end
|
9938
|
+
|
9939
|
+
def deserialize(params)
|
9940
|
+
@RequestId = params['RequestId']
|
9941
|
+
end
|
9942
|
+
end
|
9943
|
+
|
9686
9944
|
# ModifyTopicPolicy请求参数结构体
|
9687
9945
|
class ModifyTopicPolicyRequest < TencentCloud::Common::AbstractModel
|
9688
9946
|
# @param ProductId: 产品ID
|
@@ -10371,17 +10629,21 @@ module TencentCloud
|
|
10371
10629
|
# @type ProductID: String
|
10372
10630
|
# @param DeviceName: 设备名称。
|
10373
10631
|
# @type DeviceName: String
|
10632
|
+
# @param FwType: 固件类型
|
10633
|
+
# @type FwType: String
|
10374
10634
|
|
10375
|
-
attr_accessor :ProductID, :DeviceName
|
10635
|
+
attr_accessor :ProductID, :DeviceName, :FwType
|
10376
10636
|
|
10377
|
-
def initialize(productid=nil, devicename=nil)
|
10637
|
+
def initialize(productid=nil, devicename=nil, fwtype=nil)
|
10378
10638
|
@ProductID = productid
|
10379
10639
|
@DeviceName = devicename
|
10640
|
+
@FwType = fwtype
|
10380
10641
|
end
|
10381
10642
|
|
10382
10643
|
def deserialize(params)
|
10383
10644
|
@ProductID = params['ProductID']
|
10384
10645
|
@DeviceName = params['DeviceName']
|
10646
|
+
@FwType = params['FwType']
|
10385
10647
|
end
|
10386
10648
|
end
|
10387
10649
|
|
@@ -11093,8 +11355,8 @@ module TencentCloud
|
|
11093
11355
|
|
11094
11356
|
attr_accessor :ModelId, :Sn, :ExpireTime, :PkgType
|
11095
11357
|
extend Gem::Deprecate
|
11096
|
-
deprecate :ModelId, :none, 2025,
|
11097
|
-
deprecate :ModelId=, :none, 2025,
|
11358
|
+
deprecate :ModelId, :none, 2025, 9
|
11359
|
+
deprecate :ModelId=, :none, 2025, 9
|
11098
11360
|
|
11099
11361
|
def initialize(modelid=nil, sn=nil, expiretime=nil, pkgtype=nil)
|
11100
11362
|
@ModelId = modelid
|
@@ -11124,10 +11386,10 @@ module TencentCloud
|
|
11124
11386
|
|
11125
11387
|
attr_accessor :Sn, :ModelId, :ActiveNum
|
11126
11388
|
extend Gem::Deprecate
|
11127
|
-
deprecate :ModelId, :none, 2025,
|
11128
|
-
deprecate :ModelId=, :none, 2025,
|
11129
|
-
deprecate :ActiveNum, :none, 2025,
|
11130
|
-
deprecate :ActiveNum=, :none, 2025,
|
11389
|
+
deprecate :ModelId, :none, 2025, 9
|
11390
|
+
deprecate :ModelId=, :none, 2025, 9
|
11391
|
+
deprecate :ActiveNum, :none, 2025, 9
|
11392
|
+
deprecate :ActiveNum=, :none, 2025, 9
|
11131
11393
|
|
11132
11394
|
def initialize(sn=nil, modelid=nil, activenum=nil)
|
11133
11395
|
@Sn = sn
|
@@ -11166,6 +11428,46 @@ module TencentCloud
|
|
11166
11428
|
end
|
11167
11429
|
end
|
11168
11430
|
|
11431
|
+
# Talk配置信息描述。
|
11432
|
+
class TalkProductConfigInfo < TencentCloud::Common::AbstractModel
|
11433
|
+
# @param ProductId: 产品ID
|
11434
|
+
# @type ProductId: String
|
11435
|
+
# @param TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
11436
|
+
# @type TargetLanguage: String
|
11437
|
+
# @param SystemPrompt: 系统提示词
|
11438
|
+
# @type SystemPrompt: String
|
11439
|
+
# @param GreetingMessage: 欢迎语
|
11440
|
+
# @type GreetingMessage: String
|
11441
|
+
# @param VoiceType: 音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。
|
11442
|
+
# @type VoiceType: Integer
|
11443
|
+
# @param CreateTime: 创建时间
|
11444
|
+
# @type CreateTime: Integer
|
11445
|
+
# @param UpdateTime: 更新时间
|
11446
|
+
# @type UpdateTime: Integer
|
11447
|
+
|
11448
|
+
attr_accessor :ProductId, :TargetLanguage, :SystemPrompt, :GreetingMessage, :VoiceType, :CreateTime, :UpdateTime
|
11449
|
+
|
11450
|
+
def initialize(productid=nil, targetlanguage=nil, systemprompt=nil, greetingmessage=nil, voicetype=nil, createtime=nil, updatetime=nil)
|
11451
|
+
@ProductId = productid
|
11452
|
+
@TargetLanguage = targetlanguage
|
11453
|
+
@SystemPrompt = systemprompt
|
11454
|
+
@GreetingMessage = greetingmessage
|
11455
|
+
@VoiceType = voicetype
|
11456
|
+
@CreateTime = createtime
|
11457
|
+
@UpdateTime = updatetime
|
11458
|
+
end
|
11459
|
+
|
11460
|
+
def deserialize(params)
|
11461
|
+
@ProductId = params['ProductId']
|
11462
|
+
@TargetLanguage = params['TargetLanguage']
|
11463
|
+
@SystemPrompt = params['SystemPrompt']
|
11464
|
+
@GreetingMessage = params['GreetingMessage']
|
11465
|
+
@VoiceType = params['VoiceType']
|
11466
|
+
@CreateTime = params['CreateTime']
|
11467
|
+
@UpdateTime = params['UpdateTime']
|
11468
|
+
end
|
11469
|
+
end
|
11470
|
+
|
11169
11471
|
# 视频语义搜索结果
|
11170
11472
|
class TargetInfo < TencentCloud::Common::AbstractModel
|
11171
11473
|
# @param Id: 视频唯一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.1138
|
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-
|
11
|
+
date: 2025-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|