Google Cloud Network Management V1 Client - Class Trace (1.4.2)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class 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). php |---------------------Trace----------------------| Step1(State) Step2(State) --- StepN(State(final))

Generated from protobuf message google.cloud.networkmanagement.v1.Trace

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ endpoint_info Google\Cloud\NetworkManagement\V1\EndpointInfo

Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. If there are multiple traces starting from different source locations, then the endpoint_info may be different between traces.

↳ steps array<Google\Cloud\NetworkManagement\V1\Step>

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.

getEndpointInfo

Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.

If there are multiple traces starting from different source locations, then the endpoint_info may be different between traces.

Returns
TypeDescription
Google\Cloud\NetworkManagement\V1\EndpointInfo|null

hasEndpointInfo

clearEndpointInfo

setEndpointInfo

Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model.

If there are multiple traces starting from different source locations, then the endpoint_info may be different between traces.

Parameter
NameDescription
var Google\Cloud\NetworkManagement\V1\EndpointInfo
Returns
TypeDescription
$this

getSteps

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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSteps

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.

Parameter
NameDescription
var array<Google\Cloud\NetworkManagement\V1\Step>
Returns
TypeDescription
$this