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.



7483
7484
7485
7486
7487
7488
7489
7490
# File 'lib/v20180608/models.rb', line 7483

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:

    日志来源设备



7481
7482
7483
# File 'lib/v20180608/models.rb', line 7481

def Content
  @Content
end

#FileNameObject

Parameters:

  • TopicId:

    日志属于的 topic ID

  • TopicName:

    日志主题的名字

  • Timestamp:

    日志时间

  • Content:

    日志内容

  • FileName:

    采集路径

  • Source:

    日志来源设备



7481
7482
7483
# File 'lib/v20180608/models.rb', line 7481

def FileName
  @FileName
end

#SourceObject

Parameters:

  • TopicId:

    日志属于的 topic ID

  • TopicName:

    日志主题的名字

  • Timestamp:

    日志时间

  • Content:

    日志内容

  • FileName:

    采集路径

  • Source:

    日志来源设备



7481
7482
7483
# File 'lib/v20180608/models.rb', line 7481

def Source
  @Source
end

#TimestampObject

Parameters:

  • TopicId:

    日志属于的 topic ID

  • TopicName:

    日志主题的名字

  • Timestamp:

    日志时间

  • Content:

    日志内容

  • FileName:

    采集路径

  • Source:

    日志来源设备



7481
7482
7483
# File 'lib/v20180608/models.rb', line 7481

def Timestamp
  @Timestamp
end

#TopicIdObject

Parameters:

  • TopicId:

    日志属于的 topic ID

  • TopicName:

    日志主题的名字

  • Timestamp:

    日志时间

  • Content:

    日志内容

  • FileName:

    采集路径

  • Source:

    日志来源设备



7481
7482
7483
# File 'lib/v20180608/models.rb', line 7481

def TopicId
  @TopicId
end

#TopicNameObject

Parameters:

  • TopicId:

    日志属于的 topic ID

  • TopicName:

    日志主题的名字

  • Timestamp:

    日志时间

  • Content:

    日志内容

  • FileName:

    采集路径

  • Source:

    日志来源设备



7481
7482
7483
# File 'lib/v20180608/models.rb', line 7481

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



7492
7493
7494
7495
7496
7497
7498
7499
# File 'lib/v20180608/models.rb', line 7492

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