Class: TencentCloud::Tcb::V20180608::LogObject

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

Overview

CLS日志单条信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topicid = nil, topicname = nil, timestamp = nil, content = nil, filename = nil, source = nil) ⇒ LogObject

Returns a new instance of LogObject.



6567
6568
6569
6570
6571
6572
6573
6574
# File 'lib/v20180608/models.rb', line 6567

def initialize(topicid=nil, topicname=nil, timestamp=nil, content=nil, filename=nil, source=nil)
  @TopicId = topicid
  @TopicName = topicname
  @Timestamp = timestamp
  @Content = content
  @FileName = filename
  @Source = source
end

Instance Attribute Details

#ContentObject

Parameters:

  • TopicId:

    日志属于的 topic ID

  • TopicName:

    日志主题的名字

  • Timestamp:

    日志时间

  • Content:

    日志内容

  • FileName:

    采集路径

  • Source:

    日志来源设备



6565
6566
6567
# File 'lib/v20180608/models.rb', line 6565

def Content
  @Content
end

#FileNameObject

Parameters:

  • TopicId:

    日志属于的 topic ID

  • TopicName:

    日志主题的名字

  • Timestamp:

    日志时间

  • Content:

    日志内容

  • FileName:

    采集路径

  • Source:

    日志来源设备



6565
6566
6567
# File 'lib/v20180608/models.rb', line 6565

def FileName
  @FileName
end

#SourceObject

Parameters:

  • TopicId:

    日志属于的 topic ID

  • TopicName:

    日志主题的名字

  • Timestamp:

    日志时间

  • Content:

    日志内容

  • FileName:

    采集路径

  • Source:

    日志来源设备



6565
6566
6567
# File 'lib/v20180608/models.rb', line 6565

def Source
  @Source
end

#TimestampObject

Parameters:

  • TopicId:

    日志属于的 topic ID

  • TopicName:

    日志主题的名字

  • Timestamp:

    日志时间

  • Content:

    日志内容

  • FileName:

    采集路径

  • Source:

    日志来源设备



6565
6566
6567
# File 'lib/v20180608/models.rb', line 6565

def Timestamp
  @Timestamp
end

#TopicIdObject

Parameters:

  • TopicId:

    日志属于的 topic ID

  • TopicName:

    日志主题的名字

  • Timestamp:

    日志时间

  • Content:

    日志内容

  • FileName:

    采集路径

  • Source:

    日志来源设备



6565
6566
6567
# File 'lib/v20180608/models.rb', line 6565

def TopicId
  @TopicId
end

#TopicNameObject

Parameters:

  • TopicId:

    日志属于的 topic ID

  • TopicName:

    日志主题的名字

  • Timestamp:

    日志时间

  • Content:

    日志内容

  • FileName:

    采集路径

  • Source:

    日志来源设备



6565
6566
6567
# File 'lib/v20180608/models.rb', line 6565

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



6576
6577
6578
6579
6580
6581
6582
6583
# File 'lib/v20180608/models.rb', line 6576

def deserialize(params)
  @TopicId = params['TopicId']
  @TopicName = params['TopicName']
  @Timestamp = params['Timestamp']
  @Content = params['Content']
  @FileName = params['FileName']
  @Source = params['Source']
end