LocationPolicyLocation(mapping=None, *, ignore_unknown_fields=False, **kwargs)
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
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.