tencentcloud-sdk-iotexplorer 3.0.1154 → 3.0.1160
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 +48 -0
- data/lib/v20190423/models.rb +74 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b1546c995aca90eb9bd6271b914da6078eede3f
|
|
4
|
+
data.tar.gz: 33906f6830ed5d9e613f2a6480f679fd94292ddc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 875b85b999b739d21f1db4a27830d75b668ffa3e304eff0b73dadf93257c63df7108598da0b55d367aa68ee5a65a71aa8f91073a39c1b7aed3342789d22d1f69
|
|
7
|
+
data.tar.gz: 2af82eb87917c56b27e7928fefa481d751ebc689af049c9a9c13e89bc08576b13e8b4a27f3fb02215277060eb218bb17ee4191162f38015a0438b90261f335ec
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1160
|
data/lib/v20190423/client.rb
CHANGED
|
@@ -751,6 +751,30 @@ module TencentCloud
|
|
|
751
751
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
752
752
|
end
|
|
753
753
|
|
|
754
|
+
# 开通 TWeSee 后付费服务
|
|
755
|
+
|
|
756
|
+
# @param request: Request instance for CreateTWeSeeService.
|
|
757
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateTWeSeeServiceRequest`
|
|
758
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateTWeSeeServiceResponse`
|
|
759
|
+
def CreateTWeSeeService(request)
|
|
760
|
+
body = send_request('CreateTWeSeeService', request.serialize)
|
|
761
|
+
response = JSON.parse(body)
|
|
762
|
+
if response['Response'].key?('Error') == false
|
|
763
|
+
model = CreateTWeSeeServiceResponse.new
|
|
764
|
+
model.deserialize(response['Response'])
|
|
765
|
+
model
|
|
766
|
+
else
|
|
767
|
+
code = response['Response']['Error']['Code']
|
|
768
|
+
message = response['Response']['Error']['Message']
|
|
769
|
+
reqid = response['Response']['RequestId']
|
|
770
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
771
|
+
end
|
|
772
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
773
|
+
raise e
|
|
774
|
+
rescue StandardError => e
|
|
775
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
776
|
+
end
|
|
777
|
+
|
|
754
778
|
# 用于配置TWeTalk服务连接产品配置信息。
|
|
755
779
|
|
|
756
780
|
# @param request: Request instance for CreateTWeTalkProductConfig.
|
|
@@ -4501,6 +4525,30 @@ module TencentCloud
|
|
|
4501
4525
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4502
4526
|
end
|
|
4503
4527
|
|
|
4528
|
+
# 本接口(UpdateOtaTask)当固件升级大任务处于没有在全部成功的状态时,可修改为取消状态,取消部分或全部设备的升级;或其它允许的可修改的状态。
|
|
4529
|
+
|
|
4530
|
+
# @param request: Request instance for UpdateOtaTaskStatus.
|
|
4531
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::UpdateOtaTaskStatusRequest`
|
|
4532
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::UpdateOtaTaskStatusResponse`
|
|
4533
|
+
def UpdateOtaTaskStatus(request)
|
|
4534
|
+
body = send_request('UpdateOtaTaskStatus', request.serialize)
|
|
4535
|
+
response = JSON.parse(body)
|
|
4536
|
+
if response['Response'].key?('Error') == false
|
|
4537
|
+
model = UpdateOtaTaskStatusResponse.new
|
|
4538
|
+
model.deserialize(response['Response'])
|
|
4539
|
+
model
|
|
4540
|
+
else
|
|
4541
|
+
code = response['Response']['Error']['Code']
|
|
4542
|
+
message = response['Response']['Error']['Message']
|
|
4543
|
+
reqid = response['Response']['RequestId']
|
|
4544
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
4545
|
+
end
|
|
4546
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
4547
|
+
raise e
|
|
4548
|
+
rescue StandardError => e
|
|
4549
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4550
|
+
end
|
|
4551
|
+
|
|
4504
4552
|
# 本接口(UploadFirmware)用于创建设备固件版本信息,在平台用于固件版本升级、固件资源下发等。
|
|
4505
4553
|
|
|
4506
4554
|
# @param request: Request instance for UploadFirmware.
|
data/lib/v20190423/models.rb
CHANGED
|
@@ -2447,6 +2447,40 @@ module TencentCloud
|
|
|
2447
2447
|
end
|
|
2448
2448
|
end
|
|
2449
2449
|
|
|
2450
|
+
# CreateTWeSeeService请求参数结构体
|
|
2451
|
+
class CreateTWeSeeServiceRequest < TencentCloud::Common::AbstractModel
|
|
2452
|
+
# @param Service: 服务类型
|
|
2453
|
+
# 1.VideoSummary
|
|
2454
|
+
# 2.ImageSummary
|
|
2455
|
+
# @type Service: String
|
|
2456
|
+
|
|
2457
|
+
attr_accessor :Service
|
|
2458
|
+
|
|
2459
|
+
def initialize(service=nil)
|
|
2460
|
+
@Service = service
|
|
2461
|
+
end
|
|
2462
|
+
|
|
2463
|
+
def deserialize(params)
|
|
2464
|
+
@Service = params['Service']
|
|
2465
|
+
end
|
|
2466
|
+
end
|
|
2467
|
+
|
|
2468
|
+
# CreateTWeSeeService返回参数结构体
|
|
2469
|
+
class CreateTWeSeeServiceResponse < TencentCloud::Common::AbstractModel
|
|
2470
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2471
|
+
# @type RequestId: String
|
|
2472
|
+
|
|
2473
|
+
attr_accessor :RequestId
|
|
2474
|
+
|
|
2475
|
+
def initialize(requestid=nil)
|
|
2476
|
+
@RequestId = requestid
|
|
2477
|
+
end
|
|
2478
|
+
|
|
2479
|
+
def deserialize(params)
|
|
2480
|
+
@RequestId = params['RequestId']
|
|
2481
|
+
end
|
|
2482
|
+
end
|
|
2483
|
+
|
|
2450
2484
|
# CreateTWeTalkProductConfig请求参数结构体
|
|
2451
2485
|
class CreateTWeTalkProductConfigRequest < TencentCloud::Common::AbstractModel
|
|
2452
2486
|
# @param ProductId: 产品ID
|
|
@@ -13450,6 +13484,46 @@ module TencentCloud
|
|
|
13450
13484
|
end
|
|
13451
13485
|
end
|
|
13452
13486
|
|
|
13487
|
+
# UpdateOtaTaskStatus请求参数结构体
|
|
13488
|
+
class UpdateOtaTaskStatusRequest < TencentCloud::Common::AbstractModel
|
|
13489
|
+
# @param ProductId: 产品ID
|
|
13490
|
+
# @type ProductId: String
|
|
13491
|
+
# @param TaskId: 固件升级任务ID
|
|
13492
|
+
# @type TaskId: Integer
|
|
13493
|
+
# @param Status: 固件任务取消状态
|
|
13494
|
+
# @type Status: Integer
|
|
13495
|
+
|
|
13496
|
+
attr_accessor :ProductId, :TaskId, :Status
|
|
13497
|
+
|
|
13498
|
+
def initialize(productid=nil, taskid=nil, status=nil)
|
|
13499
|
+
@ProductId = productid
|
|
13500
|
+
@TaskId = taskid
|
|
13501
|
+
@Status = status
|
|
13502
|
+
end
|
|
13503
|
+
|
|
13504
|
+
def deserialize(params)
|
|
13505
|
+
@ProductId = params['ProductId']
|
|
13506
|
+
@TaskId = params['TaskId']
|
|
13507
|
+
@Status = params['Status']
|
|
13508
|
+
end
|
|
13509
|
+
end
|
|
13510
|
+
|
|
13511
|
+
# UpdateOtaTaskStatus返回参数结构体
|
|
13512
|
+
class UpdateOtaTaskStatusResponse < TencentCloud::Common::AbstractModel
|
|
13513
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13514
|
+
# @type RequestId: String
|
|
13515
|
+
|
|
13516
|
+
attr_accessor :RequestId
|
|
13517
|
+
|
|
13518
|
+
def initialize(requestid=nil)
|
|
13519
|
+
@RequestId = requestid
|
|
13520
|
+
end
|
|
13521
|
+
|
|
13522
|
+
def deserialize(params)
|
|
13523
|
+
@RequestId = params['RequestId']
|
|
13524
|
+
end
|
|
13525
|
+
end
|
|
13526
|
+
|
|
13453
13527
|
# UploadFirmware请求参数结构体
|
|
13454
13528
|
class UploadFirmwareRequest < TencentCloud::Common::AbstractModel
|
|
13455
13529
|
# @param ProductID: 产品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.1160
|
|
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-10-
|
|
11
|
+
date: 2025-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
+
- lib/tencentcloud-sdk-iotexplorer.rb
|
|
36
37
|
- lib/v20190423/models.rb
|
|
37
38
|
- lib/v20190423/client.rb
|
|
38
|
-
- lib/tencentcloud-sdk-iotexplorer.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|