Class: TencentCloud::Tke::V20180525::EnableEventPersistenceRequest

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

Overview

EnableEventPersistence请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, logsetid = nil, topicid = nil, topicregion = nil) ⇒ EnableEventPersistenceRequest

Returns a new instance of EnableEventPersistenceRequest.



11604
11605
11606
11607
11608
11609
# File 'lib/v20180525/models.rb', line 11604

def initialize(clusterid=nil, logsetid=nil, topicid=nil, topicregion=nil)
  @ClusterId = clusterid
  @LogsetId = logsetid
  @TopicId = topicid
  @TopicRegion = topicregion
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • LogsetId:

    cls服务的logsetID

  • TopicId:

    cls服务的topicID

  • TopicRegion:

    topic所在地域,默认为集群所在地域



11602
11603
11604
# File 'lib/v20180525/models.rb', line 11602

def ClusterId
  @ClusterId
end

#LogsetIdObject

Parameters:

  • ClusterId:

    集群ID

  • LogsetId:

    cls服务的logsetID

  • TopicId:

    cls服务的topicID

  • TopicRegion:

    topic所在地域,默认为集群所在地域



11602
11603
11604
# File 'lib/v20180525/models.rb', line 11602

def LogsetId
  @LogsetId
end

#TopicIdObject

Parameters:

  • ClusterId:

    集群ID

  • LogsetId:

    cls服务的logsetID

  • TopicId:

    cls服务的topicID

  • TopicRegion:

    topic所在地域,默认为集群所在地域



11602
11603
11604
# File 'lib/v20180525/models.rb', line 11602

def TopicId
  @TopicId
end

#TopicRegionObject

Parameters:

  • ClusterId:

    集群ID

  • LogsetId:

    cls服务的logsetID

  • TopicId:

    cls服务的topicID

  • TopicRegion:

    topic所在地域,默认为集群所在地域



11602
11603
11604
# File 'lib/v20180525/models.rb', line 11602

def TopicRegion
  @TopicRegion
end

Instance Method Details

#deserialize(params) ⇒ Object



11611
11612
11613
11614
11615
11616
# File 'lib/v20180525/models.rb', line 11611

def deserialize(params)
  @ClusterId = params['ClusterId']
  @LogsetId = params['LogsetId']
  @TopicId = params['TopicId']
  @TopicRegion = params['TopicRegion']
end