Class: Google::Cloud::Compute::V1::LocationPolicyLocation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Defined Under Namespace

Modules: Preference

Instance Attribute Summary collapse

Instance Attribute Details

#preference::String

Returns Preference for a given location. Check the Preference enum for the list of possible values.

Returns:

  • (::String)

    Preference for a given location. Check the Preference enum for the list of possible values.



15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15586

class LocationPolicyLocation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Preference for a given location.
  module Preference
    # A value indicating that the enum field is not set.
    UNDEFINED_PREFERENCE = 0

    # Location is allowed for use.
    ALLOW = 62368553

    # Location is prohibited.
    DENY = 2094604

    # Default value, unused.
    PREFERENCE_UNSPECIFIED = 496219571
  end
end