tencentcloud-sdk-iotexplorer 3.0.1014 → 3.0.1015
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/models.rb +104 -18
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0ad81883f5a7a387319fb7779b3c0c33615bf70
|
4
|
+
data.tar.gz: 35343e4be4e57e3bdb1d3c149f7010400bb3fb95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20d69af4b85b4a7e77cd28b545ecca276e2d87cb0b009fa3cfb488d40855fc545256daea81e5e00d7c71462dfa733aae05de201b9438d4a66ae0fe6e8cc99baf
|
7
|
+
data.tar.gz: 8d4d2bee5ea969ad2e5e3e0502b5fdbd481208386b149d016f66871e29b17e506d34df948ef94029311ed87836828765b257d207306b258637c2b9a136bee28a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1015
|
data/lib/v20190423/models.rb
CHANGED
@@ -69,8 +69,8 @@ module TencentCloud
|
|
69
69
|
|
70
70
|
attr_accessor :PkgType, :MiniProgramAppId, :DeviceList
|
71
71
|
extend Gem::Deprecate
|
72
|
-
deprecate :MiniProgramAppId, :none, 2025,
|
73
|
-
deprecate :MiniProgramAppId=, :none, 2025,
|
72
|
+
deprecate :MiniProgramAppId, :none, 2025, 3
|
73
|
+
deprecate :MiniProgramAppId=, :none, 2025, 3
|
74
74
|
|
75
75
|
def initialize(pkgtype=nil, miniprogramappid=nil, devicelist=nil)
|
76
76
|
@PkgType = pkgtype
|
@@ -740,6 +740,8 @@ module TencentCloud
|
|
740
740
|
# @type Result: String
|
741
741
|
# @param Files: 任务输出文件列表
|
742
742
|
# @type Files: Array
|
743
|
+
# @param FilesInfo: 任务输出文件信息列表
|
744
|
+
# @type FilesInfo: Array
|
743
745
|
# @param CreateTime: 创建时间
|
744
746
|
# @type CreateTime: Integer
|
745
747
|
# @param UpdateTime: 最后更新时间
|
@@ -747,9 +749,9 @@ module TencentCloud
|
|
747
749
|
# @param CustomId: 自定义任务 ID
|
748
750
|
# @type CustomId: String
|
749
751
|
|
750
|
-
attr_accessor :TaskId, :ProductId, :DeviceName, :ChannelId, :ServiceType, :StartTime, :EndTime, :Status, :Result, :Files, :CreateTime, :UpdateTime, :CustomId
|
752
|
+
attr_accessor :TaskId, :ProductId, :DeviceName, :ChannelId, :ServiceType, :StartTime, :EndTime, :Status, :Result, :Files, :FilesInfo, :CreateTime, :UpdateTime, :CustomId
|
751
753
|
|
752
|
-
def initialize(taskid=nil, productid=nil, devicename=nil, channelid=nil, servicetype=nil, starttime=nil, endtime=nil, status=nil, result=nil, files=nil, createtime=nil, updatetime=nil, customid=nil)
|
754
|
+
def initialize(taskid=nil, productid=nil, devicename=nil, channelid=nil, servicetype=nil, starttime=nil, endtime=nil, status=nil, result=nil, files=nil, filesinfo=nil, createtime=nil, updatetime=nil, customid=nil)
|
753
755
|
@TaskId = taskid
|
754
756
|
@ProductId = productid
|
755
757
|
@DeviceName = devicename
|
@@ -760,6 +762,7 @@ module TencentCloud
|
|
760
762
|
@Status = status
|
761
763
|
@Result = result
|
762
764
|
@Files = files
|
765
|
+
@FilesInfo = filesinfo
|
763
766
|
@CreateTime = createtime
|
764
767
|
@UpdateTime = updatetime
|
765
768
|
@CustomId = customid
|
@@ -776,12 +779,75 @@ module TencentCloud
|
|
776
779
|
@Status = params['Status']
|
777
780
|
@Result = params['Result']
|
778
781
|
@Files = params['Files']
|
782
|
+
unless params['FilesInfo'].nil?
|
783
|
+
@FilesInfo = []
|
784
|
+
params['FilesInfo'].each do |i|
|
785
|
+
cloudstorageaiservicetaskfileinfo_tmp = CloudStorageAIServiceTaskFileInfo.new
|
786
|
+
cloudstorageaiservicetaskfileinfo_tmp.deserialize(i)
|
787
|
+
@FilesInfo << cloudstorageaiservicetaskfileinfo_tmp
|
788
|
+
end
|
789
|
+
end
|
779
790
|
@CreateTime = params['CreateTime']
|
780
791
|
@UpdateTime = params['UpdateTime']
|
781
792
|
@CustomId = params['CustomId']
|
782
793
|
end
|
783
794
|
end
|
784
795
|
|
796
|
+
# 云存 AI 任务输出文件信息
|
797
|
+
class CloudStorageAIServiceTaskFileInfo < TencentCloud::Common::AbstractModel
|
798
|
+
# @param FileName: 文件名称(含扩展名)
|
799
|
+
# @type FileName: String
|
800
|
+
# @param FileSize: 文件大小(单位:bytes)
|
801
|
+
# @type FileSize: Integer
|
802
|
+
# @param DownloadURL: 文件下载 URL
|
803
|
+
# @type DownloadURL: String
|
804
|
+
# @param MimeType: 文件的 MIME Type
|
805
|
+
# @type MimeType: String
|
806
|
+
# @param VideoMetaInfo: 视频文件元数据(仅当文件为视频类型时包含该字段)
|
807
|
+
# @type VideoMetaInfo: :class:`Tencentcloud::Iotexplorer.v20190423.models.CloudStorageAIServiceTaskVideoMetaInfo`
|
808
|
+
|
809
|
+
attr_accessor :FileName, :FileSize, :DownloadURL, :MimeType, :VideoMetaInfo
|
810
|
+
|
811
|
+
def initialize(filename=nil, filesize=nil, downloadurl=nil, mimetype=nil, videometainfo=nil)
|
812
|
+
@FileName = filename
|
813
|
+
@FileSize = filesize
|
814
|
+
@DownloadURL = downloadurl
|
815
|
+
@MimeType = mimetype
|
816
|
+
@VideoMetaInfo = videometainfo
|
817
|
+
end
|
818
|
+
|
819
|
+
def deserialize(params)
|
820
|
+
@FileName = params['FileName']
|
821
|
+
@FileSize = params['FileSize']
|
822
|
+
@DownloadURL = params['DownloadURL']
|
823
|
+
@MimeType = params['MimeType']
|
824
|
+
unless params['VideoMetaInfo'].nil?
|
825
|
+
@VideoMetaInfo = CloudStorageAIServiceTaskVideoMetaInfo.new
|
826
|
+
@VideoMetaInfo.deserialize(params['VideoMetaInfo'])
|
827
|
+
end
|
828
|
+
end
|
829
|
+
end
|
830
|
+
|
831
|
+
# 云存 AI 任务输出视频文件元数据
|
832
|
+
class CloudStorageAIServiceTaskVideoMetaInfo < TencentCloud::Common::AbstractModel
|
833
|
+
# @param ThumbnailFileName: 视频对应的缩略图的文件名称(含扩展名)
|
834
|
+
# @type ThumbnailFileName: String
|
835
|
+
# @param DurationMilliSeconds: 视频时长(单位:毫秒)
|
836
|
+
# @type DurationMilliSeconds: Integer
|
837
|
+
|
838
|
+
attr_accessor :ThumbnailFileName, :DurationMilliSeconds
|
839
|
+
|
840
|
+
def initialize(thumbnailfilename=nil, durationmilliseconds=nil)
|
841
|
+
@ThumbnailFileName = thumbnailfilename
|
842
|
+
@DurationMilliSeconds = durationmilliseconds
|
843
|
+
end
|
844
|
+
|
845
|
+
def deserialize(params)
|
846
|
+
@ThumbnailFileName = params['ThumbnailFileName']
|
847
|
+
@DurationMilliSeconds = params['DurationMilliSeconds']
|
848
|
+
end
|
849
|
+
end
|
850
|
+
|
785
851
|
# 云存事件
|
786
852
|
class CloudStorageEvent < TencentCloud::Common::AbstractModel
|
787
853
|
# @param StartTime: 事件起始时间(Unix 时间戳,秒级
|
@@ -2960,10 +3026,22 @@ module TencentCloud
|
|
2960
3026
|
# @type UserId: String
|
2961
3027
|
# @param ChannelId: 通道 ID
|
2962
3028
|
# @type ChannelId: Integer
|
3029
|
+
# @param DeviceNames: 设备名称列表。
|
3030
|
+
|
3031
|
+
# 当需要同时查询多台设备的任务列表时传入,优先级高于参数 `DeviceName`
|
3032
|
+
# @type DeviceNames: Array
|
3033
|
+
# @param StartTime: 查询任务时间范围的起始时间(秒级 UNIX 时间戳)
|
3034
|
+
# @type StartTime: Integer
|
3035
|
+
# @param EndTime: 查询任务时间范围的结束时间(秒级 UNIX 时间戳)
|
3036
|
+
# @type EndTime: Integer
|
3037
|
+
# @param FileURLExpireTime: 下载 URL 的过期时间。
|
3038
|
+
|
3039
|
+
# 若传入该参数,则响应中将包含所有文件的下载 URL
|
3040
|
+
# @type FileURLExpireTime: Integer
|
2963
3041
|
|
2964
|
-
attr_accessor :ProductId, :DeviceName, :ServiceType, :Limit, :Offset, :Status, :UserId, :ChannelId
|
3042
|
+
attr_accessor :ProductId, :DeviceName, :ServiceType, :Limit, :Offset, :Status, :UserId, :ChannelId, :DeviceNames, :StartTime, :EndTime, :FileURLExpireTime
|
2965
3043
|
|
2966
|
-
def initialize(productid=nil, devicename=nil, servicetype=nil, limit=nil, offset=nil, status=nil, userid=nil, channelid=nil)
|
3044
|
+
def initialize(productid=nil, devicename=nil, servicetype=nil, limit=nil, offset=nil, status=nil, userid=nil, channelid=nil, devicenames=nil, starttime=nil, endtime=nil, fileurlexpiretime=nil)
|
2967
3045
|
@ProductId = productid
|
2968
3046
|
@DeviceName = devicename
|
2969
3047
|
@ServiceType = servicetype
|
@@ -2972,6 +3050,10 @@ module TencentCloud
|
|
2972
3050
|
@Status = status
|
2973
3051
|
@UserId = userid
|
2974
3052
|
@ChannelId = channelid
|
3053
|
+
@DeviceNames = devicenames
|
3054
|
+
@StartTime = starttime
|
3055
|
+
@EndTime = endtime
|
3056
|
+
@FileURLExpireTime = fileurlexpiretime
|
2975
3057
|
end
|
2976
3058
|
|
2977
3059
|
def deserialize(params)
|
@@ -2983,6 +3065,10 @@ module TencentCloud
|
|
2983
3065
|
@Status = params['Status']
|
2984
3066
|
@UserId = params['UserId']
|
2985
3067
|
@ChannelId = params['ChannelId']
|
3068
|
+
@DeviceNames = params['DeviceNames']
|
3069
|
+
@StartTime = params['StartTime']
|
3070
|
+
@EndTime = params['EndTime']
|
3071
|
+
@FileURLExpireTime = params['FileURLExpireTime']
|
2986
3072
|
end
|
2987
3073
|
end
|
2988
3074
|
|
@@ -5545,8 +5631,8 @@ module TencentCloud
|
|
5545
5631
|
|
5546
5632
|
attr_accessor :ModelId, :Sn, :ErrCode, :ExpireTime
|
5547
5633
|
extend Gem::Deprecate
|
5548
|
-
deprecate :ModelId, :none, 2025,
|
5549
|
-
deprecate :ModelId=, :none, 2025,
|
5634
|
+
deprecate :ModelId, :none, 2025, 3
|
5635
|
+
deprecate :ModelId=, :none, 2025, 3
|
5550
5636
|
|
5551
5637
|
def initialize(modelid=nil, sn=nil, errcode=nil, expiretime=nil)
|
5552
5638
|
@ModelId = modelid
|
@@ -7167,8 +7253,8 @@ module TencentCloud
|
|
7167
7253
|
|
7168
7254
|
attr_accessor :MiniProgramAppId, :DeviceList
|
7169
7255
|
extend Gem::Deprecate
|
7170
|
-
deprecate :MiniProgramAppId, :none, 2025,
|
7171
|
-
deprecate :MiniProgramAppId=, :none, 2025,
|
7256
|
+
deprecate :MiniProgramAppId, :none, 2025, 3
|
7257
|
+
deprecate :MiniProgramAppId=, :none, 2025, 3
|
7172
7258
|
|
7173
7259
|
def initialize(miniprogramappid=nil, devicelist=nil)
|
7174
7260
|
@MiniProgramAppId = miniprogramappid
|
@@ -7230,8 +7316,8 @@ module TencentCloud
|
|
7230
7316
|
|
7231
7317
|
attr_accessor :MiniProgramAppId, :PkgType, :Status, :Offset, :Limit
|
7232
7318
|
extend Gem::Deprecate
|
7233
|
-
deprecate :MiniProgramAppId, :none, 2025,
|
7234
|
-
deprecate :MiniProgramAppId=, :none, 2025,
|
7319
|
+
deprecate :MiniProgramAppId, :none, 2025, 3
|
7320
|
+
deprecate :MiniProgramAppId=, :none, 2025, 3
|
7235
7321
|
|
7236
7322
|
def initialize(miniprogramappid=nil, pkgtype=nil, status=nil, offset=nil, limit=nil)
|
7237
7323
|
@MiniProgramAppId = miniprogramappid
|
@@ -10097,8 +10183,8 @@ module TencentCloud
|
|
10097
10183
|
|
10098
10184
|
attr_accessor :ModelId, :Sn, :ExpireTime, :PkgType
|
10099
10185
|
extend Gem::Deprecate
|
10100
|
-
deprecate :ModelId, :none, 2025,
|
10101
|
-
deprecate :ModelId=, :none, 2025,
|
10186
|
+
deprecate :ModelId, :none, 2025, 3
|
10187
|
+
deprecate :ModelId=, :none, 2025, 3
|
10102
10188
|
|
10103
10189
|
def initialize(modelid=nil, sn=nil, expiretime=nil, pkgtype=nil)
|
10104
10190
|
@ModelId = modelid
|
@@ -10156,10 +10242,10 @@ module TencentCloud
|
|
10156
10242
|
|
10157
10243
|
attr_accessor :Sn, :ModelId, :ActiveNum
|
10158
10244
|
extend Gem::Deprecate
|
10159
|
-
deprecate :ModelId, :none, 2025,
|
10160
|
-
deprecate :ModelId=, :none, 2025,
|
10161
|
-
deprecate :ActiveNum, :none, 2025,
|
10162
|
-
deprecate :ActiveNum=, :none, 2025,
|
10245
|
+
deprecate :ModelId, :none, 2025, 3
|
10246
|
+
deprecate :ModelId=, :none, 2025, 3
|
10247
|
+
deprecate :ActiveNum, :none, 2025, 3
|
10248
|
+
deprecate :ActiveNum=, :none, 2025, 3
|
10163
10249
|
|
10164
10250
|
def initialize(sn=nil, modelid=nil, activenum=nil)
|
10165
10251
|
@Sn = sn
|