Compute V1 Client - Class State (2.0.0)

Reference documentation and code samples for the Compute V1 Client class State.

[Output Only] State for the peering, either ACTIVE or INACTIVE. The peering is ACTIVE when there's a matching configuration in the peer network.

Protobuf type google.cloud.compute.v1.NetworkPeering.State

Namespace

Google \ Cloud \ Compute \ V1 \ NetworkPeering

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNDEFINED_STATE

Value: 0

A value indicating that the enum field is not set.

Generated from protobuf enum UNDEFINED_STATE = 0;

ACTIVE

Value: 314733318

Matching configuration exists on the peer.

Generated from protobuf enum ACTIVE = 314733318;

INACTIVE

Value: 270421099

There is no matching configuration on the peer, including the case when peer does not exist.

Generated from protobuf enum INACTIVE = 270421099;