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

#constraints::Google::Cloud::Compute::V1::LocationPolicyLocationConstraints

Returns Constraints that the caller requires on the result distribution in this zone.

Returns:



16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16682

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

  # Preference for a given location. Set to either 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

#preference::String

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



16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16682

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

  # Preference for a given location. Set to either 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