Class: TencentCloud::Tke::V20180525::ModifyClusterTagsResponse

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(tags = nil, requestid = nil) ⇒ ModifyClusterTagsResponse

Returns a new instance of ModifyClusterTagsResponse.



15730
15731
15732
15733
# File 'lib/v20180525/models.rb', line 15730

def initialize(tags=nil, requestid=nil)
  @Tags = tags
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 集群标签

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



15728
15729
15730
# File 'lib/v20180525/models.rb', line 15728

def RequestId
  @RequestId
end

#TagsObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • 集群标签

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



15728
15729
15730
# File 'lib/v20180525/models.rb', line 15728

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
# File 'lib/v20180525/models.rb', line 15735

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