Class: TencentCloud::Tke::V20180525::ModifyClusterTagsRequest

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

Overview

ModifyClusterTags请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, tags = nil, syncsubresource = nil) ⇒ ModifyClusterTagsRequest

Returns a new instance of ModifyClusterTagsRequest.



14225
14226
14227
14228
14229
# File 'lib/v20180525/models.rb', line 14225

def initialize(clusterid=nil, tags=nil, syncsubresource=nil)
  @ClusterId = clusterid
  @Tags = tags
  @SyncSubresource = syncsubresource
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • Tags:

    集群标签

  • SyncSubresource:

    是否同步集群内子资源标签



14223
14224
14225
# File 'lib/v20180525/models.rb', line 14223

def ClusterId
  @ClusterId
end

#SyncSubresourceObject

Parameters:

  • ClusterId:

    集群ID

  • Tags:

    集群标签

  • SyncSubresource:

    是否同步集群内子资源标签



14223
14224
14225
# File 'lib/v20180525/models.rb', line 14223

def SyncSubresource
  @SyncSubresource
end

#TagsObject

Parameters:

  • ClusterId:

    集群ID

  • Tags:

    集群标签

  • SyncSubresource:

    是否同步集群内子资源标签



14223
14224
14225
# File 'lib/v20180525/models.rb', line 14223

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
# File 'lib/v20180525/models.rb', line 14231

def deserialize(params)
  @ClusterId = params['ClusterId']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
  @SyncSubresource = params['SyncSubresource']
end