Google Cloud Network Management V1 Client - Class ReachabilityDetails (2.0.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
Name Description
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
Type Description
int

setResult

The overall result of the test's configuration analysis.

Parameter
Name Description
var int
Returns
Type Description
$this

getVerifyTime

The time of the configuration analysis.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasVerifyTime

clearVerifyTime

setVerifyTime

The time of the configuration analysis.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getError

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

Returns
Type Description
Google\Rpc\Status|null

hasError

clearError

setError

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

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$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
Type Description
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
Name Description
var array<Google\Cloud\NetworkManagement\V1\Trace>
Returns
Type Description
$this