tencentcloud-sdk-iss 3.0.644 → 3.0.646
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/v20230517/client.rb +96 -0
- data/lib/v20230517/models.rb +401 -2
- 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: 787713d330fd5f6b8f8e45e299b0ca8a695f10b4
|
4
|
+
data.tar.gz: b7e84e287b44d7c753da550348c4aaf0b6856856
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb9f9c9017a3e24e0cf83030aa3d3eba1354e32a79882c1b9b517ac9c52918eac3c0fbd432ecc1ca2d8f4b004719d0636a6b45ed3533fad6752e5ee8bfd4a69c
|
7
|
+
data.tar.gz: 4b0f2dfc106676e5cce2a92dd6fac13bebaaeb0d116126331aa81eb4186b23be60599f93b7ef9a6ba570e422c5751fa7a0f20f97ac5c5037049614224b82ca14
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.646
|
data/lib/v20230517/client.rb
CHANGED
@@ -248,6 +248,30 @@ module TencentCloud
|
|
248
248
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
249
249
|
end
|
250
250
|
|
251
|
+
# 用于批量操作(启用,禁用,删除)设备
|
252
|
+
|
253
|
+
# @param request: Request instance for BatchOperateDevice.
|
254
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::BatchOperateDeviceRequest`
|
255
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::BatchOperateDeviceResponse`
|
256
|
+
def BatchOperateDevice(request)
|
257
|
+
body = send_request('BatchOperateDevice', request.serialize)
|
258
|
+
response = JSON.parse(body)
|
259
|
+
if response['Response'].key?('Error') == false
|
260
|
+
model = BatchOperateDeviceResponse.new
|
261
|
+
model.deserialize(response['Response'])
|
262
|
+
model
|
263
|
+
else
|
264
|
+
code = response['Response']['Error']['Code']
|
265
|
+
message = response['Response']['Error']['Message']
|
266
|
+
reqid = response['Response']['RequestId']
|
267
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
268
|
+
end
|
269
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
270
|
+
raise e
|
271
|
+
rescue StandardError => e
|
272
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
273
|
+
end
|
274
|
+
|
251
275
|
# 用于检测域名是否备案。
|
252
276
|
|
253
277
|
# @param request: Request instance for CheckDomain.
|
@@ -1136,6 +1160,30 @@ module TencentCloud
|
|
1136
1160
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1137
1161
|
end
|
1138
1162
|
|
1163
|
+
# 用于查询任务详情
|
1164
|
+
|
1165
|
+
# @param request: Request instance for DescribeTask.
|
1166
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeTaskRequest`
|
1167
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeTaskResponse`
|
1168
|
+
def DescribeTask(request)
|
1169
|
+
body = send_request('DescribeTask', request.serialize)
|
1170
|
+
response = JSON.parse(body)
|
1171
|
+
if response['Response'].key?('Error') == false
|
1172
|
+
model = DescribeTaskResponse.new
|
1173
|
+
model.deserialize(response['Response'])
|
1174
|
+
model
|
1175
|
+
else
|
1176
|
+
code = response['Response']['Error']['Code']
|
1177
|
+
message = response['Response']['Error']['Message']
|
1178
|
+
reqid = response['Response']['RequestId']
|
1179
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1180
|
+
end
|
1181
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1182
|
+
raise e
|
1183
|
+
rescue StandardError => e
|
1184
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1185
|
+
end
|
1186
|
+
|
1139
1187
|
# 用于查询设备的详细信息。
|
1140
1188
|
|
1141
1189
|
# @param request: Request instance for DescribeUserDevice.
|
@@ -1520,6 +1568,54 @@ module TencentCloud
|
|
1520
1568
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1521
1569
|
end
|
1522
1570
|
|
1571
|
+
# 用于查询任务的子任务列表
|
1572
|
+
|
1573
|
+
# @param request: Request instance for ListSubTasks.
|
1574
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListSubTasksRequest`
|
1575
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListSubTasksResponse`
|
1576
|
+
def ListSubTasks(request)
|
1577
|
+
body = send_request('ListSubTasks', request.serialize)
|
1578
|
+
response = JSON.parse(body)
|
1579
|
+
if response['Response'].key?('Error') == false
|
1580
|
+
model = ListSubTasksResponse.new
|
1581
|
+
model.deserialize(response['Response'])
|
1582
|
+
model
|
1583
|
+
else
|
1584
|
+
code = response['Response']['Error']['Code']
|
1585
|
+
message = response['Response']['Error']['Message']
|
1586
|
+
reqid = response['Response']['RequestId']
|
1587
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1588
|
+
end
|
1589
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1590
|
+
raise e
|
1591
|
+
rescue StandardError => e
|
1592
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1593
|
+
end
|
1594
|
+
|
1595
|
+
# 用于查询批量任务和简单任务列表
|
1596
|
+
|
1597
|
+
# @param request: Request instance for ListTasks.
|
1598
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListTasksRequest`
|
1599
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListTasksResponse`
|
1600
|
+
def ListTasks(request)
|
1601
|
+
body = send_request('ListTasks', request.serialize)
|
1602
|
+
response = JSON.parse(body)
|
1603
|
+
if response['Response'].key?('Error') == false
|
1604
|
+
model = ListTasksResponse.new
|
1605
|
+
model.deserialize(response['Response'])
|
1606
|
+
model
|
1607
|
+
else
|
1608
|
+
code = response['Response']['Error']['Code']
|
1609
|
+
message = response['Response']['Error']['Message']
|
1610
|
+
reqid = response['Response']['RequestId']
|
1611
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1612
|
+
end
|
1613
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1614
|
+
raise e
|
1615
|
+
rescue StandardError => e
|
1616
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1617
|
+
end
|
1618
|
+
|
1523
1619
|
# 用于获取设备本地录像 URL 地址。
|
1524
1620
|
|
1525
1621
|
# @param request: Request instance for PlayRecord.
|
data/lib/v20230517/models.rb
CHANGED
@@ -1251,6 +1251,66 @@ module TencentCloud
|
|
1251
1251
|
end
|
1252
1252
|
end
|
1253
1253
|
|
1254
|
+
# 批量操作设备返回结果
|
1255
|
+
class BatchOperateDeviceData < TencentCloud::Common::AbstractModel
|
1256
|
+
# @param TaskId: 任务 ID(用于在查询任务的子任务列表接口ListSubTasks中查询任务进度)
|
1257
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1258
|
+
# @type TaskId: String
|
1259
|
+
|
1260
|
+
attr_accessor :TaskId
|
1261
|
+
|
1262
|
+
def initialize(taskid=nil)
|
1263
|
+
@TaskId = taskid
|
1264
|
+
end
|
1265
|
+
|
1266
|
+
def deserialize(params)
|
1267
|
+
@TaskId = params['TaskId']
|
1268
|
+
end
|
1269
|
+
end
|
1270
|
+
|
1271
|
+
# BatchOperateDevice请求参数结构体
|
1272
|
+
class BatchOperateDeviceRequest < TencentCloud::Common::AbstractModel
|
1273
|
+
# @param DeviceIds: 设备 ID 数组(从获取设备列表接口ListDevices中获取)
|
1274
|
+
# @type DeviceIds: Array
|
1275
|
+
# @param Cmd: 操作命令(enable:启用;disable:禁用;delete:删除)
|
1276
|
+
# @type Cmd: String
|
1277
|
+
|
1278
|
+
attr_accessor :DeviceIds, :Cmd
|
1279
|
+
|
1280
|
+
def initialize(deviceids=nil, cmd=nil)
|
1281
|
+
@DeviceIds = deviceids
|
1282
|
+
@Cmd = cmd
|
1283
|
+
end
|
1284
|
+
|
1285
|
+
def deserialize(params)
|
1286
|
+
@DeviceIds = params['DeviceIds']
|
1287
|
+
@Cmd = params['Cmd']
|
1288
|
+
end
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
# BatchOperateDevice返回参数结构体
|
1292
|
+
class BatchOperateDeviceResponse < TencentCloud::Common::AbstractModel
|
1293
|
+
# @param Data: 返回结果
|
1294
|
+
# @type Data: :class:`Tencentcloud::Iss.v20230517.models.BatchOperateDeviceData`
|
1295
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1296
|
+
# @type RequestId: String
|
1297
|
+
|
1298
|
+
attr_accessor :Data, :RequestId
|
1299
|
+
|
1300
|
+
def initialize(data=nil, requestid=nil)
|
1301
|
+
@Data = data
|
1302
|
+
@RequestId = requestid
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
def deserialize(params)
|
1306
|
+
unless params['Data'].nil?
|
1307
|
+
@Data = BatchOperateDeviceData.new
|
1308
|
+
@Data.deserialize(params['Data'])
|
1309
|
+
end
|
1310
|
+
@RequestId = params['RequestId']
|
1311
|
+
end
|
1312
|
+
end
|
1313
|
+
|
1254
1314
|
# 人体识别结果详情
|
1255
1315
|
class BodyAIResultInfo < TencentCloud::Common::AbstractModel
|
1256
1316
|
# @param Time: 时间字符串
|
@@ -3764,6 +3824,45 @@ module TencentCloud
|
|
3764
3824
|
end
|
3765
3825
|
end
|
3766
3826
|
|
3827
|
+
# DescribeTask请求参数结构体
|
3828
|
+
class DescribeTaskRequest < TencentCloud::Common::AbstractModel
|
3829
|
+
# @param TaskId: 简单任务或复杂任务ID
|
3830
|
+
# @type TaskId: String
|
3831
|
+
|
3832
|
+
attr_accessor :TaskId
|
3833
|
+
|
3834
|
+
def initialize(taskid=nil)
|
3835
|
+
@TaskId = taskid
|
3836
|
+
end
|
3837
|
+
|
3838
|
+
def deserialize(params)
|
3839
|
+
@TaskId = params['TaskId']
|
3840
|
+
end
|
3841
|
+
end
|
3842
|
+
|
3843
|
+
# DescribeTask返回参数结构体
|
3844
|
+
class DescribeTaskResponse < TencentCloud::Common::AbstractModel
|
3845
|
+
# @param Data: 任务详情
|
3846
|
+
# @type Data: :class:`Tencentcloud::Iss.v20230517.models.TaskData`
|
3847
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3848
|
+
# @type RequestId: String
|
3849
|
+
|
3850
|
+
attr_accessor :Data, :RequestId
|
3851
|
+
|
3852
|
+
def initialize(data=nil, requestid=nil)
|
3853
|
+
@Data = data
|
3854
|
+
@RequestId = requestid
|
3855
|
+
end
|
3856
|
+
|
3857
|
+
def deserialize(params)
|
3858
|
+
unless params['Data'].nil?
|
3859
|
+
@Data = TaskData.new
|
3860
|
+
@Data.deserialize(params['Data'])
|
3861
|
+
end
|
3862
|
+
@RequestId = params['RequestId']
|
3863
|
+
end
|
3864
|
+
end
|
3865
|
+
|
3767
3866
|
# DescribeUserDevice请求参数结构体
|
3768
3867
|
class DescribeUserDeviceRequest < TencentCloud::Common::AbstractModel
|
3769
3868
|
# @param DeviceId: 设备ID(从获取设备列表接口ListDevices中获取)
|
@@ -4341,15 +4440,23 @@ module TencentCloud
|
|
4341
4440
|
class ListGatewayDevicesRequest < TencentCloud::Common::AbstractModel
|
4342
4441
|
# @param GatewayId: 网关索引ID(从获取网关列表接口ListGateways中获取)
|
4343
4442
|
# @type GatewayId: String
|
4443
|
+
# @param PageNumber: 分页页数
|
4444
|
+
# @type PageNumber: Integer
|
4445
|
+
# @param PageSize: 分页大小
|
4446
|
+
# @type PageSize: Integer
|
4344
4447
|
|
4345
|
-
attr_accessor :GatewayId
|
4448
|
+
attr_accessor :GatewayId, :PageNumber, :PageSize
|
4346
4449
|
|
4347
|
-
def initialize(gatewayid=nil)
|
4450
|
+
def initialize(gatewayid=nil, pagenumber=nil, pagesize=nil)
|
4348
4451
|
@GatewayId = gatewayid
|
4452
|
+
@PageNumber = pagenumber
|
4453
|
+
@PageSize = pagesize
|
4349
4454
|
end
|
4350
4455
|
|
4351
4456
|
def deserialize(params)
|
4352
4457
|
@GatewayId = params['GatewayId']
|
4458
|
+
@PageNumber = params['PageNumber']
|
4459
|
+
@PageSize = params['PageSize']
|
4353
4460
|
end
|
4354
4461
|
end
|
4355
4462
|
|
@@ -5160,6 +5267,164 @@ module TencentCloud
|
|
5160
5267
|
end
|
5161
5268
|
end
|
5162
5269
|
|
5270
|
+
# 列举子任务列表
|
5271
|
+
class ListSubTasksData < TencentCloud::Common::AbstractModel
|
5272
|
+
# @param List: 子任务列表
|
5273
|
+
# @type List: Array
|
5274
|
+
# @param TotalCount: 子任务数量
|
5275
|
+
# @type TotalCount: Integer
|
5276
|
+
|
5277
|
+
attr_accessor :List, :TotalCount
|
5278
|
+
|
5279
|
+
def initialize(list=nil, totalcount=nil)
|
5280
|
+
@List = list
|
5281
|
+
@TotalCount = totalcount
|
5282
|
+
end
|
5283
|
+
|
5284
|
+
def deserialize(params)
|
5285
|
+
unless params['List'].nil?
|
5286
|
+
@List = []
|
5287
|
+
params['List'].each do |i|
|
5288
|
+
subtaskdata_tmp = SubTaskData.new
|
5289
|
+
subtaskdata_tmp.deserialize(i)
|
5290
|
+
@List << subtaskdata_tmp
|
5291
|
+
end
|
5292
|
+
end
|
5293
|
+
@TotalCount = params['TotalCount']
|
5294
|
+
end
|
5295
|
+
end
|
5296
|
+
|
5297
|
+
# ListSubTasks请求参数结构体
|
5298
|
+
class ListSubTasksRequest < TencentCloud::Common::AbstractModel
|
5299
|
+
# @param TaskId: 复杂任务ID
|
5300
|
+
# @type TaskId: String
|
5301
|
+
# @param PageNumber: 页码,默认为1
|
5302
|
+
# @type PageNumber: Integer
|
5303
|
+
# @param PageSize: 每页数量,默认为10
|
5304
|
+
# @type PageSize: Integer
|
5305
|
+
# @param Status: 默认不对该字段进行筛选,否则根据任务状态进行筛选。状态码:1-NEW,2-RUNNING,3-COMPLETED,4-FAILED
|
5306
|
+
# @type Status: Integer
|
5307
|
+
|
5308
|
+
attr_accessor :TaskId, :PageNumber, :PageSize, :Status
|
5309
|
+
|
5310
|
+
def initialize(taskid=nil, pagenumber=nil, pagesize=nil, status=nil)
|
5311
|
+
@TaskId = taskid
|
5312
|
+
@PageNumber = pagenumber
|
5313
|
+
@PageSize = pagesize
|
5314
|
+
@Status = status
|
5315
|
+
end
|
5316
|
+
|
5317
|
+
def deserialize(params)
|
5318
|
+
@TaskId = params['TaskId']
|
5319
|
+
@PageNumber = params['PageNumber']
|
5320
|
+
@PageSize = params['PageSize']
|
5321
|
+
@Status = params['Status']
|
5322
|
+
end
|
5323
|
+
end
|
5324
|
+
|
5325
|
+
# ListSubTasks返回参数结构体
|
5326
|
+
class ListSubTasksResponse < TencentCloud::Common::AbstractModel
|
5327
|
+
# @param Data: 返回数据
|
5328
|
+
# @type Data: :class:`Tencentcloud::Iss.v20230517.models.ListSubTasksData`
|
5329
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5330
|
+
# @type RequestId: String
|
5331
|
+
|
5332
|
+
attr_accessor :Data, :RequestId
|
5333
|
+
|
5334
|
+
def initialize(data=nil, requestid=nil)
|
5335
|
+
@Data = data
|
5336
|
+
@RequestId = requestid
|
5337
|
+
end
|
5338
|
+
|
5339
|
+
def deserialize(params)
|
5340
|
+
unless params['Data'].nil?
|
5341
|
+
@Data = ListSubTasksData.new
|
5342
|
+
@Data.deserialize(params['Data'])
|
5343
|
+
end
|
5344
|
+
@RequestId = params['RequestId']
|
5345
|
+
end
|
5346
|
+
end
|
5347
|
+
|
5348
|
+
# 查询任务列表
|
5349
|
+
class ListTasksData < TencentCloud::Common::AbstractModel
|
5350
|
+
# @param List: 任务列表
|
5351
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5352
|
+
# @type List: Array
|
5353
|
+
# @param TotalCount: 任务数量
|
5354
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5355
|
+
# @type TotalCount: Integer
|
5356
|
+
|
5357
|
+
attr_accessor :List, :TotalCount
|
5358
|
+
|
5359
|
+
def initialize(list=nil, totalcount=nil)
|
5360
|
+
@List = list
|
5361
|
+
@TotalCount = totalcount
|
5362
|
+
end
|
5363
|
+
|
5364
|
+
def deserialize(params)
|
5365
|
+
unless params['List'].nil?
|
5366
|
+
@List = []
|
5367
|
+
params['List'].each do |i|
|
5368
|
+
taskdata_tmp = TaskData.new
|
5369
|
+
taskdata_tmp.deserialize(i)
|
5370
|
+
@List << taskdata_tmp
|
5371
|
+
end
|
5372
|
+
end
|
5373
|
+
@TotalCount = params['TotalCount']
|
5374
|
+
end
|
5375
|
+
end
|
5376
|
+
|
5377
|
+
# ListTasks请求参数结构体
|
5378
|
+
class ListTasksRequest < TencentCloud::Common::AbstractModel
|
5379
|
+
# @param PageNumber: 页码,默认为1
|
5380
|
+
# @type PageNumber: Integer
|
5381
|
+
# @param PageSize: 每页数量,默认为10
|
5382
|
+
# @type PageSize: Integer
|
5383
|
+
# @param Operation: 默认不根据该字段进行筛选,否则根据设备操作类型进行筛选,对应任务的Action字段,批量任务操作类型以Batch开头。目前值有:BatchDeleteUserDevice,BatchDisableDevice,BatchEnableDevice,DeleteUserDevice,DisableDevice,EnableDevice
|
5384
|
+
# @type Operation: String
|
5385
|
+
# @param Status: 默认不根据该字段进行筛选,否则根据任务状态进行筛选。状态码:1-NEW,2-RUNNING,3-COMPLETED,4-FAILED
|
5386
|
+
# @type Status: Integer
|
5387
|
+
|
5388
|
+
attr_accessor :PageNumber, :PageSize, :Operation, :Status
|
5389
|
+
|
5390
|
+
def initialize(pagenumber=nil, pagesize=nil, operation=nil, status=nil)
|
5391
|
+
@PageNumber = pagenumber
|
5392
|
+
@PageSize = pagesize
|
5393
|
+
@Operation = operation
|
5394
|
+
@Status = status
|
5395
|
+
end
|
5396
|
+
|
5397
|
+
def deserialize(params)
|
5398
|
+
@PageNumber = params['PageNumber']
|
5399
|
+
@PageSize = params['PageSize']
|
5400
|
+
@Operation = params['Operation']
|
5401
|
+
@Status = params['Status']
|
5402
|
+
end
|
5403
|
+
end
|
5404
|
+
|
5405
|
+
# ListTasks返回参数结构体
|
5406
|
+
class ListTasksResponse < TencentCloud::Common::AbstractModel
|
5407
|
+
# @param Data: 返回数据
|
5408
|
+
# @type Data: :class:`Tencentcloud::Iss.v20230517.models.ListTasksData`
|
5409
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5410
|
+
# @type RequestId: String
|
5411
|
+
|
5412
|
+
attr_accessor :Data, :RequestId
|
5413
|
+
|
5414
|
+
def initialize(data=nil, requestid=nil)
|
5415
|
+
@Data = data
|
5416
|
+
@RequestId = requestid
|
5417
|
+
end
|
5418
|
+
|
5419
|
+
def deserialize(params)
|
5420
|
+
unless params['Data'].nil?
|
5421
|
+
@Data = ListTasksData.new
|
5422
|
+
@Data.deserialize(params['Data'])
|
5423
|
+
end
|
5424
|
+
@RequestId = params['RequestId']
|
5425
|
+
end
|
5426
|
+
end
|
5427
|
+
|
5163
5428
|
# AI识别结果在画面中坐标
|
5164
5429
|
class Location < TencentCloud::Common::AbstractModel
|
5165
5430
|
# @param X: 左上角 X 坐标轴
|
@@ -5798,6 +6063,140 @@ module TencentCloud
|
|
5798
6063
|
end
|
5799
6064
|
end
|
5800
6065
|
|
6066
|
+
# 子任务详情
|
6067
|
+
class SubTaskData < TencentCloud::Common::AbstractModel
|
6068
|
+
# @param SubTaskId: 子任务ID
|
6069
|
+
# @type SubTaskId: String
|
6070
|
+
# @param Status: 任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED
|
6071
|
+
# @type Status: Integer
|
6072
|
+
# @param FailReason: 任务失败原因
|
6073
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6074
|
+
# @type FailReason: String
|
6075
|
+
# @param Progress: 任务进度
|
6076
|
+
# @type Progress: Float
|
6077
|
+
# @param Action: 操作类型
|
6078
|
+
# @type Action: String
|
6079
|
+
# @param ActionZhDesc: 操作类型中文描述
|
6080
|
+
# @type ActionZhDesc: String
|
6081
|
+
# @param ResourceId: 资源ID
|
6082
|
+
# @type ResourceId: String
|
6083
|
+
# @param StartedAt: 启动任务时间
|
6084
|
+
# @type StartedAt: String
|
6085
|
+
# @param CreatedAt: 创建任务时间
|
6086
|
+
# @type CreatedAt: String
|
6087
|
+
# @param UpdatedAt: 更新任务时间
|
6088
|
+
# @type UpdatedAt: String
|
6089
|
+
# @param Runtime: 任务运行时间,单位ms
|
6090
|
+
# @type Runtime: Integer
|
6091
|
+
|
6092
|
+
attr_accessor :SubTaskId, :Status, :FailReason, :Progress, :Action, :ActionZhDesc, :ResourceId, :StartedAt, :CreatedAt, :UpdatedAt, :Runtime
|
6093
|
+
|
6094
|
+
def initialize(subtaskid=nil, status=nil, failreason=nil, progress=nil, action=nil, actionzhdesc=nil, resourceid=nil, startedat=nil, createdat=nil, updatedat=nil, runtime=nil)
|
6095
|
+
@SubTaskId = subtaskid
|
6096
|
+
@Status = status
|
6097
|
+
@FailReason = failreason
|
6098
|
+
@Progress = progress
|
6099
|
+
@Action = action
|
6100
|
+
@ActionZhDesc = actionzhdesc
|
6101
|
+
@ResourceId = resourceid
|
6102
|
+
@StartedAt = startedat
|
6103
|
+
@CreatedAt = createdat
|
6104
|
+
@UpdatedAt = updatedat
|
6105
|
+
@Runtime = runtime
|
6106
|
+
end
|
6107
|
+
|
6108
|
+
def deserialize(params)
|
6109
|
+
@SubTaskId = params['SubTaskId']
|
6110
|
+
@Status = params['Status']
|
6111
|
+
@FailReason = params['FailReason']
|
6112
|
+
@Progress = params['Progress']
|
6113
|
+
@Action = params['Action']
|
6114
|
+
@ActionZhDesc = params['ActionZhDesc']
|
6115
|
+
@ResourceId = params['ResourceId']
|
6116
|
+
@StartedAt = params['StartedAt']
|
6117
|
+
@CreatedAt = params['CreatedAt']
|
6118
|
+
@UpdatedAt = params['UpdatedAt']
|
6119
|
+
@Runtime = params['Runtime']
|
6120
|
+
end
|
6121
|
+
end
|
6122
|
+
|
6123
|
+
# 查询复杂任务详情返回结果
|
6124
|
+
class TaskData < TencentCloud::Common::AbstractModel
|
6125
|
+
# @param TaskId: 任务ID
|
6126
|
+
# @type TaskId: String
|
6127
|
+
# @param Status: 任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED
|
6128
|
+
# @type Status: Integer
|
6129
|
+
# @param FailReason: 失败原因
|
6130
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6131
|
+
# @type FailReason: String
|
6132
|
+
# @param Progress: 进度(0-1)
|
6133
|
+
# @type Progress: Float
|
6134
|
+
# @param Action: 任务操作类型,批量任务类型以Batch开头
|
6135
|
+
# @type Action: String
|
6136
|
+
# @param ActionZhDesc: 操作类型中文描述
|
6137
|
+
# @type ActionZhDesc: String
|
6138
|
+
# @param TaskType: 任务类型 1.简单 2.复杂 3.子任务
|
6139
|
+
# @type TaskType: Integer
|
6140
|
+
# @param ResourceId: 任务资源id(复杂任务该字段无效)
|
6141
|
+
# @type ResourceId: String
|
6142
|
+
# @param Total: 总任务数(仅复杂任务有效)
|
6143
|
+
# @type Total: Integer
|
6144
|
+
# @param SuccessCount: 成功任务数(仅复杂任务有效)
|
6145
|
+
# @type SuccessCount: Integer
|
6146
|
+
# @param FailCount: 失败任务数(仅复杂任务有效)
|
6147
|
+
# @type FailCount: Integer
|
6148
|
+
# @param RunningCount: 运行任务数(仅复杂任务有效)
|
6149
|
+
# @type RunningCount: Integer
|
6150
|
+
# @param StartedAt: 启动任务时间
|
6151
|
+
# @type StartedAt: String
|
6152
|
+
# @param CreatedAt: 创建任务时间
|
6153
|
+
# @type CreatedAt: String
|
6154
|
+
# @param UpdatedAt: 更新任务时间
|
6155
|
+
# @type UpdatedAt: String
|
6156
|
+
# @param Runtime: 任务运行时间,单位ms
|
6157
|
+
# @type Runtime: Integer
|
6158
|
+
|
6159
|
+
attr_accessor :TaskId, :Status, :FailReason, :Progress, :Action, :ActionZhDesc, :TaskType, :ResourceId, :Total, :SuccessCount, :FailCount, :RunningCount, :StartedAt, :CreatedAt, :UpdatedAt, :Runtime
|
6160
|
+
|
6161
|
+
def initialize(taskid=nil, status=nil, failreason=nil, progress=nil, action=nil, actionzhdesc=nil, tasktype=nil, resourceid=nil, total=nil, successcount=nil, failcount=nil, runningcount=nil, startedat=nil, createdat=nil, updatedat=nil, runtime=nil)
|
6162
|
+
@TaskId = taskid
|
6163
|
+
@Status = status
|
6164
|
+
@FailReason = failreason
|
6165
|
+
@Progress = progress
|
6166
|
+
@Action = action
|
6167
|
+
@ActionZhDesc = actionzhdesc
|
6168
|
+
@TaskType = tasktype
|
6169
|
+
@ResourceId = resourceid
|
6170
|
+
@Total = total
|
6171
|
+
@SuccessCount = successcount
|
6172
|
+
@FailCount = failcount
|
6173
|
+
@RunningCount = runningcount
|
6174
|
+
@StartedAt = startedat
|
6175
|
+
@CreatedAt = createdat
|
6176
|
+
@UpdatedAt = updatedat
|
6177
|
+
@Runtime = runtime
|
6178
|
+
end
|
6179
|
+
|
6180
|
+
def deserialize(params)
|
6181
|
+
@TaskId = params['TaskId']
|
6182
|
+
@Status = params['Status']
|
6183
|
+
@FailReason = params['FailReason']
|
6184
|
+
@Progress = params['Progress']
|
6185
|
+
@Action = params['Action']
|
6186
|
+
@ActionZhDesc = params['ActionZhDesc']
|
6187
|
+
@TaskType = params['TaskType']
|
6188
|
+
@ResourceId = params['ResourceId']
|
6189
|
+
@Total = params['Total']
|
6190
|
+
@SuccessCount = params['SuccessCount']
|
6191
|
+
@FailCount = params['FailCount']
|
6192
|
+
@RunningCount = params['RunningCount']
|
6193
|
+
@StartedAt = params['StartedAt']
|
6194
|
+
@CreatedAt = params['CreatedAt']
|
6195
|
+
@UpdatedAt = params['UpdatedAt']
|
6196
|
+
@Runtime = params['Runtime']
|
6197
|
+
end
|
6198
|
+
end
|
6199
|
+
|
5801
6200
|
# 时间片段结构体
|
5802
6201
|
class Timeline < TencentCloud::Common::AbstractModel
|
5803
6202
|
# @param Begin: 分片起始时间
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.646
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|