Class LocationPolicyLocation (1.14.1)

LocationPolicyLocation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

NameDescription
constraints google.cloud.compute_v1.types.LocationPolicyLocationConstraints
Constraints that the caller requires on the result distribution in this zone. This field is a member of oneof_ _constraints.
preference str
Preference for a given location. Set to either ALLOW or DENY. Check the Preference enum for the list of possible values. This field is a member of oneof_ _preference.

Classes

Preference

Preference(value)

Preference for a given location. Set to either ALLOW or DENY.

Values: UNDEFINED_PREFERENCE (0): A value indicating that the enum field is not set. ALLOW (62368553): Location is allowed for use. DENY (2094604): Location is prohibited. PREFERENCE_UNSPECIFIED (496219571): Default value, unused.