lib/v20201101/models.rb in tencentcloud-sdk-tcss-3.0.532 vs lib/v20201101/models.rb in tencentcloud-sdk-tcss-3.0.533

- old
+ new

@@ -5273,31 +5273,38 @@ # @type ScanPathType: Integer # @param ScanIds: 自选扫描范围的容器id或者主机id 根据ScanRangeType决定 # @type ScanIds: Array # @param ScanPath: 自选排除或扫描的地址 # @type ScanPath: Array + # @param ScanPathMode: 扫描路径模式: + # SCAN_PATH_ALL:全部路径 + # SCAN_PATH_DEFAULT:默认路径 + # SCAN_PATH_USER_DEFINE:用户自定义路径 + # @type ScanPathMode: String - attr_accessor :ScanPathAll, :ScanRangeType, :ScanRangeAll, :Timeout, :ScanPathType, :ScanIds, :ScanPath + attr_accessor :ScanPathAll, :ScanRangeType, :ScanRangeAll, :Timeout, :ScanPathType, :ScanIds, :ScanPath, :ScanPathMode - def initialize(scanpathall=nil, scanrangetype=nil, scanrangeall=nil, timeout=nil, scanpathtype=nil, scanids=nil, scanpath=nil) + def initialize(scanpathall=nil, scanrangetype=nil, scanrangeall=nil, timeout=nil, scanpathtype=nil, scanids=nil, scanpath=nil, scanpathmode=nil) @ScanPathAll = scanpathall @ScanRangeType = scanrangetype @ScanRangeAll = scanrangeall @Timeout = timeout @ScanPathType = scanpathtype @ScanIds = scanids @ScanPath = scanpath + @ScanPathMode = scanpathmode end def deserialize(params) @ScanPathAll = params['ScanPathAll'] @ScanRangeType = params['ScanRangeType'] @ScanRangeAll = params['ScanRangeAll'] @Timeout = params['Timeout'] @ScanPathType = params['ScanPathType'] @ScanIds = params['ScanIds'] @ScanPath = params['ScanPath'] + @ScanPathMode = params['ScanPathMode'] end end # CreateVirusScanTask返回参数结构体 class CreateVirusScanTaskResponse < TencentCloud::Common::AbstractModel @@ -17128,16 +17135,22 @@ # 3: binaryAi # 4: 异常行为 # 5: 威胁情报 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CheckPlatform: Array + # @param FileAccessTime: 文件访问时间 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type FileAccessTime: String + # @param FileModifyTime: 文件修改时间 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type FileModifyTime: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :ImageId, :ImageName, :CreateTime, :Size, :FilePath, :ModifyTime, :VirusName, :RiskLevel, :ContainerName, :ContainerId, :HostName, :HostId, :ProcessName, :ProcessPath, :ProcessMd5, :ProcessId, :ProcessArgv, :ProcessChan, :ProcessAccountGroup, :ProcessStartAccount, :ProcessFileAuthority, :SourceType, :PodName, :Tags, :HarmDescribe, :SuggestScheme, :Mark, :FileName, :FileMd5, :EventType, :Status, :SubStatus, :HostIP, :ClientIP, :PProcessStartUser, :PProcessUserGroup, :PProcessPath, :PProcessParam, :AncestorProcessStartUser, :AncestorProcessUserGroup, :AncestorProcessPath, :AncestorProcessParam, :OperationTime, :ContainerNetStatus, :ContainerNetSubStatus, :ContainerIsolateOperationSrc, :CheckPlatform, :RequestId + attr_accessor :ImageId, :ImageName, :CreateTime, :Size, :FilePath, :ModifyTime, :VirusName, :RiskLevel, :ContainerName, :ContainerId, :HostName, :HostId, :ProcessName, :ProcessPath, :ProcessMd5, :ProcessId, :ProcessArgv, :ProcessChan, :ProcessAccountGroup, :ProcessStartAccount, :ProcessFileAuthority, :SourceType, :PodName, :Tags, :HarmDescribe, :SuggestScheme, :Mark, :FileName, :FileMd5, :EventType, :Status, :SubStatus, :HostIP, :ClientIP, :PProcessStartUser, :PProcessUserGroup, :PProcessPath, :PProcessParam, :AncestorProcessStartUser, :AncestorProcessUserGroup, :AncestorProcessPath, :AncestorProcessParam, :OperationTime, :ContainerNetStatus, :ContainerNetSubStatus, :ContainerIsolateOperationSrc, :CheckPlatform, :FileAccessTime, :FileModifyTime, :RequestId - def initialize(imageid=nil, imagename=nil, createtime=nil, size=nil, filepath=nil, modifytime=nil, virusname=nil, risklevel=nil, containername=nil, containerid=nil, hostname=nil, hostid=nil, processname=nil, processpath=nil, processmd5=nil, processid=nil, processargv=nil, processchan=nil, processaccountgroup=nil, processstartaccount=nil, processfileauthority=nil, sourcetype=nil, podname=nil, tags=nil, harmdescribe=nil, suggestscheme=nil, mark=nil, filename=nil, filemd5=nil, eventtype=nil, status=nil, substatus=nil, hostip=nil, clientip=nil, pprocessstartuser=nil, pprocessusergroup=nil, pprocesspath=nil, pprocessparam=nil, ancestorprocessstartuser=nil, ancestorprocessusergroup=nil, ancestorprocesspath=nil, ancestorprocessparam=nil, operationtime=nil, containernetstatus=nil, containernetsubstatus=nil, containerisolateoperationsrc=nil, checkplatform=nil, requestid=nil) + def initialize(imageid=nil, imagename=nil, createtime=nil, size=nil, filepath=nil, modifytime=nil, virusname=nil, risklevel=nil, containername=nil, containerid=nil, hostname=nil, hostid=nil, processname=nil, processpath=nil, processmd5=nil, processid=nil, processargv=nil, processchan=nil, processaccountgroup=nil, processstartaccount=nil, processfileauthority=nil, sourcetype=nil, podname=nil, tags=nil, harmdescribe=nil, suggestscheme=nil, mark=nil, filename=nil, filemd5=nil, eventtype=nil, status=nil, substatus=nil, hostip=nil, clientip=nil, pprocessstartuser=nil, pprocessusergroup=nil, pprocesspath=nil, pprocessparam=nil, ancestorprocessstartuser=nil, ancestorprocessusergroup=nil, ancestorprocesspath=nil, ancestorprocessparam=nil, operationtime=nil, containernetstatus=nil, containernetsubstatus=nil, containerisolateoperationsrc=nil, checkplatform=nil, fileaccesstime=nil, filemodifytime=nil, requestid=nil) @ImageId = imageid @ImageName = imagename @CreateTime = createtime @Size = size @FilePath = filepath @@ -17181,10 +17194,12 @@ @OperationTime = operationtime @ContainerNetStatus = containernetstatus @ContainerNetSubStatus = containernetsubstatus @ContainerIsolateOperationSrc = containerisolateoperationsrc @CheckPlatform = checkplatform + @FileAccessTime = fileaccesstime + @FileModifyTime = filemodifytime @RequestId = requestid end def deserialize(params) @ImageId = params['ImageId'] @@ -17232,10 +17247,12 @@ @OperationTime = params['OperationTime'] @ContainerNetStatus = params['ContainerNetStatus'] @ContainerNetSubStatus = params['ContainerNetSubStatus'] @ContainerIsolateOperationSrc = params['ContainerIsolateOperationSrc'] @CheckPlatform = params['CheckPlatform'] + @FileAccessTime = params['FileAccessTime'] + @FileModifyTime = params['FileModifyTime'] @RequestId = params['RequestId'] end end # DescribeVirusEventTendency请求参数结构体 @@ -17435,28 +17452,35 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type ScanPathType: Integer # @param ScanPath: 自选排除或扫描的地址 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ScanPath: Array + # @param ScanPathMode: 扫描路径模式: + # SCAN_PATH_ALL:全部路径 + # SCAN_PATH_DEFAULT:默认路径 + # SCAN_PATH_USER_DEFINE:用户自定义路径 + # @type ScanPathMode: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :EnableScan, :ScanPathAll, :ScanPathType, :ScanPath, :RequestId + attr_accessor :EnableScan, :ScanPathAll, :ScanPathType, :ScanPath, :ScanPathMode, :RequestId - def initialize(enablescan=nil, scanpathall=nil, scanpathtype=nil, scanpath=nil, requestid=nil) + def initialize(enablescan=nil, scanpathall=nil, scanpathtype=nil, scanpath=nil, scanpathmode=nil, requestid=nil) @EnableScan = enablescan @ScanPathAll = scanpathall @ScanPathType = scanpathtype @ScanPath = scanpath + @ScanPathMode = scanpathmode @RequestId = requestid end def deserialize(params) @EnableScan = params['EnableScan'] @ScanPathAll = params['ScanPathAll'] @ScanPathType = params['ScanPathType'] @ScanPath = params['ScanPath'] + @ScanPathMode = params['ScanPathMode'] @RequestId = params['RequestId'] end end # DescribeVirusSampleDownloadUrl请求参数结构体 @@ -17529,16 +17553,21 @@ # @param ScanPath: 自选排除或扫描的地址 # @type ScanPath: Array # @param ClickTimeout: 一键检测的超时设置 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ClickTimeout: Integer + # @param ScanPathMode: 扫描路径模式: + # SCAN_PATH_ALL:全部路径 + # SCAN_PATH_DEFAULT:默认路径 + # SCAN_PATH_USER_DEFINE:用户自定义路径 + # @type ScanPathMode: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :EnableScan, :Cycle, :BeginScanAt, :ScanPathAll, :ScanPathType, :Timeout, :ScanRangeType, :ScanRangeAll, :ScanIds, :ScanPath, :ClickTimeout, :RequestId + attr_accessor :EnableScan, :Cycle, :BeginScanAt, :ScanPathAll, :ScanPathType, :Timeout, :ScanRangeType, :ScanRangeAll, :ScanIds, :ScanPath, :ClickTimeout, :ScanPathMode, :RequestId - def initialize(enablescan=nil, cycle=nil, beginscanat=nil, scanpathall=nil, scanpathtype=nil, timeout=nil, scanrangetype=nil, scanrangeall=nil, scanids=nil, scanpath=nil, clicktimeout=nil, requestid=nil) + def initialize(enablescan=nil, cycle=nil, beginscanat=nil, scanpathall=nil, scanpathtype=nil, timeout=nil, scanrangetype=nil, scanrangeall=nil, scanids=nil, scanpath=nil, clicktimeout=nil, scanpathmode=nil, requestid=nil) @EnableScan = enablescan @Cycle = cycle @BeginScanAt = beginscanat @ScanPathAll = scanpathall @ScanPathType = scanpathtype @@ -17546,10 +17575,11 @@ @ScanRangeType = scanrangetype @ScanRangeAll = scanrangeall @ScanIds = scanids @ScanPath = scanpath @ClickTimeout = clicktimeout + @ScanPathMode = scanpathmode @RequestId = requestid end def deserialize(params) @EnableScan = params['EnableScan'] @@ -17561,10 +17591,11 @@ @ScanRangeType = params['ScanRangeType'] @ScanRangeAll = params['ScanRangeAll'] @ScanIds = params['ScanIds'] @ScanPath = params['ScanPath'] @ClickTimeout = params['ClickTimeout'] + @ScanPathMode = params['ScanPathMode'] @RequestId = params['RequestId'] end end # DescribeVirusScanTaskStatus请求参数结构体 @@ -22523,25 +22554,32 @@ # @type ScanPathAll: Boolean # @param ScanPathType: 当ScanPathAll为true 生效 0扫描以下路径 1、扫描除以下路径(扫描范围只能小于等于1) # @type ScanPathType: Integer # @param ScanPath: 自选排除或扫描的地址 # @type ScanPath: Array + # @param ScanPathMode: 扫描路径模式: + # SCAN_PATH_ALL:全部路径 + # SCAN_PATH_DEFAULT:默认路径 + # SCAN_PATH_USER_DEFINE:用户自定义路径 + # @type ScanPathMode: String - attr_accessor :EnableScan, :ScanPathAll, :ScanPathType, :ScanPath + attr_accessor :EnableScan, :ScanPathAll, :ScanPathType, :ScanPath, :ScanPathMode - def initialize(enablescan=nil, scanpathall=nil, scanpathtype=nil, scanpath=nil) + def initialize(enablescan=nil, scanpathall=nil, scanpathtype=nil, scanpath=nil, scanpathmode=nil) @EnableScan = enablescan @ScanPathAll = scanpathall @ScanPathType = scanpathtype @ScanPath = scanpath + @ScanPathMode = scanpathmode end def deserialize(params) @EnableScan = params['EnableScan'] @ScanPathAll = params['ScanPathAll'] @ScanPathType = params['ScanPathType'] @ScanPath = params['ScanPath'] + @ScanPathMode = params['ScanPathMode'] end end # ModifyVirusMonitorSetting返回参数结构体 class ModifyVirusMonitorSettingResponse < TencentCloud::Common::AbstractModel @@ -22579,24 +22617,30 @@ # @type ScanRangeAll: Boolean # @param ScanIds: 自选扫描范围的容器id或者主机id 根据ScanRangeType决定 # @type ScanIds: Array # @param ScanPath: 扫描路径 # @type ScanPath: Array + # @param ScanPathMode: 扫描路径模式: + # SCAN_PATH_ALL:全部路径 + # SCAN_PATH_DEFAULT:默认路径 + # SCAN_PATH_USER_DEFINE:用户自定义路径 + # @type ScanPathMode: String - attr_accessor :EnableScan, :Cycle, :BeginScanAt, :ScanPathAll, :ScanPathType, :Timeout, :ScanRangeType, :ScanRangeAll, :ScanIds, :ScanPath + attr_accessor :EnableScan, :Cycle, :BeginScanAt, :ScanPathAll, :ScanPathType, :Timeout, :ScanRangeType, :ScanRangeAll, :ScanIds, :ScanPath, :ScanPathMode - def initialize(enablescan=nil, cycle=nil, beginscanat=nil, scanpathall=nil, scanpathtype=nil, timeout=nil, scanrangetype=nil, scanrangeall=nil, scanids=nil, scanpath=nil) + def initialize(enablescan=nil, cycle=nil, beginscanat=nil, scanpathall=nil, scanpathtype=nil, timeout=nil, scanrangetype=nil, scanrangeall=nil, scanids=nil, scanpath=nil, scanpathmode=nil) @EnableScan = enablescan @Cycle = cycle @BeginScanAt = beginscanat @ScanPathAll = scanpathall @ScanPathType = scanpathtype @Timeout = timeout @ScanRangeType = scanrangetype @ScanRangeAll = scanrangeall @ScanIds = scanids @ScanPath = scanpath + @ScanPathMode = scanpathmode end def deserialize(params) @EnableScan = params['EnableScan'] @Cycle = params['Cycle'] @@ -22606,9 +22650,10 @@ @Timeout = params['Timeout'] @ScanRangeType = params['ScanRangeType'] @ScanRangeAll = params['ScanRangeAll'] @ScanIds = params['ScanIds'] @ScanPath = params['ScanPath'] + @ScanPathMode = params['ScanPathMode'] end end # ModifyVirusScanSetting返回参数结构体 class ModifyVirusScanSettingResponse < TencentCloud::Common::AbstractModel