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.



6650
6651
6652
6653
6654
6655
6656
6657
# File 'lib/v20180608/models.rb', line 6650

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天



6648
6649
6650
# File 'lib/v20180608/models.rb', line 6648

def LogsetId
  @LogsetId
end

#LogsetNameObject

Parameters:

  • LogsetName:

    log名

  • LogsetId:

    log-id

  • TopicName:

    topic名

  • TopicId:

    topic-id

  • Region:

    cls日志所属地域

  • Period:

    topic保存时长 默认7天



6648
6649
6650
# File 'lib/v20180608/models.rb', line 6648

def LogsetName
  @LogsetName
end

#PeriodObject

Parameters:

  • LogsetName:

    log名

  • LogsetId:

    log-id

  • TopicName:

    topic名

  • TopicId:

    topic-id

  • Region:

    cls日志所属地域

  • Period:

    topic保存时长 默认7天



6648
6649
6650
# File 'lib/v20180608/models.rb', line 6648

def Period
  @Period
end

#RegionObject

Parameters:

  • LogsetName:

    log名

  • LogsetId:

    log-id

  • TopicName:

    topic名

  • TopicId:

    topic-id

  • Region:

    cls日志所属地域

  • Period:

    topic保存时长 默认7天



6648
6649
6650
# File 'lib/v20180608/models.rb', line 6648

def Region
  @Region
end

#TopicIdObject

Parameters:

  • LogsetName:

    log名

  • LogsetId:

    log-id

  • TopicName:

    topic名

  • TopicId:

    topic-id

  • Region:

    cls日志所属地域

  • Period:

    topic保存时长 默认7天



6648
6649
6650
# File 'lib/v20180608/models.rb', line 6648

def TopicId
  @TopicId
end

#TopicNameObject

Parameters:

  • LogsetName:

    log名

  • LogsetId:

    log-id

  • TopicName:

    topic名

  • TopicId:

    topic-id

  • Region:

    cls日志所属地域

  • Period:

    topic保存时长 默认7天



6648
6649
6650
# File 'lib/v20180608/models.rb', line 6648

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



6659
6660
6661
6662
6663
6664
6665
6666
# File 'lib/v20180608/models.rb', line 6659

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