class Google::Apis::NetworkmanagementV1beta1::Trace

Trace represents one simulated packet forwarding path. * Each trace contains multiple ordered steps. * Each step is in a particular state with associated configuration. * State is categorized as final or non-final states. * Each final state has a reason associated. * Each trace must end with a final state ( the last step). “` |———————Trace———————-| Step1( State) Step2(State) — StepN(State(final)) “`

Attributes

endpoint_info[RW]

For display only. The specification of the endpoints for the test. EndpointInfo is derived from source and destination Endpoint and validated by the backend data plane model. Corresponds to the JSON property `endpointInfo` @return [Google::Apis::NetworkmanagementV1beta1::EndpointInfo]

steps[RW]

A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted). The steps are ordered by the processing sequence within the simulated network state machine. It is critical to preserve the order of the steps and avoid reordering or sorting them. Corresponds to the JSON property `steps` @return [Array<Google::Apis::NetworkmanagementV1beta1::Step>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 1835
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 1840
def update!(**args)
  @endpoint_info = args[:endpoint_info] if args.key?(:endpoint_info)
  @steps = args[:steps] if args.key?(:steps)
end