tencentcloud-sdk-ms 3.0.636 → 3.0.638

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 95a1c9b0f5066b2f3a3993e60cc703576074e450
4
- data.tar.gz: a450a539e12b3409f833e47d3b339d4bbd724df7
3
+ metadata.gz: ee4f1559b9c52015df0943a89e662e3fdd218c24
4
+ data.tar.gz: 791c40530845f3d0725a55a35a6e6fb9f065dc8a
5
5
  SHA512:
6
- metadata.gz: 4aed59b30d332f33c74e2412e3b716f91132f84f098bc8ca12861da63b0fe3aa5ea18cef3e2f3b0a95571ee42afb262c02d0b6fa1c7ec3cd9fc6a8c732f9eaad
7
- data.tar.gz: 13d4cafa4b33d5c3ec435f57598ca380fcdd103d636595f0f57701e473c8bbe94366c08d06b92faf7b6b76460cd4629e6fceada08d86c92ab537211d3d99b582
6
+ metadata.gz: b2a23aa8a83184793e228ce8821def3d705f180446143443398d732734d1f61d16a663ef1c1b7da6c51327bd41157b02773812d71c4e357749044cae7738b7a2
7
+ data.tar.gz: 78e61ebc59dc6e6848704a5c0aa866c4b5df11d99103c040d4d2d90ae70cdfea656bfa212d58ccd584bc5d4427b57cd8f8df6222822ba3c68e3f35ce94a21306
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.636
1
+ 3.0.638
@@ -492,6 +492,78 @@ module TencentCloud
492
492
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
493
493
  end
494
494
 
495
+ # client任务请求地址
496
+
497
+ # @param request: Request instance for RequestLocalTask.
498
+ # @type request: :class:`Tencentcloud::ms::V20180408::RequestLocalTaskRequest`
499
+ # @rtype: :class:`Tencentcloud::ms::V20180408::RequestLocalTaskResponse`
500
+ def RequestLocalTask(request)
501
+ body = send_request('RequestLocalTask', request.serialize)
502
+ response = JSON.parse(body)
503
+ if response['Response'].key?('Error') == false
504
+ model = RequestLocalTaskResponse.new
505
+ model.deserialize(response['Response'])
506
+ model
507
+ else
508
+ code = response['Response']['Error']['Code']
509
+ message = response['Response']['Error']['Message']
510
+ reqid = response['Response']['RequestId']
511
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
512
+ end
513
+ rescue TencentCloud::Common::TencentCloudSDKException => e
514
+ raise e
515
+ rescue StandardError => e
516
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
517
+ end
518
+
519
+ # 更新client状态
520
+
521
+ # @param request: Request instance for UpdateClientState.
522
+ # @type request: :class:`Tencentcloud::ms::V20180408::UpdateClientStateRequest`
523
+ # @rtype: :class:`Tencentcloud::ms::V20180408::UpdateClientStateResponse`
524
+ def UpdateClientState(request)
525
+ body = send_request('UpdateClientState', request.serialize)
526
+ response = JSON.parse(body)
527
+ if response['Response'].key?('Error') == false
528
+ model = UpdateClientStateResponse.new
529
+ model.deserialize(response['Response'])
530
+ model
531
+ else
532
+ code = response['Response']['Error']['Code']
533
+ message = response['Response']['Error']['Message']
534
+ reqid = response['Response']['RequestId']
535
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
536
+ end
537
+ rescue TencentCloud::Common::TencentCloudSDKException => e
538
+ raise e
539
+ rescue StandardError => e
540
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
541
+ end
542
+
543
+ # 更新本地任务结果
544
+
545
+ # @param request: Request instance for UpdateLocalTaskResult.
546
+ # @type request: :class:`Tencentcloud::ms::V20180408::UpdateLocalTaskResultRequest`
547
+ # @rtype: :class:`Tencentcloud::ms::V20180408::UpdateLocalTaskResultResponse`
548
+ def UpdateLocalTaskResult(request)
549
+ body = send_request('UpdateLocalTaskResult', request.serialize)
550
+ response = JSON.parse(body)
551
+ if response['Response'].key?('Error') == false
552
+ model = UpdateLocalTaskResultResponse.new
553
+ model.deserialize(response['Response'])
554
+ model
555
+ else
556
+ code = response['Response']['Error']['Code']
557
+ message = response['Response']['Error']['Message']
558
+ reqid = response['Response']['RequestId']
559
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
560
+ end
561
+ rescue TencentCloud::Common::TencentCloudSDKException => e
562
+ raise e
563
+ rescue StandardError => e
564
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
565
+ end
566
+
495
567
 
