Reference documentation and code samples for the Compute V1 Client class Preference.
Preference for a given location. Set to either ALLOW or DENY.
Protobuf type google.cloud.compute.v1.LocationPolicyLocation.Preference
Namespace
Google \ Cloud \ Compute \ V1 \ LocationPolicyLocationMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNDEFINED_PREFERENCE
Value: 0
A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_PREFERENCE = 0;
ALLOW
Value: 62368553
Location is allowed for use.
Generated from protobuf enum ALLOW = 62368553;
DENY
Value: 2094604
Location is prohibited.
Generated from protobuf enum DENY = 2094604;
PREFERENCE_UNSPECIFIED
Value: 496219571
Default value, unused.
Generated from protobuf enum PREFERENCE_UNSPECIFIED = 496219571;