tencentcloud-sdk-csip 3.0.666 → 3.0.668
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20221121/client.rb +1 -1
- data/lib/v20221121/models.rb +22 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d0ac0650cb56c44e10677888e7c3cbc8f5a0326
|
4
|
+
data.tar.gz: dedcc5d3768cb587fe2314a9de32e0868672bfb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: def3718d340b0c22bb1e0d428bc40906bdbfffdd0d502992e0a26eaedd3b9f9bc549af493f2354d5104f94ff251cea071cd49a7b6356cc1c4698d5aebb2523d3
|
7
|
+
data.tar.gz: f1deee3e5f69bc0ffb91ee67ff0e5376fae78396c77266ed62b7a9538ffc4123fc9246c600b20245c9ce73c58138081f0be7b6abd48a0ead90bc86ea47fca665
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.668
|
data/lib/v20221121/client.rb
CHANGED
@@ -245,7 +245,7 @@ module TencentCloud
|
|
245
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
246
|
end
|
247
247
|
|
248
|
-
#
|
248
|
+
# 数据库资产列表
|
249
249
|
|
250
250
|
# @param request: Request instance for DescribeDbAssets.
|
251
251
|
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeDbAssetsRequest`
|
data/lib/v20221121/models.rb
CHANGED
@@ -2096,11 +2096,14 @@ module TencentCloud
|
|
2096
2096
|
class DescribeDbAssetsRequest < TencentCloud::Common::AbstractModel
|
2097
2097
|
# @param Filter: -
|
2098
2098
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2099
|
+
# @param AssetTypes: 资产类型:MYSQL/MARIADB/REDIS/MONGODB/POSTGRES/CTS/ES/KAFKA/COS/CBS/CFS
|
2100
|
+
# @type AssetTypes: Array
|
2099
2101
|
|
2100
|
-
attr_accessor :Filter
|
2102
|
+
attr_accessor :Filter, :AssetTypes
|
2101
2103
|
|
2102
|
-
def initialize(filter=nil)
|
2104
|
+
def initialize(filter=nil, assettypes=nil)
|
2103
2105
|
@Filter = filter
|
2106
|
+
@AssetTypes = assettypes
|
2104
2107
|
end
|
2105
2108
|
|
2106
2109
|
def deserialize(params)
|
@@ -2108,6 +2111,7 @@ module TencentCloud
|
|
2108
2111
|
@Filter = Filter.new
|
2109
2112
|
@Filter.deserialize(params['Filter'])
|
2110
2113
|
end
|
2114
|
+
@AssetTypes = params['AssetTypes']
|
2111
2115
|
end
|
2112
2116
|
end
|
2113
2117
|
|
@@ -4108,7 +4112,7 @@ module TencentCloud
|
|
4108
4112
|
# @param EndTime: 任务结束时间
|
4109
4113
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4110
4114
|
# @type EndTime: String
|
4111
|
-
# @param ScanPlanContent:
|
4115
|
+
# @param ScanPlanContent: cron格式
|
4112
4116
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4113
4117
|
# @type ScanPlanContent: String
|
4114
4118
|
# @param TaskType: 0-周期任务,1-立即扫描,2-定时扫描,3-自定义
|
@@ -4135,7 +4139,7 @@ module TencentCloud
|
|
4135
4139
|
# @param AssetNumber: 资产数量
|
4136
4140
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4137
4141
|
# @type AssetNumber: Integer
|
4138
|
-
# @param ScanStatus:
|
4142
|
+
# @param ScanStatus: 扫描状态, 0-初始值,1-正在扫描,2-扫描完成,3-扫描出错,4-停止扫描
|
4139
4143
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4140
4144
|
# @type ScanStatus: Integer
|
4141
4145
|
# @param Percent: 任务进度
|
@@ -4216,10 +4220,13 @@ module TencentCloud
|
|
4216
4220
|
# @param IsDelete: 是否可以删除,1-可以,0-不可以,对应多账户管理使用
|
4217
4221
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4218
4222
|
# @type IsDelete: Integer
|
4223
|
+
# @param SourceType: 任务源类型,0-默认,1-小助手,2-体检项
|
4224
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4225
|
+
# @type SourceType: Integer
|
4219
4226
|
|
4220
|
-
attr_accessor :TaskName, :StartTime, :EndTime, :ScanPlanContent, :TaskType, :InsertTime, :TaskId, :SelfDefiningAssets, :PredictTime, :PredictEndTime, :ReportNumber, :AssetNumber, :ScanStatus, :Percent, :ScanItem, :ScanAssetType, :VSSTaskId, :CSPMTaskId, :CWPPOCId, :CWPBlId, :VSSTaskProcess, :CSPMTaskProcess, :CWPPOCProcess, :CWPBlProcess, :ErrorCode, :ErrorInfo, :StartDay, :Frequency, :CompleteNumber, :CompleteAssetNumber, :RiskCount, :Assets, :AppId, :UIN, :UserName, :TaskMode, :ScanFrom, :IsFree, :IsDelete
|
4227
|
+
attr_accessor :TaskName, :StartTime, :EndTime, :ScanPlanContent, :TaskType, :InsertTime, :TaskId, :SelfDefiningAssets, :PredictTime, :PredictEndTime, :ReportNumber, :AssetNumber, :ScanStatus, :Percent, :ScanItem, :ScanAssetType, :VSSTaskId, :CSPMTaskId, :CWPPOCId, :CWPBlId, :VSSTaskProcess, :CSPMTaskProcess, :CWPPOCProcess, :CWPBlProcess, :ErrorCode, :ErrorInfo, :StartDay, :Frequency, :CompleteNumber, :CompleteAssetNumber, :RiskCount, :Assets, :AppId, :UIN, :UserName, :TaskMode, :ScanFrom, :IsFree, :IsDelete, :SourceType
|
4221
4228
|
|
4222
|
-
def initialize(taskname=nil, starttime=nil, endtime=nil, scanplancontent=nil, tasktype=nil, inserttime=nil, taskid=nil, selfdefiningassets=nil, predicttime=nil, predictendtime=nil, reportnumber=nil, assetnumber=nil, scanstatus=nil, percent=nil, scanitem=nil, scanassettype=nil, vsstaskid=nil, cspmtaskid=nil, cwppocid=nil, cwpblid=nil, vsstaskprocess=nil, cspmtaskprocess=nil, cwppocprocess=nil, cwpblprocess=nil, errorcode=nil, errorinfo=nil, startday=nil, frequency=nil, completenumber=nil, completeassetnumber=nil, riskcount=nil, assets=nil, appid=nil, uin=nil, username=nil, taskmode=nil, scanfrom=nil, isfree=nil, isdelete=nil)
|
4229
|
+
def initialize(taskname=nil, starttime=nil, endtime=nil, scanplancontent=nil, tasktype=nil, inserttime=nil, taskid=nil, selfdefiningassets=nil, predicttime=nil, predictendtime=nil, reportnumber=nil, assetnumber=nil, scanstatus=nil, percent=nil, scanitem=nil, scanassettype=nil, vsstaskid=nil, cspmtaskid=nil, cwppocid=nil, cwpblid=nil, vsstaskprocess=nil, cspmtaskprocess=nil, cwppocprocess=nil, cwpblprocess=nil, errorcode=nil, errorinfo=nil, startday=nil, frequency=nil, completenumber=nil, completeassetnumber=nil, riskcount=nil, assets=nil, appid=nil, uin=nil, username=nil, taskmode=nil, scanfrom=nil, isfree=nil, isdelete=nil, sourcetype=nil)
|
4223
4230
|
@TaskName = taskname
|
4224
4231
|
@StartTime = starttime
|
4225
4232
|
@EndTime = endtime
|
@@ -4259,6 +4266,7 @@ module TencentCloud
|
|
4259
4266
|
@ScanFrom = scanfrom
|
4260
4267
|
@IsFree = isfree
|
4261
4268
|
@IsDelete = isdelete
|
4269
|
+
@SourceType = sourcetype
|
4262
4270
|
end
|
4263
4271
|
|
4264
4272
|
def deserialize(params)
|
@@ -4308,6 +4316,7 @@ module TencentCloud
|
|
4308
4316
|
@ScanFrom = params['ScanFrom']
|
4309
4317
|
@IsFree = params['IsFree']
|
4310
4318
|
@IsDelete = params['IsDelete']
|
4319
|
+
@SourceType = params['SourceType']
|
4311
4320
|
end
|
4312
4321
|
end
|
4313
4322
|
|
@@ -4691,15 +4700,19 @@ module TencentCloud
|
|
4691
4700
|
# @param Region: 地域
|
4692
4701
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4693
4702
|
# @type Region: String
|
4703
|
+
# @param Arn: 多云资产唯一id
|
4704
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4705
|
+
# @type Arn: String
|
4694
4706
|
|
4695
|
-
attr_accessor :AssetName, :InstanceType, :AssetType, :Asset, :Region
|
4707
|
+
attr_accessor :AssetName, :InstanceType, :AssetType, :Asset, :Region, :Arn
|
4696
4708
|
|
4697
|
-
def initialize(assetname=nil, instancetype=nil, assettype=nil, asset=nil, region=nil)
|
4709
|
+
def initialize(assetname=nil, instancetype=nil, assettype=nil, asset=nil, region=nil, arn=nil)
|
4698
4710
|
@AssetName = assetname
|
4699
4711
|
@InstanceType = instancetype
|
4700
4712
|
@AssetType = assettype
|
4701
4713
|
@Asset = asset
|
4702
4714
|
@Region = region
|
4715
|
+
@Arn = arn
|
4703
4716
|
end
|
4704
4717
|
|
4705
4718
|
def deserialize(params)
|
@@ -4708,6 +4721,7 @@ module TencentCloud
|
|
4708
4721
|
@AssetType = params['AssetType']
|
4709
4722
|
@Asset = params['Asset']
|
4710
4723
|
@Region = params['Region']
|
4724
|
+
@Arn = params['Arn']
|
4711
4725
|
end
|
4712
4726
|
end
|
4713
4727
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-csip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.668
|
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-
|
11
|
+
date: 2023-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|