496
568
  end
497
569
  end
@@ -2243,6 +2243,71 @@ module TencentCloud
2243
2243
  end
2244
2244
  end
2245
2245
 
2246
+ # RequestLocalTask请求参数结构体
2247
+ class RequestLocalTaskRequest < TencentCloud::Common::AbstractModel
2248
+ # @param ClientId: Client Id
2249
+ # @type ClientId: String
2250
+
2251
+ attr_accessor :ClientId
2252
+
2253
+ def initialize(clientid=nil)
2254
+ @ClientId = clientid
2255
+ end
2256
+
2257
+ def deserialize(params)
2258
+ @ClientId = params['ClientId']
2259
+ end
2260
+ end
2261
+
2262
+ # RequestLocalTask返回参数结构体
2263
+ class RequestLocalTaskResponse < TencentCloud::Common::AbstractModel
2264
+ # @param Sid: 返回的任务id
2265
+ # @type Sid: String
2266
+ # @param SrcFileMd5: 任务文件的mk5
2267
+ # @type SrcFileMd5: String
2268
+ # @param SrcFileSize: 文件大小,可不传
2269
+ # @type SrcFileSize: Integer
2270
+ # @param SrcFileUrl: 任务文件的下载地址,必须无鉴权可下载
2271
+ # @type SrcFileUrl: String
2272
+ # @param SrcFileType: release: 需要INFO-PLIST文件,会生成工具部署安装包,并带有license文件,绑定机器;nobind不需要INFO-PLIST文件,不绑定机器
2273
+ # @type SrcFileType: String
2274
+ # @param SrcFileVersion: enterprise
2275
+ # trial
2276
+ # @type SrcFileVersion: String
2277
+ # @param EncryptParam: 补充字段
2278
+ # @type EncryptParam: String
2279
+ # @param EncryptState: 任务状态
2280
+ # @type EncryptState: Integer
2281
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2282
+ # @type RequestId: String
2283
+
2284
+ attr_accessor :Sid, :SrcFileMd5, :SrcFileSize, :SrcFileUrl, :SrcFileType, :SrcFileVersion, :EncryptParam, :EncryptState, :RequestId
2285
+
2286
+ def initialize(sid=nil, srcfilemd5=nil, srcfilesize=nil, srcfileurl=nil, srcfiletype=nil, srcfileversion=nil, encryptparam=nil, encryptstate=nil, requestid=nil)
2287
+ @Sid = sid
2288
+ @SrcFileMd5 = srcfilemd5
2289
+ @SrcFileSize = srcfilesize
2290
+ @SrcFileUrl = srcfileurl
2291
+ @SrcFileType = srcfiletype
2292
+ @SrcFileVersion = srcfileversion
2293
+ @EncryptParam = encryptparam
2294
+ @EncryptState = encryptstate
2295
+ @RequestId = requestid
2296
+ end
2297
+
2298
+ def deserialize(params)
2299
+ @Sid = params['Sid']
2300
+ @SrcFileMd5 = params['SrcFileMd5']
2301
+ @SrcFileSize = params['SrcFileSize']
2302
+ @SrcFileUrl = params['SrcFileUrl']
2303
+ @SrcFileType = params['SrcFileType']
2304
+ @SrcFileVersion = params['SrcFileVersion']
2305
+ @EncryptParam = params['EncryptParam']
2306
+ @EncryptState = params['EncryptState']
2307
+ @RequestId = params['RequestId']
2308
+ end
2309
+ end
2310
+
2246
2311
  # 拉取某个用户的所有资源信息
2247
2312
  class ResourceInfo < TencentCloud::Common::AbstractModel
2248
2313
  # @param ResourceId: 用户购买的资源id,全局唯一
@@ -2573,6 +2638,114 @@ module TencentCloud
2573
2638
  end
2574
2639
  end
2575
2640
 
