Class: TencentCloud::Tcm::V20210413::ModifyTracingConfigRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcm::V20210413::ModifyTracingConfigRequest
- Defined in:
- lib/v20210413/models.rb
Overview
ModifyTracingConfig请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(meshid = nil, enable = nil, apm = nil, sampling = nil, zipkin = nil) ⇒ ModifyTracingConfigRequest
constructor
A new instance of ModifyTracingConfigRequest.
Constructor Details
#initialize(meshid = nil, enable = nil, apm = nil, sampling = nil, zipkin = nil) ⇒ ModifyTracingConfigRequest
Returns a new instance of ModifyTracingConfigRequest.
1686 1687 1688 1689 1690 1691 1692 |
# File 'lib/v20210413/models.rb', line 1686 def initialize(meshid=nil, enable=nil, apm=nil, sampling=nil, zipkin=nil) @MeshId = meshid @Enable = enable @APM = apm @Sampling = sampling @Zipkin = zipkin end |
Instance Attribute Details
#APM ⇒ Object
1684 1685 1686 |
# File 'lib/v20210413/models.rb', line 1684 def APM @APM end |
#Enable ⇒ Object
1684 1685 1686 |
# File 'lib/v20210413/models.rb', line 1684 def Enable @Enable end |
#MeshId ⇒ Object
1684 1685 1686 |
# File 'lib/v20210413/models.rb', line 1684 def MeshId @MeshId end |
#Sampling ⇒ Object
1684 1685 1686 |
# File 'lib/v20210413/models.rb', line 1684 def Sampling @Sampling end |
#Zipkin ⇒ Object
1684 1685 1686 |
# File 'lib/v20210413/models.rb', line 1684 def Zipkin @Zipkin end |
Instance Method Details
#deserialize(params) ⇒ Object
1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 |
# File 'lib/v20210413/models.rb', line 1694 def deserialize(params) @MeshId = params['MeshId'] @Enable = params['Enable'] unless params['APM'].nil? @APM = APM.new @APM.deserialize(params['APM']) end @Sampling = params['Sampling'] unless params['Zipkin'].nil? @Zipkin = TracingZipkin.new @Zipkin.deserialize(params['Zipkin']) end end |