Google Cloud Network Connectivity V1 Client - Class StateReason (1.4.2)

Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class StateReason.

The reason a spoke is inactive.

Generated from protobuf message google.cloud.networkconnectivity.v1.Spoke.StateReason

Namespace

Google \ Cloud \ NetworkConnectivity \ V1 \ Spoke

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ code int

The code associated with this reason.

↳ message string

Human-readable details about this reason.

↳ user_details string

Additional information provided by the user in the RejectSpoke call.

getCode

The code associated with this reason.

Returns
TypeDescription
int

setCode

The code associated with this reason.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMessage

Human-readable details about this reason.

Returns
TypeDescription
string

setMessage

Human-readable details about this reason.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUserDetails

Additional information provided by the user in the RejectSpoke call.

Returns
TypeDescription
string

setUserDetails

Additional information provided by the user in the RejectSpoke call.

Parameter
NameDescription
var string
Returns
TypeDescription
$this