Class: TencentCloud::Tke::V20180525::DescribeOpenPolicyListRequest

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

Overview

DescribeOpenPolicyList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, category = nil) ⇒ DescribeOpenPolicyListRequest

Returns a new instance of DescribeOpenPolicyListRequest.



8214
8215
8216
8217
# File 'lib/v20180525/models.rb', line 8214

def initialize(clusterid=nil, category=nil)
  @ClusterId = clusterid
  @Category = category
end

Instance Attribute Details

#CategoryObject

Parameters:

  • ClusterId:

    集群ID

  • Category:

    策略分类 基线:baseline 优选:priority 可选:optional



8212
8213
8214
# File 'lib/v20180525/models.rb', line 8212

def Category
  @Category
end

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • Category:

    策略分类 基线:baseline 优选:priority 可选:optional



8212
8213
8214
# File 'lib/v20180525/models.rb', line 8212

def ClusterId
  @ClusterId
end

Instance Method Details

#deserialize(params) ⇒ Object



8219
8220
8221
8222
# File 'lib/v20180525/models.rb', line 8219

def deserialize(params)
  @ClusterId = params['ClusterId']
  @Category = params['Category']
end