Google Cloud Network Connectivity V1 Client - Class State (2.2.0)

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

The state of the PSC connection.

We reserve the right to add more states without notice in the future. Users should not use exhaustive switch statements on this enum. See https://google.aip.dev/216.

Protobuf type google.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection.State

Namespace

Google \ Cloud \ NetworkConnectivity \ V1 \ ServiceConnectionMap \ ConsumerPscConnection

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

An invalid state as the default case.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

ACTIVE

Value: 1

The connection has been created successfully. However, for the up-to-date connection status, please use the service attachment's "ConnectedEndpoint.status" as the source of truth.

Generated from protobuf enum ACTIVE = 1;

FAILED

Value: 2

The connection is not functional since some resources on the connection fail to be created.

Generated from protobuf enum FAILED = 2;

CREATING

Value: 3

The connection is being created.

Generated from protobuf enum CREATING = 3;

DELETING

Value: 4

The connection is being deleted.

Generated from protobuf enum DELETING = 4;

CREATE_REPAIRING

Value: 5

The connection is being repaired to complete creation.

Generated from protobuf enum CREATE_REPAIRING = 5;

DELETE_REPAIRING

Value: 6

The connection is being repaired to complete deletion.

Generated from protobuf enum DELETE_REPAIRING = 6;