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:



22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22138

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 = 62_368_553

    # Location is prohibited.
    DENY = 2_094_604

    # Default value, unused.
    PREFERENCE_UNSPECIFIED = 496_219_571
  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.



22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 22138

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 = 62_368_553

    # Location is prohibited.
    DENY = 2_094_604

    # Default value, unused.
    PREFERENCE_UNSPECIFIED = 496_219_571
  end
end