2641
+ # UpdateClientState请求参数结构体
2642
+ class UpdateClientStateRequest < TencentCloud::Common::AbstractModel
2643
+ # @param ClientId: Client Id
2644
+ # @type ClientId: String
2645
+ # @param Ip: Ip addr
2646
+ # @type Ip: String
2647
+ # @param Internal: 内部分组
2648
+ # @type Internal: Integer
2649
+ # @param ServerVersion: Client Version
2650
+ # @type ServerVersion: String
2651
+ # @param Hostname: 主机
2652
+ # @type Hostname: String
2653
+ # @param Os: 系统
2654
+ # @type Os: String
2655
+
2656
+ attr_accessor :ClientId, :Ip, :Internal, :ServerVersion, :Hostname, :Os
2657
+
2658
+ def initialize(clientid=nil, ip=nil, internal=nil, serverversion=nil, hostname=nil, os=nil)
2659
+ @ClientId = clientid
2660
+ @Ip = ip
2661
+ @Internal = internal
2662
+ @ServerVersion = serverversion
2663
+ @Hostname = hostname
2664
+ @Os = os
2665
+ end
2666
+
2667
+ def deserialize(params)
2668
+ @ClientId = params['ClientId']
2669
+ @Ip = params['Ip']
2670
+ @Internal = params['Internal']
2671
+ @ServerVersion = params['ServerVersion']
2672
+ @Hostname = params['Hostname']
2673
+ @Os = params['Os']
2674
+ end
2675
+ end
2676
+
2677
+ # UpdateClientState返回参数结构体
2678
+ class UpdateClientStateResponse < TencentCloud::Common::AbstractModel
2679
+ # @param ResultCode: 返回值
2680
+ # @type ResultCode: String
2681
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2682
+ # @type RequestId: String
2683
+
2684
+ attr_accessor :ResultCode, :RequestId
2685
+
2686
+ def initialize(resultcode=nil, requestid=nil)
2687
+ @ResultCode = resultcode
2688
+ @RequestId = requestid
2689
+ end
2690
+
2691
+ def deserialize(params)
2692
+ @ResultCode = params['ResultCode']
2693
+ @RequestId = params['RequestId']
2694
+ end
2695
+ end
2696
+
2697
+ # UpdateLocalTaskResult请求参数结构体
2698
+ class UpdateLocalTaskResultRequest < TencentCloud::Common::AbstractModel
2699
+ # @param Sid: 任务id
2700
+ # @type Sid: String
2701
+ # @param ResultCode: 一级任务code。标记任务状态
2702
+ # @type ResultCode: Integer
2703
+ # @param SubCode: 二级错误码
2704
+ # @type SubCode: Integer
2705
+ # @param ErrMsg: 二级错误信息
2706
+ # @type ErrMsg: String
2707
+ # @param Result: 结果
2708
+ # @type Result: String
2709
+
2710
+ attr_accessor :Sid, :ResultCode, :SubCode, :ErrMsg, :Result
2711
+
2712
+ def initialize(sid=nil, resultcode=nil, subcode=nil, errmsg=nil, result=nil)
2713
+ @Sid = sid
2714
+ @ResultCode = resultcode
2715
+ @SubCode = subcode
2716
+ @ErrMsg = errmsg
2717
+ @Result = result
2718
+ end
2719
+
2720
+ def deserialize(params)
2721
+ @Sid = params['Sid']
2722
+ @ResultCode = params['ResultCode']
2723
+ @SubCode = params['SubCode']
2724
+ @ErrMsg = params['ErrMsg']
2725
+ @Result = params['Result']
2726
+ end
2727
+ end
2728
+
2729
+ # UpdateLocalTaskResult返回参数结构体
2730
+ class UpdateLocalTaskResultResponse < TencentCloud::Common::AbstractModel
2731
+ # @param ResultCode: 标记成功
2732
+ # @type ResultCode: String
2733
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2734
+ # @type RequestId: String
2735
+
2736
+ attr_accessor :ResultCode, :RequestId
2737
+
2738
+ def initialize(resultcode=nil, requestid=nil)
2739
+ @ResultCode = resultcode
2740
+ @RequestId = requestid
2741
+ end
2742
+
2743
+ def deserialize(params)
2744
+ @ResultCode = params['ResultCode']
2745
+ @RequestId = params['RequestId']
2746
+ end
2747
+ end
2748
+
2576
2749
  end
2577
2750
  end
2578
2751
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.636
4
+ version: 3.0.638
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-15 00:00:00.000000000 Z
11
+ date: 2023-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common