Class: Google::Cloud::Compute::V1::ReservationAffinity

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#consume_reservation_type::String



29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
29603
29604
29605
29606
29607
29608
29609
29610
29611
29612
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 29592

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 = 200_008_121

    # Do not consume from any allocated capacity.
    NO_RESERVATION = 169_322_030

    # Must consume from a specific reservation. Must specify key value fields for specifying the reservations.
    SPECIFIC_RESERVATION = 229_889_055

    UNSPECIFIED = 526_786_327
  end
end

#key::String



29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
29603
29604
29605
29606
29607
29608
29609
29610
29611
29612
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 29592

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 = 200_008_121

    # Do not consume from any allocated capacity.
    NO_RESERVATION = 169_322_030

    # Must consume from a specific reservation. Must specify key value fields for specifying the reservations.
    SPECIFIC_RESERVATION = 229_889_055

    UNSPECIFIED = 526_786_327
  end
end

#values::Array<::String>



29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
29603
29604
29605
29606
29607
29608
29609
29610
29611
29612
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 29592

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 = 200_008_121

    # Do not consume from any allocated capacity.
    NO_RESERVATION = 169_322_030

    # Must consume from a specific reservation. Must specify key value fields for specifying the reservations.
    SPECIFIC_RESERVATION = 229_889_055

    UNSPECIFIED = 526_786_327
  end
end