Class: TencentCloud::Cynosdb::V20190107::AuditLogFile

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

Overview

审计日志文件

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filename = nil, createtime = nil, status = nil, filesize = nil, downloadurl = nil, errmsg = nil, progressrate = nil) ⇒ AuditLogFile

Returns a new instance of AuditLogFile.



579
580
581
582
583
584
585
586
587
# File 'lib/v20190107/models.rb', line 579

def initialize(filename=nil, createtime=nil, status=nil, filesize=nil, downloadurl=nil, errmsg=nil, progressrate=nil)
  @FileName = filename
  @CreateTime = createtime
  @Status = status
  @FileSize = filesize
  @DownloadUrl = downloadurl
  @ErrMsg = errmsg
  @ProgressRate = progressrate
end

Instance Attribute Details

#CreateTimeObject

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

Parameters:

  • FileName:

    审计日志文件名称

  • CreateTime:

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

  • Status:

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

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • ProgressRate:

    日志下载进度。



577
578
579
# File 'lib/v20190107/models.rb', line 577

def CreateTime
  @CreateTime
end

#DownloadUrlObject

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

Parameters:

  • FileName:

    审计日志文件名称

  • CreateTime:

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

  • Status:

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

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • ProgressRate:

    日志下载进度。



577
578
579
# File 'lib/v20190107/models.rb', line 577

def DownloadUrl
  @DownloadUrl
end

#ErrMsgObject

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

Parameters:

  • FileName:

    审计日志文件名称

  • CreateTime:

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

  • Status:

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

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • ProgressRate:

    日志下载进度。



577
578
579
# File 'lib/v20190107/models.rb', line 577

def ErrMsg
  @ErrMsg
end

#FileNameObject

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

Parameters:

  • FileName:

    审计日志文件名称

  • CreateTime:

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

  • Status:

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

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • ProgressRate:

    日志下载进度。



577
578
579
# File 'lib/v20190107/models.rb', line 577

def FileName
  @FileName
end

#FileSizeObject

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

Parameters:

  • FileName:

    审计日志文件名称

  • CreateTime:

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

  • Status:

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

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • ProgressRate:

    日志下载进度。



577
578
579
# File 'lib/v20190107/models.rb', line 577

def FileSize
  @FileSize
end

#ProgressRateObject

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

Parameters:

  • FileName:

    审计日志文件名称

  • CreateTime:

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

  • Status:

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

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • ProgressRate:

    日志下载进度。



577
578
579
# File 'lib/v20190107/models.rb', line 577

def ProgressRate
  @ProgressRate
end

#StatusObject

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

Parameters:

  • FileName:

    审计日志文件名称

  • CreateTime:

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

  • Status:

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

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。

  • ProgressRate:

    日志下载进度。



577
578
579
# File 'lib/v20190107/models.rb', line 577

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



589
590
591
592
593
594
595
596
597
# File 'lib/v20190107/models.rb', line 589

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