class documentation

class ConnectionState(Enum): (source)

View In Hierarchy

ConnectionState reports whether the tunnel has an agent behind it. Values are prefixed because a top-level enum puts them in the package scope.

Constant CONNECTION_STATE_CONNECTED At least one agent is connected.
Constant CONNECTION_STATE_DISCONNECTED No agent is connected. Nothing the tunnel exposes is reachable.
Constant CONNECTION_STATE_UNSPECIFIED Proto3 zero value. A read of the tunnel never returns it; a mutation records it, because it reports the tunnel that was written.

Inherited from Enum:

Class Method get_descriptor Return the protobuf EnumDescriptor for this enum.
Constant __PB2_DESCRIPTOR__ Alias for code that expects a protobuf descriptor.
Constant __PROTO_DESCRIPTOR__ Enum descriptor from the registry.
Constant __REGISTRY__ Registry for the enum and its descriptor.
Class Variable __PROTO_FULL_NAME__ Fully qualified protobuf enum name.
Class Method _missing_ Represent unknown open-enum numbers without losing their value.
CONNECTION_STATE_CONNECTED: ellipsis = (source)

At least one agent is connected.

Value
...
CONNECTION_STATE_DISCONNECTED: ellipsis = (source)

No agent is connected. Nothing the tunnel exposes is reachable.

Value
...
CONNECTION_STATE_UNSPECIFIED: ellipsis = (source)

Proto3 zero value. A read of the tunnel never returns it; a mutation records it, because it reports the tunnel that was written.

Value
...