lib/v20190319/models.rb in tencentcloud-sdk-cloudaudit-3.0.590 vs lib/v20190319/models.rb in tencentcloud-sdk-cloudaudit-3.0.591

- old
+ new

@@ -29,11 +29,11 @@ # @type Value: String # @param Label: 中文标签 # @type Label: String attr_accessor :LabelType, :Starter, :Order, :Value, :Label - + def initialize(labeltype=nil, starter=nil, order=nil, value=nil, label=nil) @LabelType = labeltype @Starter = starter @Order = order @Value = value @@ -59,11 +59,11 @@ # @type AuditName: String # @param LogFilePrefix: 日志前缀 # @type LogFilePrefix: String attr_accessor :AuditStatus, :CosBucketName, :AuditName, :LogFilePrefix - + def initialize(auditstatus=nil, cosbucketname=nil, auditname=nil, logfileprefix=nil) @AuditStatus = auditstatus @CosBucketName = cosbucketname @AuditName = auditname @LogFilePrefix = logfileprefix @@ -83,11 +83,11 @@ # @type CmqRegionName: String # @param CmqRegion: cmq地域 # @type CmqRegion: String attr_accessor :CmqRegionName, :CmqRegion - + def initialize(cmqregionname=nil, cmqregion=nil) @CmqRegionName = cmqregionname @CmqRegion = cmqregion end @@ -103,11 +103,11 @@ # @type CosRegion: String # @param CosRegionName: 地域描述 # @type CosRegionName: String attr_accessor :CosRegion, :CosRegionName - + def initialize(cosregion=nil, cosregionname=nil) @CosRegion = cosregion @CosRegionName = cosregionname end @@ -145,11 +145,11 @@ # @type LogFilePrefix: String # @param IsCreateNewQueue: 是否创建新的队列。1:是,0:否。如果IsEnableCmqNotify值是1的话,此值属于必填字段。 # @type IsCreateNewQueue: Integer attr_accessor :IsEnableCmqNotify, :ReadWriteAttribute, :AuditName, :CosRegion, :IsCreateNewBucket, :CosBucketName, :KeyId, :CmqQueueName, :KmsRegion, :IsEnableKmsEncry, :CmqRegion, :LogFilePrefix, :IsCreateNewQueue - + def initialize(isenablecmqnotify=nil, readwriteattribute=nil, auditname=nil, cosregion=nil, iscreatenewbucket=nil, cosbucketname=nil, keyid=nil, cmqqueuename=nil, kmsregion=nil, isenablekmsencry=nil, cmqregion=nil, logfileprefix=nil, iscreatenewqueue=nil) @IsEnableCmqNotify = isenablecmqnotify @ReadWriteAttribute = readwriteattribute @AuditName = auditname @CosRegion = cosregion @@ -187,11 +187,11 @@ # @type IsSuccess: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :IsSuccess, :RequestId - + def initialize(issuccess=nil, requestid=nil) @IsSuccess = issuccess @RequestId = requestid end @@ -217,11 +217,11 @@ # @type Storage: :class:`Tencentcloud::Cloudaudit.v20190319.models.Storage` # @param TrackForAllMembers: 是否开启将集团成员操作日志投递到集团管理账号或者可信服务管理账号(0:未开启,1:开启,只能集团管理账号或者可信服务管理账号开启此项功能) # @type TrackForAllMembers: Integer attr_accessor :Name, :ActionType, :ResourceType, :Status, :EventNames, :Storage, :TrackForAllMembers - + def initialize(name=nil, actiontype=nil, resourcetype=nil, status=nil, eventnames=nil, storage=nil, trackforallmembers=nil) @Name = name @ActionType = actiontype @ResourceType = resourcetype @Status = status @@ -250,11 +250,11 @@ # @type TrackId: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TrackId, :RequestId - + def initialize(trackid=nil, requestid=nil) @TrackId = trackid @RequestId = requestid end @@ -268,11 +268,11 @@ class DeleteAuditRequest < TencentCloud::Common::AbstractModel # @param AuditName: 跟踪集名称 # @type AuditName: String attr_accessor :AuditName - + def initialize(auditname=nil) @AuditName = auditname end def deserialize(params) @@ -286,11 +286,11 @@ # @type IsSuccess: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :IsSuccess, :RequestId - + def initialize(issuccess=nil, requestid=nil) @IsSuccess = issuccess @RequestId = requestid end @@ -304,11 +304,11 @@ class DeleteAuditTrackRequest < TencentCloud::Common::AbstractModel # @param TrackId: 跟踪集 ID # @type TrackId: Integer attr_accessor :TrackId - + def initialize(trackid=nil) @TrackId = trackid end def deserialize(params) @@ -320,11 +320,11 @@ class DeleteAuditTrackResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -336,11 +336,11 @@ class DescribeAuditRequest < TencentCloud::Common::AbstractModel # @param AuditName: 跟踪集名称 # @type AuditName: String attr_accessor :AuditName - + def initialize(auditname=nil) @AuditName = auditname end def deserialize(params) @@ -378,11 +378,11 @@ # @type LogFilePrefix: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :IsEnableCmqNotify, :ReadWriteAttribute, :KeyId, :AuditStatus, :AuditName, :CosRegion, :CmqQueueName, :KmsAlias, :KmsRegion, :IsEnableKmsEncry, :CosBucketName, :CmqRegion, :LogFilePrefix, :RequestId - + def initialize(isenablecmqnotify=nil, readwriteattribute=nil, keyid=nil, auditstatus=nil, auditname=nil, cosregion=nil, cmqqueuename=nil, kmsalias=nil, kmsregion=nil, isenablekmsencry=nil, cosbucketname=nil, cmqregion=nil, logfileprefix=nil, requestid=nil) @IsEnableCmqNotify = isenablecmqnotify @ReadWriteAttribute = readwriteattribute @KeyId = keyid @AuditStatus = auditstatus @@ -420,11 +420,11 @@ class DescribeAuditTrackRequest < TencentCloud::Common::AbstractModel # @param TrackId: 跟踪集 ID # @type TrackId: Integer attr_accessor :TrackId - + def initialize(trackid=nil) @TrackId = trackid end def deserialize(params) @@ -453,11 +453,11 @@ # @type TrackForAllMembers: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Name, :ActionType, :ResourceType, :Status, :EventNames, :Storage, :CreateTime, :TrackForAllMembers, :RequestId - + def initialize(name=nil, actiontype=nil, resourcetype=nil, status=nil, eventnames=nil, storage=nil, createtime=nil, trackforallmembers=nil, requestid=nil) @Name = name @ActionType = actiontype @ResourceType = resourcetype @Status = status @@ -490,11 +490,11 @@ # @type PageNumber: Integer # @param PageSize: 每页数目 # @type PageSize: Integer attr_accessor :PageNumber, :PageSize - + def initialize(pagenumber=nil, pagesize=nil) @PageNumber = pagenumber @PageSize = pagesize end @@ -512,11 +512,11 @@ # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Tracks, :TotalCount, :RequestId - + def initialize(tracks=nil, totalcount=nil, requestid=nil) @Tracks = tracks @TotalCount = totalcount @RequestId = requestid end @@ -549,11 +549,11 @@ # @type LookupAttributes: Array # @param IsReturnLocation: 是否返回 IP 归属地(1 返回,0 不返回) # @type IsReturnLocation: Integer attr_accessor :StartTime, :EndTime, :NextToken, :MaxResults, :LookupAttributes, :IsReturnLocation - + def initialize(starttime=nil, endtime=nil, nexttoken=nil, maxresults=nil, lookupattributes=nil, isreturnlocation=nil) @StartTime = starttime @EndTime = endtime @NextToken = nexttoken @MaxResults = maxresults @@ -592,11 +592,11 @@ # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ListOver, :NextToken, :Events, :TotalCount, :RequestId - + def initialize(listover=nil, nexttoken=nil, events=nil, totalcount=nil, requestid=nil) @ListOver = listover @NextToken = nexttoken @Events = events @TotalCount = totalcount @@ -657,11 +657,11 @@ # @type EventRegion: String # @param Location: IP 归属地 # @type Location: String attr_accessor :EventId, :Username, :EventTime, :CloudAuditEvent, :ResourceTypeCn, :ErrorCode, :EventName, :SecretId, :EventSource, :RequestID, :ResourceRegion, :AccountID, :SourceIPAddress, :EventNameCn, :Resources, :EventRegion, :Location - + def initialize(eventid=nil, username=nil, eventtime=nil, cloudauditevent=nil, resourcetypecn=nil, errorcode=nil, eventname=nil, secretid=nil, eventsource=nil, requestid=nil, resourceregion=nil, accountid=nil, sourceipaddress=nil, eventnamecn=nil, resources=nil, eventregion=nil, location=nil) @EventId = eventid @Username = username @EventTime = eventtime @CloudAuditEvent = cloudauditevent @@ -708,11 +708,11 @@ class GetAttributeKeyRequest < TencentCloud::Common::AbstractModel # @param WebsiteType: 网站类型,取值范围是zh和en。如果不传值默认zh # @type WebsiteType: String attr_accessor :WebsiteType - + def initialize(websitetype=nil) @WebsiteType = websitetype end def deserialize(params) @@ -726,11 +726,11 @@ # @type AttributeKeyDetails: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :AttributeKeyDetails, :RequestId - + def initialize(attributekeydetails=nil, requestid=nil) @AttributeKeyDetails = attributekeydetails @RequestId = requestid end @@ -748,11 +748,11 @@ end # InquireAuditCredit请求参数结构体 class InquireAuditCreditRequest < TencentCloud::Common::AbstractModel - + def initialize() end def deserialize(params) end @@ -764,11 +764,11 @@ # @type AuditAmount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :AuditAmount, :RequestId - + def initialize(auditamount=nil, requestid=nil) @AuditAmount = auditamount @RequestId = requestid end @@ -784,11 +784,11 @@ # @type Alias: String # @param KeyId: CMK的全局唯一标识 # @type KeyId: String attr_accessor :Alias, :KeyId - + def initialize(_alias=nil, keyid=nil) @Alias = _alias @KeyId = keyid end @@ -799,11 +799,11 @@ end # ListAudits请求参数结构体 class ListAuditsRequest < TencentCloud::Common::AbstractModel - + def initialize() end def deserialize(params) end @@ -816,11 +816,11 @@ # @type AuditSummarys: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :AuditSummarys, :RequestId - + def initialize(auditsummarys=nil, requestid=nil) @AuditSummarys = auditsummarys @RequestId = requestid end @@ -841,11 +841,11 @@ class ListCmqEnableRegionRequest < TencentCloud::Common::AbstractModel # @param WebsiteType: 站点类型。zh表示中国区,en表示国际区。默认中国区。 # @type WebsiteType: String attr_accessor :WebsiteType - + def initialize(websitetype=nil) @WebsiteType = websitetype end def deserialize(params) @@ -859,11 +859,11 @@ # @type EnableRegions: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :EnableRegions, :RequestId - + def initialize(enableregions=nil, requestid=nil) @EnableRegions = enableregions @RequestId = requestid end @@ -884,11 +884,11 @@ class ListCosEnableRegionRequest < TencentCloud::Common::AbstractModel # @param WebsiteType: 站点类型。zh表示中国区,en表示国际区。默认中国区。 # @type WebsiteType: String attr_accessor :WebsiteType - + def initialize(websitetype=nil) @WebsiteType = websitetype end def deserialize(params) @@ -902,11 +902,11 @@ # @type EnableRegions: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :EnableRegions, :RequestId - + def initialize(enableregions=nil, requestid=nil) @EnableRegions = enableregions @RequestId = requestid end @@ -931,11 +931,11 @@ # @type Limit: Integer # @param Offset: 含义跟 SQL 查询的 Offset 一致,表示本次获取从按一定顺序排列数组的第 Offset 个元素开始,缺省为0 # @type Offset: Integer attr_accessor :KmsRegion, :Limit, :Offset - + def initialize(kmsregion=nil, limit=nil, offset=nil) @KmsRegion = kmsregion @Limit = limit @Offset = offset end @@ -955,11 +955,11 @@ # @type KeyMetadatas: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :KeyMetadatas, :RequestId - + def initialize(totalcount=nil, keymetadatas=nil, requestid=nil) @TotalCount = totalcount @KeyMetadatas = keymetadatas @RequestId = requestid end @@ -992,11 +992,11 @@ # @type MaxResults: Integer # @param Mode: 云审计模式,有效值:standard | quick,其中standard是标准模式,quick是极速模式。默认为标准模式 # @type Mode: String attr_accessor :StartTime, :EndTime, :LookupAttributes, :NextToken, :MaxResults, :Mode - + def initialize(starttime=nil, endtime=nil, lookupattributes=nil, nexttoken=nil, maxresults=nil, mode=nil) @StartTime = starttime @EndTime = endtime @LookupAttributes = lookupattributes @NextToken = nexttoken @@ -1034,11 +1034,11 @@ # @type ListOver: Boolean # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :NextToken, :Events, :ListOver, :RequestId - + def initialize(nexttoken=nil, events=nil, listover=nil, requestid=nil) @NextToken = nexttoken @Events = events @ListOver = listover @RequestId = requestid @@ -1065,11 +1065,11 @@ # @type AttributeKey: String # @param AttributeValue: AttributeValue的值 # @type AttributeValue: String attr_accessor :AttributeKey, :AttributeValue - + def initialize(attributekey=nil, attributevalue=nil) @AttributeKey = attributekey @AttributeValue = attributevalue end @@ -1097,11 +1097,11 @@ # @type Storage: :class:`Tencentcloud::Cloudaudit.v20190319.models.Storage` # @param TrackForAllMembers: 是否开启将集团成员操作日志投递到集团管理账号或者可信服务管理账号(0:未开启,1:开启,只能集团管理账号或者可信服务管理账号开启此项功能) # @type TrackForAllMembers: Integer attr_accessor :TrackId, :Name, :ActionType, :ResourceType, :Status, :EventNames, :Storage, :TrackForAllMembers - + def initialize(trackid=nil, name=nil, actiontype=nil, resourcetype=nil, status=nil, eventnames=nil, storage=nil, trackforallmembers=nil) @TrackId = trackid @Name = name @ActionType = actiontype @ResourceType = resourcetype @@ -1130,11 +1130,11 @@ class ModifyAuditTrackResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId - + def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @@ -1148,11 +1148,11 @@ # @type ResourceType: String # @param ResourceName: 资源名称 # @type ResourceName: String attr_accessor :ResourceType, :ResourceName - + def initialize(resourcetype=nil, resourcename=nil) @ResourceType = resourcetype @ResourceName = resourcename end @@ -1166,11 +1166,11 @@ class StartLoggingRequest < TencentCloud::Common::AbstractModel # @param AuditName: 跟踪集名称 # @type AuditName: String attr_accessor :AuditName - + def initialize(auditname=nil) @AuditName = auditname end def deserialize(params) @@ -1184,11 +1184,11 @@ # @type IsSuccess: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :IsSuccess, :RequestId - + def initialize(issuccess=nil, requestid=nil) @IsSuccess = issuccess @RequestId = requestid end @@ -1202,11 +1202,11 @@ class StopLoggingRequest < TencentCloud::Common::AbstractModel # @param AuditName: 跟踪集名称 # @type AuditName: String attr_accessor :AuditName - + def initialize(auditname=nil) @AuditName = auditname end def deserialize(params) @@ -1220,11 +1220,11 @@ # @type IsSuccess: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :IsSuccess, :RequestId - + def initialize(issuccess=nil, requestid=nil) @IsSuccess = issuccess @RequestId = requestid end @@ -1244,11 +1244,11 @@ # @type StorageName: String # @param StoragePrefix: 存储目录前缀,cos日志文件前缀仅支持字母和数字的组合,3-40个字符 # @type StoragePrefix: String attr_accessor :StorageType, :StorageRegion, :StorageName, :StoragePrefix - + def initialize(storagetype=nil, storageregion=nil, storagename=nil, storageprefix=nil) @StorageType = storagetype @StorageRegion = storageregion @StorageName = storagename @StoragePrefix = storageprefix @@ -1280,11 +1280,11 @@ # @type CreateTime: String # @param TrackId: 跟踪集 ID # @type TrackId: Integer attr_accessor :Name, :ActionType, :ResourceType, :Status, :EventNames, :Storage, :CreateTime, :TrackId - + def initialize(name=nil, actiontype=nil, resourcetype=nil, status=nil, eventnames=nil, storage=nil, createtime=nil, trackid=nil) @Name = name @ActionType = actiontype @ResourceType = resourcetype @Status = status @@ -1337,11 +1337,11 @@ # @type LogFilePrefix: String # @param IsCreateNewQueue: 是否创建新的队列。1:是,0:否。如果IsEnableCmqNotify值是1的话,此值属于必填字段。 # @type IsCreateNewQueue: Integer attr_accessor :AuditName, :IsEnableCmqNotify, :ReadWriteAttribute, :KeyId, :CosRegion, :CmqQueueName, :IsCreateNewBucket, :KmsRegion, :IsEnableKmsEncry, :CosBucketName, :CmqRegion, :LogFilePrefix, :IsCreateNewQueue - + def initialize(auditname=nil, isenablecmqnotify=nil, readwriteattribute=nil, keyid=nil, cosregion=nil, cmqqueuename=nil, iscreatenewbucket=nil, kmsregion=nil, isenablekmsencry=nil, cosbucketname=nil, cmqregion=nil, logfileprefix=nil, iscreatenewqueue=nil) @AuditName = auditname @IsEnableCmqNotify = isenablecmqnotify @ReadWriteAttribute = readwriteattribute @KeyId = keyid @@ -1379,10 +1379,10 @@ # @type IsSuccess: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :IsSuccess, :RequestId - + def initialize(issuccess=nil, requestid=nil) @IsSuccess = issuccess @RequestId = requestid end