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: ALLOW or DENY. Check the Preference enum for the list of possible values.

Returns:

  • (::String)

    Preference for a given location: ALLOW or DENY. Check the Preference enum for the list of possible values.



15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15083

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

  # Preference for a given location: ALLOW or DENY.
  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