lib/v20190319/models.rb in tencentcloud-sdk-cloudaudit-3.0.745 vs lib/v20190319/models.rb in tencentcloud-sdk-cloudaudit-3.0.746
- old
+ new
@@ -543,11 +543,11 @@
# @type EndTime: Integer
# @param NextToken: 查看更多日志的凭证
# @type NextToken: Integer
# @param MaxResults: 返回日志的最大条数(最大 50 条)
# @type MaxResults: Integer
- # @param LookupAttributes: 检索条件(目前支持 RequestId:请求 ID、EventName:事件名称、ActionType:操作类型(Write:写;Read:读)、PrincipalId:子账号、ResourceType:资源类型、ResourceName:资源名称、AccessKeyId:密钥 ID、SensitiveAction:是否敏感操作、ApiErrorCode:API 错误码、CamErrorCode:CAM 错误码、Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}])备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系)
+ # @param LookupAttributes: 检索条件(目前支持 RequestId:请求 ID、EventName:事件名称、ActionType:操作类型(Write:写;Read:读)、PrincipalId:子账号、ResourceType:资源类型、ResourceId:资源Id、ResourceName:资源名称、AccessKeyId:密钥 ID、SensitiveAction:是否敏感操作、ApiErrorCode:API 错误码、CamErrorCode:CAM 错误码、Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}])备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系)
# @type LookupAttributes: Array
# @param IsReturnLocation: 是否返回 IP 归属地(1 返回,0 不返回)
# @type IsReturnLocation: Integer
attr_accessor :StartTime, :EndTime, :NextToken, :MaxResults, :LookupAttributes, :IsReturnLocation
@@ -1143,12 +1143,14 @@
end
# 资源类型
class Resource < TencentCloud::Common::AbstractModel
# @param ResourceType: 资源类型
+ # 注意:此字段可能返回 null,表示取不到有效值。
# @type ResourceType: String
# @param ResourceName: 资源名称
+ # 注意:此字段可能返回 null,表示取不到有效值。
# @type ResourceName: String
attr_accessor :ResourceType, :ResourceName
def initialize(resourcetype=nil, resourcename=nil)
@@ -1242,24 +1244,34 @@
# @type StorageRegion: String
# @param StorageName: 存储名称(cos:存储名称为用户自定义的存储桶名称,不包含"-APPID",仅支持小写字母、数字以及中划线"-"的组合,不能超过50字符,且不支持中划线"-"开头或结尾; cls:存储名称为日志主题id,字符长度为1-50个字符)
# @type StorageName: String
# @param StoragePrefix: 存储目录前缀,cos日志文件前缀仅支持字母和数字的组合,3-40个字符
# @type StoragePrefix: String
+ # @param StorageAccountId: 被指定存储用户ID
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type StorageAccountId: String
+ # @param StorageAppId: 被指定存储用户appid
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type StorageAppId: String
- attr_accessor :StorageType, :StorageRegion, :StorageName, :StoragePrefix
+ attr_accessor :StorageType, :StorageRegion, :StorageName, :StoragePrefix, :StorageAccountId, :StorageAppId
- def initialize(storagetype=nil, storageregion=nil, storagename=nil, storageprefix=nil)
+ def initialize(storagetype=nil, storageregion=nil, storagename=nil, storageprefix=nil, storageaccountid=nil, storageappid=nil)
@StorageType = storagetype
@StorageRegion = storageregion
@StorageName = storagename
@StoragePrefix = storageprefix
+ @StorageAccountId = storageaccountid
+ @StorageAppId = storageappid
end
def deserialize(params)
@StorageType = params['StorageType']
@StorageRegion = params['StorageRegion']
@StorageName = params['StorageName']
@StoragePrefix = params['StoragePrefix']
+ @StorageAccountId = params['StorageAccountId']
+ @StorageAppId = params['StorageAppId']
end
end
# 跟踪集列表
class Tracks < TencentCloud::Common::AbstractModel