lib/v20210622/models.rb in tencentcloud-sdk-apm-3.0.685 vs lib/v20210622/models.rb in tencentcloud-sdk-apm-3.0.686

- old
+ new

@@ -1185,11 +1185,10 @@ @Compares = params['Compares'] end end # Span对象 - class Span < TencentCloud::Common::AbstractModel # @param TraceID: Trace Id # 注意:此字段可能返回 null,表示取不到有效值。 # @type TraceID: String # @param Logs: 日志 @@ -1220,14 +1219,17 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type SpanID: String # @param StartTimeMillis: 产生时间戳(毫秒) # 注意:此字段可能返回 null,表示取不到有效值。 # @type StartTimeMillis: Integer + # @param ParentSpanID: Parent Span Id + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type ParentSpanID: String - attr_accessor :TraceID, :Logs, :Tags, :Process, :Timestamp, :OperationName, :References, :StartTime, :Duration, :SpanID, :StartTimeMillis + attr_accessor :TraceID, :Logs, :Tags, :Process, :Timestamp, :OperationName, :References, :StartTime, :Duration, :SpanID, :StartTimeMillis, :ParentSpanID - def initialize(traceid=nil, logs=nil, tags=nil, process=nil, timestamp=nil, operationname=nil, references=nil, starttime=nil, duration=nil, spanid=nil, starttimemillis=nil) + def initialize(traceid=nil, logs=nil, tags=nil, process=nil, timestamp=nil, operationname=nil, references=nil, starttime=nil, duration=nil, spanid=nil, starttimemillis=nil, parentspanid=nil) @TraceID = traceid @Logs = logs @Tags = tags @Process = process @Timestamp = timestamp @@ -1235,10 +1237,11 @@ @References = references @StartTime = starttime @Duration = duration @SpanID = spanid @StartTimeMillis = starttimemillis + @ParentSpanID = parentspanid end def deserialize(params) @TraceID = params['TraceID'] unless params['Logs'].nil? @@ -1273,9 +1276,10 @@ end @StartTime = params['StartTime'] @Duration = params['Duration'] @SpanID = params['SpanID'] @StartTimeMillis = params['StartTimeMillis'] + @ParentSpanID = params['ParentSpanID'] end end # Span日志部分