Class: TencentCloud::Dbbrain::V20210527::AuditLogFile

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210527/models.rb

Overview

审计日志文件

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(asyncrequestid = nil, filename = nil, createtime = nil, status = nil, filesize = nil, downloadurl = nil, errmsg = nil, progress = nil, finishtime = nil) ⇒ AuditLogFile

Returns a new instance of AuditLogFile.



356
357
358
359
360
361
362
363
364
365
366
# File 'lib/v20210527/models.rb', line 356

def initialize(asyncrequestid=nil, filename=nil, createtime=nil, status=nil, filesize=nil, downloadurl=nil, errmsg=nil, progress=nil, finishtime=nil)
  @AsyncRequestId = asyncrequestid
  @FileName = filename
  @CreateTime = createtime
  @Status = status
  @FileSize = filesize
  @DownloadUrl = downloadurl
  @ErrMsg = errmsg
  @Progress = progress
  @FinishTime = finishtime
end

Instance Attribute Details

#AsyncRequestIdObject

"creating" - 生成中; "failed" - 创建失败; "success" - 已生成;

Parameters:

  • AsyncRequestId:

    审计日志文件生成异步任务ID。

  • FileName:

    审计日志文件名称。

  • CreateTime:

    审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。

  • Status:

    文件状态值。可能返回的值为:

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • Progress:

    文件生成进度。(单位:%)

  • FinishTime:

    文件生成成功时间。格式: "yyyy-MM-dd HH:mm:ss"



354
355
356
# File 'lib/v20210527/models.rb', line 354

def AsyncRequestId
  @AsyncRequestId
end

#CreateTimeObject

"creating" - 生成中; "failed" - 创建失败; "success" - 已生成;

Parameters:

  • AsyncRequestId:

    审计日志文件生成异步任务ID。

  • FileName:

    审计日志文件名称。

  • CreateTime:

    审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。

  • Status:

    文件状态值。可能返回的值为:

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • Progress:

    文件生成进度。(单位:%)

  • FinishTime:

    文件生成成功时间。格式: "yyyy-MM-dd HH:mm:ss"



354
355
356
# File 'lib/v20210527/models.rb', line 354

def CreateTime
  @CreateTime
end

#DownloadUrlObject

"creating" - 生成中; "failed" - 创建失败; "success" - 已生成;

Parameters:

  • AsyncRequestId:

    审计日志文件生成异步任务ID。

  • FileName:

    审计日志文件名称。

  • CreateTime:

    审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。

  • Status:

    文件状态值。可能返回的值为:

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • Progress:

    文件生成进度。(单位:%)

  • FinishTime:

    文件生成成功时间。格式: "yyyy-MM-dd HH:mm:ss"



354
355
356
# File 'lib/v20210527/models.rb', line 354

def DownloadUrl
  @DownloadUrl
end

#ErrMsgObject

"creating" - 生成中; "failed" - 创建失败; "success" - 已生成;

Parameters:

  • AsyncRequestId:

    审计日志文件生成异步任务ID。

  • FileName:

    审计日志文件名称。

  • CreateTime:

    审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。

  • Status:

    文件状态值。可能返回的值为:

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • Progress:

    文件生成进度。(单位:%)

  • FinishTime:

    文件生成成功时间。格式: "yyyy-MM-dd HH:mm:ss"



354
355
356
# File 'lib/v20210527/models.rb', line 354

def ErrMsg
  @ErrMsg
end

#FileNameObject

"creating" - 生成中; "failed" - 创建失败; "success" - 已生成;

Parameters:

  • AsyncRequestId:

    审计日志文件生成异步任务ID。

  • FileName:

    审计日志文件名称。

  • CreateTime:

    审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。

  • Status:

    文件状态值。可能返回的值为:

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • Progress:

    文件生成进度。(单位:%)

  • FinishTime:

    文件生成成功时间。格式: "yyyy-MM-dd HH:mm:ss"



354
355
356
# File 'lib/v20210527/models.rb', line 354

def FileName
  @FileName
end

#FileSizeObject

"creating" - 生成中; "failed" - 创建失败; "success" - 已生成;

Parameters:

  • AsyncRequestId:

    审计日志文件生成异步任务ID。

  • FileName:

    审计日志文件名称。

  • CreateTime:

    审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。

  • Status:

    文件状态值。可能返回的值为:

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • Progress:

    文件生成进度。(单位:%)

  • FinishTime:

    文件生成成功时间。格式: "yyyy-MM-dd HH:mm:ss"



354
355
356
# File 'lib/v20210527/models.rb', line 354

def FileSize
  @FileSize
end

#FinishTimeObject

"creating" - 生成中; "failed" - 创建失败; "success" - 已生成;

Parameters:

  • AsyncRequestId:

    审计日志文件生成异步任务ID。

  • FileName:

    审计日志文件名称。

  • CreateTime:

    审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。

  • Status:

    文件状态值。可能返回的值为:

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • Progress:

    文件生成进度。(单位:%)

  • FinishTime:

    文件生成成功时间。格式: "yyyy-MM-dd HH:mm:ss"



354
355
356
# File 'lib/v20210527/models.rb', line 354

def FinishTime
  @FinishTime
end

#ProgressObject

"creating" - 生成中; "failed" - 创建失败; "success" - 已生成;

Parameters:

  • AsyncRequestId:

    审计日志文件生成异步任务ID。

  • FileName:

    审计日志文件名称。

  • CreateTime:

    审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。

  • Status:

    文件状态值。可能返回的值为:

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • Progress:

    文件生成进度。(单位:%)

  • FinishTime:

    文件生成成功时间。格式: "yyyy-MM-dd HH:mm:ss"



354
355
356
# File 'lib/v20210527/models.rb', line 354

def Progress
  @Progress
end

#StatusObject

"creating" - 生成中; "failed" - 创建失败; "success" - 已生成;

Parameters:

  • AsyncRequestId:

    审计日志文件生成异步任务ID。

  • FileName:

    审计日志文件名称。

  • CreateTime:

    审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。

  • Status:

    文件状态值。可能返回的值为:

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • Progress:

    文件生成进度。(单位:%)

  • FinishTime:

    文件生成成功时间。格式: "yyyy-MM-dd HH:mm:ss"



354
355
356
# File 'lib/v20210527/models.rb', line 354

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



368
369
370
371
372
373
374
375
376
377
378
# File 'lib/v20210527/models.rb', line 368

def deserialize(params)
  @AsyncRequestId = params['AsyncRequestId']
  @FileName = params['FileName']
  @CreateTime = params['CreateTime']
  @Status = params['Status']
  @FileSize = params['FileSize']
  @DownloadUrl = params['DownloadUrl']
  @ErrMsg = params['ErrMsg']
  @Progress = params['Progress']
  @FinishTime = params['FinishTime']
end