Compute V1 Client - Class ConnectionPreference (2.0.0)

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

The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules.

Protobuf type google.cloud.compute.v1.ServiceAttachment.ConnectionPreference

Namespace

Google \ Cloud \ Compute \ V1 \ ServiceAttachment

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNDEFINED_CONNECTION_PREFERENCE

Value: 0

A value indicating that the enum field is not set.

Generated from protobuf enum UNDEFINED_CONNECTION_PREFERENCE = 0;

ACCEPT_AUTOMATIC

Value: 75250580

Generated from protobuf enum ACCEPT_AUTOMATIC = 75250580;

ACCEPT_MANUAL

Value: 373061341

Generated from protobuf enum ACCEPT_MANUAL = 373061341;

CONNECTION_PREFERENCE_UNSPECIFIED

Value: 34590772

Generated from protobuf enum CONNECTION_PREFERENCE_UNSPECIFIED = 34590772;