tencentcloud-sdk-ioa 3.0.1154 → 3.0.1157

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc3761020f048ceaaa488101c3c85677ed865c49
4
- data.tar.gz: 561ae38fe15d47d7c46697c4d384b86e1f2aa557
3
+ metadata.gz: a8cbfd30989a331bb134ce6a801f95a2c8cea77b
4
+ data.tar.gz: 532e8d8bc0176e4648bc22fdc3b5cee193d1e525
5
5
  SHA512:
6
- metadata.gz: 336561c8d0b6ebea545881bbdd27f8f35b329303b4dba3ad5d841c45ffa392b1dc8dbd6026f44578a78dcf24bccead73b972688763399259a33d887e4b8cf784
7
- data.tar.gz: 6478b359ac85d48f68a88fe24555294e855fec7b67c900d9e7008cdad075648781cc211637f8532a2cd59cadb368a3ada3afe76f8c0fd3137a788a25501d9b48
6
+ metadata.gz: 77133684be49bc36c6f5f2718f58d1cbdcb44e1948247a992d6d8d3555b3a020f9ff1a3dc0829ed64e731e5e565596b7993426ca060e0e30090153709023a05d
7
+ data.tar.gz: 5993dc0f00631e978825d0e581f233d4d6453fb98cdaa1661db6d97f97ca56bbee88fa0061127e9b0b4cad1cb7cc840b849166fbf15c555418c683c88cd8df4d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1154
1
+ 3.0.1157
@@ -605,6 +605,30 @@ module TencentCloud
605
605
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
606
  end
607
607
 
608
+ # 创建终端导出任务,私有化调用path为:capi/Assets/Device/ExportDeviceDownloadTask
609
+
610
+ # @param request: Request instance for ExportDeviceDownloadTask.
611
+ # @type request: :class:`Tencentcloud::ioa::V20220601::ExportDeviceDownloadTaskRequest`
612
+ # @rtype: :class:`Tencentcloud::ioa::V20220601::ExportDeviceDownloadTaskResponse`
613
+ def ExportDeviceDownloadTask(request)
614
+ body = send_request('ExportDeviceDownloadTask', request.serialize)
615
+ response = JSON.parse(body)
616
+ if response['Response'].key?('Error') == false
617
+ model = ExportDeviceDownloadTaskResponse.new
618
+ model.deserialize(response['Response'])
619
+ model
620
+ else
621
+ code = response['Response']['Error']['Code']
622
+ message = response['Response']['Error']['Message']
623
+ reqid = response['Response']['RequestId']
624
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
625
+ end
626
+ rescue TencentCloud::Common::TencentCloudSDKException => e
627
+ raise e
628
+ rescue StandardError => e
629
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
+ end
631
+
608
632
  # 导出基于指定终端查看软件信息详情列表查询,私有化调用path为:capi/Software/ExportSoftwareInformationList
609
633
 
610
634
  # @param request: Request instance for ExportSoftwareInformationList.
@@ -3077,6 +3077,26 @@ module TencentCloud
3077
3077
  end
3078
3078
  end
3079
3079
 
3080
+ # 业务响应数据
3081
+ class DeviceDownloadTask < TencentCloud::Common::AbstractModel
3082
+ # @param DownloadURL: 同步数据下载的url
3083
+ # @type DownloadURL: String
3084
+ # @param TaskId: 异步任务id,需要根据id去任务中心下载
3085
+ # @type TaskId: Integer
3086
+
3087
+ attr_accessor :DownloadURL, :TaskId
3088
+
3089
+ def initialize(downloadurl=nil, taskid=nil)
3090
+ @DownloadURL = downloadurl
3091
+ @TaskId = taskid
3092
+ end
3093
+
3094
+ def deserialize(params)
3095
+ @DownloadURL = params['DownloadURL']
3096
+ @TaskId = params['TaskId']
3097
+ end
3098
+ end
3099
+
3080
3100
  # 返回的数组列表
