Class: TencentCloud::Tke::V20180525::EnableClusterAuditRequest

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

Overview

EnableClusterAudit请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of EnableClusterAuditRequest.



11489
11490
11491
11492
11493
11494
# File 'lib/v20180525/models.rb', line 11489

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日志集ID

  • TopicId:

    CLS日志主题ID

  • TopicRegion:

    topic所在region,默认为集群当前region



11487
11488
11489
# File 'lib/v20180525/models.rb', line 11487

def ClusterId
  @ClusterId
end

#LogsetIdObject

Parameters:

  • ClusterId:

    集群ID

  • LogsetId:

    CLS日志集ID

  • TopicId:

    CLS日志主题ID

  • TopicRegion:

    topic所在region,默认为集群当前region



11487
11488
11489
# File 'lib/v20180525/models.rb', line 11487

def LogsetId
  @LogsetId
end

#TopicIdObject

Parameters:

  • ClusterId:

    集群ID

  • LogsetId:

    CLS日志集ID

  • TopicId:

    CLS日志主题ID

  • TopicRegion:

    topic所在region,默认为集群当前region



11487
11488
11489
# File 'lib/v20180525/models.rb', line 11487

def TopicId
  @TopicId
end

#TopicRegionObject

Parameters:

  • ClusterId:

    集群ID

  • LogsetId:

    CLS日志集ID

  • TopicId:

    CLS日志主题ID

  • TopicRegion:

    topic所在region,默认为集群当前region



11487
11488
11489
# File 'lib/v20180525/models.rb', line 11487

def TopicRegion
  @TopicRegion
end

Instance Method Details

#deserialize(params) ⇒ Object



11496
11497
11498
11499
11500
11501
# File 'lib/v20180525/models.rb', line 11496

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