Class: TencentCloud::Tcb::V20180608::LogServiceInfo

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

Overview

云日志服务相关信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logsetname = nil, logsetid = nil, topicname = nil, topicid = nil, region = nil, period = nil) ⇒ LogServiceInfo

Returns a new instance of LogServiceInfo.



7554
7555
7556
7557
7558
7559
7560
7561
# File 'lib/v20180608/models.rb', line 7554

def initialize(logsetname=nil, logsetid=nil, topicname=nil, topicid=nil, region=nil, period=nil)
  @LogsetName = logsetname
  @LogsetId = logsetid
  @TopicName = topicname
  @TopicId = topicid
  @Region = region
  @Period = period
end

Instance Attribute Details

#LogsetIdObject

Parameters:

  • LogsetName:

    log名

  • LogsetId:

    log-id

  • TopicName:

    topic名

  • TopicId:

    topic-id

  • Region:

    cls日志所属地域

  • Period:

    topic保存时长 默认7天



7552
7553
7554
# File 'lib/v20180608/models.rb', line 7552

def LogsetId
  @LogsetId
end

#LogsetNameObject

Parameters:

  • LogsetName:

    log名

  • LogsetId:

    log-id

  • TopicName:

    topic名

  • TopicId:

    topic-id

  • Region:

    cls日志所属地域

  • Period:

    topic保存时长 默认7天



7552
7553
7554
# File 'lib/v20180608/models.rb', line 7552

def LogsetName
  @LogsetName
end

#PeriodObject

Parameters:

  • LogsetName:

    log名

  • LogsetId:

    log-id

  • TopicName:

    topic名

  • TopicId:

    topic-id

  • Region:

    cls日志所属地域

  • Period:

    topic保存时长 默认7天



7552
7553
7554
# File 'lib/v20180608/models.rb', line 7552

def Period
  @Period
end

#RegionObject

Parameters:

  • LogsetName:

    log名

  • LogsetId:

    log-id

  • TopicName:

    topic名

  • TopicId:

    topic-id

  • Region:

    cls日志所属地域

  • Period:

    topic保存时长 默认7天



7552
7553
7554
# File 'lib/v20180608/models.rb', line 7552

def Region
  @Region
end

#TopicIdObject

Parameters:

  • LogsetName:

    log名

  • LogsetId:

    log-id

  • TopicName:

    topic名

  • TopicId:

    topic-id

  • Region:

    cls日志所属地域

  • Period:

    topic保存时长 默认7天



7552
7553
7554
# File 'lib/v20180608/models.rb', line 7552

def TopicId
  @TopicId
end

#TopicNameObject

Parameters:

  • LogsetName:

    log名

  • LogsetId:

    log-id

  • TopicName:

    topic名

  • TopicId:

    topic-id

  • Region:

    cls日志所属地域

  • Period:

    topic保存时长 默认7天



7552
7553
7554
# File 'lib/v20180608/models.rb', line 7552

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



7563
7564
7565
7566
7567
7568
7569
7570
# File 'lib/v20180608/models.rb', line 7563

def deserialize(params)
  @LogsetName = params['LogsetName']
  @LogsetId = params['LogsetId']
  @TopicName = params['TopicName']
  @TopicId = params['TopicId']
  @Region = params['Region']
  @Period = params['Period']
end