tencentcloud-sdk-dasb 3.0.662 → 3.0.664

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: a86c410cfd48f1c3a603ca18b82d9e6463743eb2
4
- data.tar.gz: fc9db6e311944e776f97556b86625d993c8a58b9
3
+ metadata.gz: a0b87614e7a8a3ea888d900c7e8e38a10cb00f34
4
+ data.tar.gz: 679c11a08f2f38a018b7339cc5e80b0b08c2831a
5
5
  SHA512:
6
- metadata.gz: 427bc5eaadace99019f5be0ae3107ac15d3b140f2dcd3fc77af7cd9676e4688d9168d6f282d86811877e22f3d161ca35fce18332d4e4b4be6522945a0312b73c
7
- data.tar.gz: b16979a601c9ceb5b882911c84bbc6fb4212b85bc45bdcd75fe951c2d145dead1fc0dfc2764e0a101bf4e5d405127920b92231d29a61c5a026cd99f8ae8d7fab
6
+ metadata.gz: 611404809d780c592b8133fceed06a80c391d2677b1798e4fb0c6a8b72dcfdcc13d50c92f3d6a6b744d5d949dd88f7d4d96bd2fb8413fef3c0069aa9214d3c23
7
+ data.tar.gz: 68c8148157f2c7108192f370d53280e2a428f9451a4937a7d45b231917837c77634b154b1283e3255f858c804cd3ed2ccc039b24b846e6a00fd3bbb6b75debe5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.662
1
+ 3.0.664
@@ -941,6 +941,30 @@ module TencentCloud
941
941
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
942
  end
943
943
 
944
+ # 修改高危命令模板
945
+
946
+ # @param request: Request instance for ModifyCmdTemplate.
947
+ # @type request: :class:`Tencentcloud::dasb::V20191018::ModifyCmdTemplateRequest`
948
+ # @rtype: :class:`Tencentcloud::dasb::V20191018::ModifyCmdTemplateResponse`
949
+ def ModifyCmdTemplate(request)
950
+ body = send_request('ModifyCmdTemplate', request.serialize)
951
+ response = JSON.parse(body)
952
+ if response['Response'].key?('Error') == false
953
+ model = ModifyCmdTemplateResponse.new
954
+ model.deserialize(response['Response'])
955
+ model
956
+ else
957
+ code = response['Response']['Error']['Code']
958
+ message = response['Response']['Error']['Message']
959
+ reqid = response['Response']['RequestId']
960
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
961
+ end
962
+ rescue TencentCloud::Common::TencentCloudSDKException => e
963
+ raise e
964
+ rescue StandardError => e
965
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
966
+ end
967
+
944
968
  # 修改资产信息
945
969
 
946
970
  # @param request: Request instance for ModifyDevice.
@@ -2826,6 +2826,51 @@ module TencentCloud
2826
2826
  end
2827
2827
  end
2828
2828
 
2829
+ # ModifyCmdTemplate请求参数结构体
2830
+ class ModifyCmdTemplateRequest < TencentCloud::Common::AbstractModel
2831
+ # @param Name: 模板名,最长32字符,不能包含空白字符
2832
+ # @type Name: String
2833
+ # @param CmdList: 命令列表,\n分隔,最长32768字节
2834
+ # @type CmdList: String
2835
+ # @param Id: 命令模板ID
2836
+ # @type Id: Integer
2837
+ # @param Encoding: CmdList字段前端是否base64传值。
2838
+ # 0:否,1:是
2839
+ # @type Encoding: Integer
2840
+
2841
+ attr_accessor :Name, :CmdList, :Id, :Encoding
2842
+
2843
+ def initialize(name=nil, cmdlist=nil, id=nil, encoding=nil)
2844
+ @Name = name
2845
+ @CmdList = cmdlist
2846
+ @Id = id
2847
+ @Encoding = encoding
2848
+ end
2849
+
2850
+ def deserialize(params)
2851
+ @Name = params['Name']
2852
+ @CmdList = params['CmdList']
2853
+ @Id = params['Id']
2854
+ @Encoding = params['Encoding']
2855
+ end
2856
+ end
2857
+
2858
+ # ModifyCmdTemplate返回参数结构体
2859
+ class ModifyCmdTemplateResponse < TencentCloud::Common::AbstractModel
2860
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2861
+ # @type RequestId: String
2862
+
2863
+ attr_accessor :RequestId
2864
+
2865
+ def initialize(requestid=nil)
2866
+ @RequestId = requestid
2867
+ end
2868
+
2869
+ def deserialize(params)
2870
+ @RequestId = params['RequestId']
2871
+ end
2872
+ end
2873
+
2829
2874
  # ModifyDeviceGroup请求参数结构体
2830
2875
  class ModifyDeviceGroupRequest < TencentCloud::Common::AbstractModel
2831
2876
  # @param Name: 资产组名,最大长度32字符,不能为空
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dasb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.662
4
+ version: 3.0.664
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-09-19 00:00:00.000000000 Z
11
+ date: 2023-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common