Google Cloud Network Management V1 Client - Class ReachabilityDetails (1.3.0)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class ReachabilityDetails.

Results of the configuration analysis from the last run of the test.

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

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ result int

The overall result of the test's configuration analysis.

↳ verify_time Google\Protobuf\Timestamp

The time of the configuration analysis.

↳ error Google\Rpc\Status

The details of a failure or a cancellation of reachability analysis.

↳ traces array<Google\Cloud\NetworkManagement\V1\Trace>

Result may contain a list of traces if a test has multiple possible paths in the network, such as when destination endpoint is a load balancer with multiple backends.

getResult

The overall result of the test's configuration analysis.

Returns
TypeDescription
int

setResult

The overall result of the test's configuration analysis.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getVerifyTime

The time of the configuration analysis.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasVerifyTime

clearVerifyTime

setVerifyTime

The time of the configuration analysis.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getError

The details of a failure or a cancellation of reachability analysis.

Returns
TypeDescription
Google\Rpc\Status|null

hasError

clearError

setError

The details of a failure or a cancellation of reachability analysis.

Parameter
NameDescription
var Google\Rpc\Status
Returns
TypeDescription
$this

getTraces

Result may contain a list of traces if a test has multiple possible paths in the network, such as when destination endpoint is a load balancer with multiple backends.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTraces

Result may contain a list of traces if a test has multiple possible paths in the network, such as when destination endpoint is a load balancer with multiple backends.

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