Class: TencentCloud::Cdb::V20170320::AuditLogFile

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170320/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) ⇒ AuditLogFile

Returns a new instance of AuditLogFile.



797
798
799
800
801
802
803
804
# File 'lib/v20170320/models.rb', line 797

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

Instance Attribute Details

#CreateTimeObject

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

Parameters:

  • FileName:

    审计日志文件名称

  • CreateTime:

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

  • Status:

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

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。



795
796
797
# File 'lib/v20170320/models.rb', line 795

def CreateTime
  @CreateTime
end

#DownloadUrlObject

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

Parameters:

  • FileName:

    审计日志文件名称

  • CreateTime:

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

  • Status:

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

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。



795
796
797
# File 'lib/v20170320/models.rb', line 795

def DownloadUrl
  @DownloadUrl
end

#ErrMsgObject

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

Parameters:

  • FileName:

    审计日志文件名称

  • CreateTime:

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

  • Status:

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

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。



795
796
797
# File 'lib/v20170320/models.rb', line 795

def ErrMsg
  @ErrMsg
end

#FileNameObject

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

Parameters:

  • FileName:

    审计日志文件名称

  • CreateTime:

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

  • Status:

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

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。



795
796
797
# File 'lib/v20170320/models.rb', line 795

def FileName
  @FileName
end

#FileSizeObject

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

Parameters:

  • FileName:

    审计日志文件名称

  • CreateTime:

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

  • Status:

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

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。



795
796
797
# File 'lib/v20170320/models.rb', line 795

def FileSize
  @FileSize
end

#StatusObject

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

Parameters:

  • FileName:

    审计日志文件名称

  • CreateTime:

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

  • Status:

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

  • FileSize:

    文件大小,单位为 KB。

  • DownloadUrl:

    审计日志下载地址。

  • ErrMsg:

    错误信息。



795
796
797
# File 'lib/v20170320/models.rb', line 795

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



806
807
808
809
810
811
812
813
# File 'lib/v20170320/models.rb', line 806

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