Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::LocationPolicyLocation (v2.0.0)

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

#constraints=

def constraints=(value) -> ::Google::Cloud::Compute::V1::LocationPolicyLocationConstraints
Parameter
Returns

#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.