Class: Google::Cloud::Compute::V1::ReservationAffinity
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::ReservationAffinity
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
Specifies the reservations that this instance can consume from.
Defined Under Namespace
Modules: ConsumeReservationType
Instance Attribute Summary collapse
-
#consume_reservation_type ⇒ ::String
Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION.
-
#key ⇒ ::String
Corresponds to the label key of a reservation resource.
-
#values ⇒ ::Array<::String>
Corresponds to the label values of a reservation resource.
Instance Attribute Details
#consume_reservation_type ⇒ ::String
20388 20389 20390 20391 20392 20393 20394 20395 20396 20397 20398 20399 20400 20401 20402 20403 20404 20405 20406 20407 20408 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 20388 class ReservationAffinity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. module ConsumeReservationType # A value indicating that the enum field is not set. UNDEFINED_CONSUME_RESERVATION_TYPE = 0 # Consume any allocation available. ANY_RESERVATION = 200008121 # Do not consume from any allocated capacity. NO_RESERVATION = 169322030 # Must consume from a specific reservation. Must specify key value fields for specifying the reservations. SPECIFIC_RESERVATION = 229889055 UNSPECIFIED = 526786327 end end |
#key ⇒ ::String
20388 20389 20390 20391 20392 20393 20394 20395 20396 20397 20398 20399 20400 20401 20402 20403 20404 20405 20406 20407 20408 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 20388 class ReservationAffinity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. module ConsumeReservationType # A value indicating that the enum field is not set. UNDEFINED_CONSUME_RESERVATION_TYPE = 0 # Consume any allocation available. ANY_RESERVATION = 200008121 # Do not consume from any allocated capacity. NO_RESERVATION = 169322030 # Must consume from a specific reservation. Must specify key value fields for specifying the reservations. SPECIFIC_RESERVATION = 229889055 UNSPECIFIED = 526786327 end end |
#values ⇒ ::Array<::String>
20388 20389 20390 20391 20392 20393 20394 20395 20396 20397 20398 20399 20400 20401 20402 20403 20404 20405 20406 20407 20408 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 20388 class ReservationAffinity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. module ConsumeReservationType # A value indicating that the enum field is not set. UNDEFINED_CONSUME_RESERVATION_TYPE = 0 # Consume any allocation available. ANY_RESERVATION = 200008121 # Do not consume from any allocated capacity. NO_RESERVATION = 169322030 # Must consume from a specific reservation. Must specify key value fields for specifying the reservations. SPECIFIC_RESERVATION = 229889055 UNSPECIFIED = 526786327 end end |