tencentcloud-sdk-dasb 3.0.661 → 3.0.663

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: dc43068e09754db9b9cac215f3f0ddab68c5f358
4
- data.tar.gz: 41ee57b01e5998d7001b736a886aad520bc101ab
3
+ metadata.gz: 2ce20e314545cccc839dd0e7d29f31a2ffc239ff
4
+ data.tar.gz: 3c488a79043022209293a07a9cf2d0572338b8da
5
5
  SHA512:
6
- metadata.gz: 43a61eef504e80bbf5e0da8263a0e9a9a5ceb1e95098f4be7946285f68702b10582a1d1a6e40f51abc3049586386c7807af96e69ff9dae2705d7d09fa100d88e
7
- data.tar.gz: 2ec66f9ac44d280876a5338ae707431c39f37b0aa12fa72e5edb40e8103377d979196370f408f0e01f1fd29b338bbdc618f5908c72aabb66305e170e6b101e5d
6
+ metadata.gz: ab99215f1d392125f2824f2613e0222c4f954791de57c03811d3c8333c44d9a8b27cac435d5fbf75705f8d19d85b5851651feacd067fd9531d1a57726c937813
7
+ data.tar.gz: 6131082b483cfd5084d32c69e1b1739571dfbf0bba9b64d5222fc976464cb6fef894b573c9d0e129ceffe80313fe58ecb3178e655a976d7d9b097bae71e6dbeb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.661
1
+ 3.0.663
@@ -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.661
4
+ version: 3.0.663
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-18 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common