3081
3101
  class DeviceGroupDetail < TencentCloud::Common::AbstractModel
3082
3102
  # @param Id: 设备组id
@@ -3338,6 +3358,72 @@ module TencentCloud
3338
3358
  end
3339
3359
  end
3340
3360
 
3361
+ # ExportDeviceDownloadTask请求参数结构体
3362
+ class ExportDeviceDownloadTaskRequest < TencentCloud::Common::AbstractModel
3363
+ # @param OsType: 系统类型(0: win,1:linux,2: mac,4:android,5:ios;默认值0)
3364
+ # @type OsType: Integer
3365
+ # @param DomainInstanceId: 管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域"1",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。
3366
+ # @type DomainInstanceId: String
3367
+ # @param GroupId: 分组id
3368
+ # @type GroupId: Integer
3369
+ # @param OnlineStatus: 在线状态 2 在线 0,1 离线
3370
+ # @type OnlineStatus: Integer
3371
+ # @param ExportOrder: 导出顺序,接口返回的数据字段
3372
+ # @type ExportOrder: String
3373
+ # @param ExportType: 导出类型, 0:终端树;7:硬件信息列表导出;
3374
+ # @type ExportType: Integer
3375
+ # @param Condition: 过滤条件。同DescribeDevices接口
3376
+ # @type Condition: :class:`Tencentcloud::Ioa.v20220601.models.Condition`
3377
+
3378
+ attr_accessor :OsType, :DomainInstanceId, :GroupId, :OnlineStatus, :ExportOrder, :ExportType, :Condition
3379
+
3380
+ def initialize(ostype=nil, domaininstanceid=nil, groupid=nil, onlinestatus=nil, exportorder=nil, exporttype=nil, condition=nil)
3381
+ @OsType = ostype
3382
+ @DomainInstanceId = domaininstanceid
3383
+ @GroupId = groupid
3384
+ @OnlineStatus = onlinestatus
3385
+ @ExportOrder = exportorder
3386
+ @ExportType = exporttype
3387
+ @Condition = condition
3388
+ end
3389
+
3390
+ def deserialize(params)
3391
+ @OsType = params['OsType']
3392
+ @DomainInstanceId = params['DomainInstanceId']
3393
+ @GroupId = params['GroupId']
3394
+ @OnlineStatus = params['OnlineStatus']
3395
+ @ExportOrder = params['ExportOrder']
3396
+ @ExportType = params['ExportType']
3397
+ unless params['Condition'].nil?
3398
+ @Condition = Condition.new
3399
+ @Condition.deserialize(params['Condition'])
3400
+ end
3401
+ end
3402
+ end
3403
+
3404
+ # ExportDeviceDownloadTask返回参数结构体
3405
+ class ExportDeviceDownloadTaskResponse < TencentCloud::Common::AbstractModel
3406
+ # @param Data: 业务响应数据
3407
+ # @type Data: :class:`Tencentcloud::Ioa.v20220601.models.DeviceDownloadTask`
3408
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3409
+ # @type RequestId: String
3410
+
3411
+ attr_accessor :Data, :RequestId
3412
+
3413
+ def initialize(data=nil, requestid=nil)
3414
+ @Data = data
3415
+ @RequestId = requestid
3416
+ end
3417
+
3418
+ def deserialize(params)
3419
+ unless params['Data'].nil?
3420
+ @Data = DeviceDownloadTask.new
3421
+ @Data.deserialize(params['Data'])
3422
+ end
3423
+ @RequestId = params['RequestId']
3424
+ end
3425
+ end
3426
+
3341
3427
  # 业务响应数据
3342
3428
  class ExportSoftwareDownloadUrlRspData < TencentCloud::Common::AbstractModel
3343
3429
  # @param DownloadURL: 下载的url
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ioa
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1154
4
+ version: 3.0.1157
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-17 00:00:00.000000000 Z
11
+ date: 2025-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common