tencentcloud-sdk-cwp 3.0.509 → 3.0.510

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: 8a1dc20eb1fa685f0f3e403a383af834d5e00d74
4
- data.tar.gz: 6b8e8dc9383f25240d799e48bfa6425ecc863d0c
3
+ metadata.gz: 37f73acdb05b7ad0e3125428d9e201095c7ce6e3
4
+ data.tar.gz: 59f776cf6fd38bf945e24314f53a5de056c6888c
5
5
  SHA512:
6
- metadata.gz: 99d2d2b9613211a94716aa7c6b9e94f172e7d28b6b0fb0704c444acf27ac935afe99dbe2bede51c5d682d391776b155552cd5d385623be03e1bd6be1212fdc26
7
- data.tar.gz: f594bece0d396a7c23221e49a50894d73dd74d5bb03de1d6d488b66c69d5c4cb583fd7c7094e26bfc752a29d7b12a5dcc538b2edad59631e9c2ef3a3f28300cd
6
+ metadata.gz: 44b22b3f2b5e330e5dff9726e6a949ca6a012ce3d01117f750761858af4390004d9e8cba3bca41b0d6f4e1dd0d5b81f2fd99d5a93fc7b89e2d5a5f7001301920
7
+ data.tar.gz: be6c93268533d44841248295513dd79c894690b87d24e6af0e783d17ea5a143232abb39cbe8e09b017b0944cb2af66b8f252119c8365be646238921fc40dfeea
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.509
1
+ 3.0.510
@@ -5048,6 +5048,30 @@ module TencentCloud
5048
5048
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5049
5049
  end
5050
5050
 
