Enum NetworkPeering.UpdateStrategy (1.82.0)

public enum NetworkPeering.UpdateStrategy extends Enum<NetworkPeering.UpdateStrategy> implements ProtocolMessageEnum

The update strategy determines the semantics for updates and deletes to the peering connection configuration.

Protobuf enum google.cloud.compute.v1.NetworkPeering.UpdateStrategy

Implements

ProtocolMessageEnum

Static Fields

Name Description
CONSENSUS

Updates are reflected in the local peering but aren't applied to the peering connection until a complementary change is made to the matching peering. To delete a peering with the consensus update strategy, both the peerings must request the deletion of the peering before the peering can be deleted.

CONSENSUS = 203373655;

CONSENSUS_VALUE

Updates are reflected in the local peering but aren't applied to the peering connection until a complementary change is made to the matching peering. To delete a peering with the consensus update strategy, both the peerings must request the deletion of the peering before the peering can be deleted.

CONSENSUS = 203373655;

INDEPENDENT

In this mode, changes to the peering configuration can be unilaterally altered by changing either side of the peering. This is the default value if the field is unspecified.

INDEPENDENT = 127011674;

INDEPENDENT_VALUE

In this mode, changes to the peering configuration can be unilaterally altered by changing either side of the peering. This is the default value if the field is unspecified.

INDEPENDENT = 127011674;

UNDEFINED_UPDATE_STRATEGY

A value indicating that the enum field is not set.

UNDEFINED_UPDATE_STRATEGY = 0;

UNDEFINED_UPDATE_STRATEGY_VALUE

A value indicating that the enum field is not set.

UNDEFINED_UPDATE_STRATEGY = 0;

UNRECOGNIZED
UNSPECIFIED

Peerings with update strategy UNSPECIFIED are created with update strategy INDEPENDENT.

UNSPECIFIED = 526786327;

UNSPECIFIED_VALUE

Peerings with update strategy UNSPECIFIED are created with update strategy INDEPENDENT.

UNSPECIFIED = 526786327;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()