Class: TencentCloud::Apm::V20210622::SpanProcess

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

Overview

服务相关信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(servicename = nil, tags = nil) ⇒ SpanProcess

Returns a new instance of SpanProcess.



4098
4099
4100
4101
# File 'lib/v20210622/models.rb', line 4098

def initialize(servicename=nil, tags=nil)
  @ServiceName = servicename
  @Tags = tags
end

Instance Attribute Details

#ServiceNameObject

Parameters:

  • ServiceName:

    应用服务名称

  • Tags:

    Tags 标签数组



4096
4097
4098
# File 'lib/v20210622/models.rb', line 4096

def ServiceName
  @ServiceName
end

#TagsObject

Parameters:

  • ServiceName:

    应用服务名称

  • Tags:

    Tags 标签数组



4096
4097
4098
# File 'lib/v20210622/models.rb', line 4096

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
# File 'lib/v20210622/models.rb', line 4103

def deserialize(params)
  @ServiceName = params['ServiceName']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      spantag_tmp = SpanTag.new
      spantag_tmp.deserialize(i)
      @Tags << spantag_tmp
    end
  end
end