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.



14113
14114
14115
14116
14117
# File 'lib/v20180525/models.rb', line 14113

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

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • Tags:

    集群标签

  • SyncSubresource:

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



14111
14112
14113
# File 'lib/v20180525/models.rb', line 14111

def ClusterId
  @ClusterId
end

#SyncSubresourceObject

Parameters:

  • ClusterId:

    集群ID

  • Tags:

    集群标签

  • SyncSubresource:

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



14111
14112
14113
# File 'lib/v20180525/models.rb', line 14111

def SyncSubresource
  @SyncSubresource
end

#TagsObject

Parameters:

  • ClusterId:

    集群ID

  • Tags:

    集群标签

  • SyncSubresource:

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



14111
14112
14113
# File 'lib/v20180525/models.rb', line 14111

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
# File 'lib/v20180525/models.rb', line 14119

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