Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::LocationPolicyLocation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#constraints
def constraints() -> ::Google::Cloud::Compute::V1::LocationPolicyLocationConstraints
Returns
- (::Google::Cloud::Compute::V1::LocationPolicyLocationConstraints) — Constraints that the caller requires on the result distribution in this zone.
#constraints=
def constraints=(value) -> ::Google::Cloud::Compute::V1::LocationPolicyLocationConstraints
Parameter
- value (::Google::Cloud::Compute::V1::LocationPolicyLocationConstraints) — Constraints that the caller requires on the result distribution in this zone.
Returns
- (::Google::Cloud::Compute::V1::LocationPolicyLocationConstraints) — Constraints that the caller requires on the result distribution in this zone.
#preference
def preference() -> ::String
Returns
- (::String) — Preference for a given location. Set to either ALLOW or DENY. Check the Preference enum for the list of possible values.
#preference=
def preference=(value) -> ::String
Parameter
- value (::String) — Preference for a given location. Set to either ALLOW or DENY. Check the Preference enum for the list of possible values.
Returns
- (::String) — Preference for a given location. Set to either ALLOW or DENY. Check the Preference enum for the list of possible values.