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

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

The Code enum represents the various reasons a state can be INACTIVE.

Protobuf type google.cloud.networkconnectivity.v1.Spoke.StateReason.Code

Namespace

Google \ Cloud \ NetworkConnectivity \ V1 \ Spoke \ StateReason

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

CODE_UNSPECIFIED

Value: 0

No information available.

Generated from protobuf enum CODE_UNSPECIFIED = 0;

PENDING_REVIEW

Value: 1

The proposed spoke is pending review.

Generated from protobuf enum PENDING_REVIEW = 1;

REJECTED

Value: 2

The proposed spoke has been rejected by the hub administrator.

Generated from protobuf enum REJECTED = 2;

PAUSED

Value: 3

The spoke has been deactivated internally.

Generated from protobuf enum PAUSED = 3;

FAILED

Value: 4

Network Connectivity Center encountered errors while accepting the spoke.

Generated from protobuf enum FAILED = 4;