5051
+ # 修改主机备注信息
5052
+
5053
+ # @param request: Request instance for ModifyMachineRemark.
5054
+ # @type request: :class:`Tencentcloud::cwp::V20180228::ModifyMachineRemarkRequest`
5055
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::ModifyMachineRemarkResponse`
5056
+ def ModifyMachineRemark(request)
5057
+ body = send_request('ModifyMachineRemark', request.serialize)
5058
+ response = JSON.parse(body)
5059
+ if response['Response'].key?('Error') == false
5060
+ model = ModifyMachineRemarkResponse.new
5061
+ model.deserialize(response['Response'])
5062
+ model
5063
+ else
5064
+ code = response['Response']['Error']['Code']
5065
+ message = response['Response']['Error']['Message']
5066
+ reqid = response['Response']['RequestId']
5067
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
5068
+ end
5069
+ rescue TencentCloud::Common::TencentCloudSDKException => e
5070
+ raise e
5071
+ rescue StandardError => e
5072
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5073
+ end
5074
+
5051
5075
  # 定时扫描设置
5052
5076
 
5053
5077
  # @param request: Request instance for ModifyMalwareTimingScanSettings.
@@ -17039,10 +17039,13 @@ module TencentCloud
17039
17039
  # @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
17040
17040
  # @param InstanceId: 实例ID
17041
17041
  # @type InstanceId: String
17042
+ # @param Remark: 备注信息
17043
+ # 注意:此字段可能返回 null,表示取不到有效值。
17044
+ # @type Remark: String
17042
17045
 
17043
- attr_accessor :MachineName, :MachineOs, :MachineStatus, :Uuid, :Quuid, :VulNum, :MachineIp, :IsProVersion, :MachineWanIp, :PayMode, :MalwareNum, :Tag, :BaselineNum, :CyberAttackNum, :SecurityStatus, :InvasionNum, :RegionInfo, :InstanceState, :LicenseStatus, :ProjectId, :HasAssetScan, :MachineType, :KernelVersion, :ProtectType, :CloudTags, :IsAddedOnTheFifteen, :IpList, :VpcId, :MachineExtraInfo, :InstanceId
17046
+ attr_accessor :MachineName, :MachineOs, :MachineStatus, :Uuid, :Quuid, :VulNum, :MachineIp, :IsProVersion, :MachineWanIp, :PayMode, :MalwareNum, :Tag, :BaselineNum, :CyberAttackNum, :SecurityStatus, :InvasionNum, :RegionInfo, :InstanceState, :LicenseStatus, :ProjectId, :HasAssetScan, :MachineType, :KernelVersion, :ProtectType, :CloudTags, :IsAddedOnTheFifteen, :IpList, :VpcId, :MachineExtraInfo, :InstanceId, :Remark
17044
17047
 
17045
- def initialize(machinename=nil, machineos=nil, machinestatus=nil, uuid=nil, quuid=nil, vulnum=nil, machineip=nil, isproversion=nil, machinewanip=nil, paymode=nil, malwarenum=nil, tag=nil, baselinenum=nil, cyberattacknum=nil, securitystatus=nil, invasionnum=nil, regioninfo=nil, instancestate=nil, licensestatus=nil, projectid=nil, hasassetscan=nil, machinetype=nil, kernelversion=nil, protecttype=nil, cloudtags=nil, isaddedonthefifteen=nil, iplist=nil, vpcid=nil, machineextrainfo=nil, instanceid=nil)
17048
+ def initialize(machinename=nil, machineos=nil, machinestatus=nil, uuid=nil, quuid=nil, vulnum=nil, machineip=nil, isproversion=nil, machinewanip=nil, paymode=nil, malwarenum=nil, tag=nil, baselinenum=nil, cyberattacknum=nil, securitystatus=nil, invasionnum=nil, regioninfo=nil, instancestate=nil, licensestatus=nil, projectid=nil, hasassetscan=nil, machinetype=nil, kernelversion=nil, protecttype=nil, cloudtags=nil, isaddedonthefifteen=nil, iplist=nil, vpcid=nil, machineextrainfo=nil, instanceid=nil, remark=nil)
17046
17049
  @MachineName = machinename
17047
17050
  @MachineOs = machineos
17048
17051
  @MachineStatus = machinestatus
@@ -17073,6 +17076,7 @@ module TencentCloud
17073
17076
  @VpcId = vpcid
17074
17077
  @MachineExtraInfo = machineextrainfo
17075
17078
  @InstanceId = instanceid
17079
+ @Remark = remark
17076
17080
  end
17077
17081
 
17078
17082
  def deserialize(params)
@@ -17126,6 +17130,7 @@ module TencentCloud
17126
17130
  @MachineExtraInfo.deserialize(params['MachineExtraInfo'])
17127
17131
  end
17128
17132
  @InstanceId = params['InstanceId']
17133
+ @Remark = params['Remark']
17129
17134
  end
17130
17135
  end
17131
17136
 
@@ -17804,6 +17809,42 @@ module TencentCloud
17804
17809
  end
17805
17810
  end
17806
17811
 
17812
+ # ModifyMachineRemark请求参数结构体
17813
+ class ModifyMachineRemarkRequest < TencentCloud::Common::AbstractModel
17814
+ # @param Quuid: 主机Quuid
17815
+ # @type Quuid: String
17816
+ # @param Remark: 备注信息
17817
+ # @type Remark: String
17818
+
17819
+ attr_accessor :Quuid, :Remark
17820
+
17821
+ def initialize(quuid=nil, remark=nil)
17822
+ @Quuid = quuid
17823
+ @Remark = remark
17824
+ end
17825
+
17826
+ def deserialize(params)
17827
+ @Quuid = params['Quuid']
17828
+ @Remark = params['Remark']
17829
+ end
17830
+ end
17831
+
17832
+ # ModifyMachineRemark返回参数结构体
17833
+ class ModifyMachineRemarkResponse < TencentCloud::Common::AbstractModel
17834
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
17835
+ # @type RequestId: String
17836
+
17837
+ attr_accessor :RequestId
17838
+
17839
+ def initialize(requestid=nil)
17840
+ @RequestId = requestid
17841
+ end
17842
+
17843
+ def deserialize(params)
17844
+ @RequestId = params['RequestId']
17845
+ end
17846
+ end
17847
+
17807
17848
  # ModifyMalwareTimingScanSettings请求参数结构体
17808
17849
  class ModifyMalwareTimingScanSettingsRequest < TencentCloud::Common::AbstractModel
17809
17850
  # @param CheckPattern: 检测模式 0 全盘检测 1快速检测
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cwp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.509
4
+ version: 3.0.510
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-02-15 00:00:00.000000000 Z
11
+ date: 2023-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common