Class: Google::Cloud::BackupDR::V1::AllocationAffinity
- Inherits:
-
Object
- Object
- Google::Cloud::BackupDR::V1::AllocationAffinity
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb
Overview
Specifies the reservations that this instance can consume from.
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#consume_allocation_type ⇒ ::Google::Cloud::BackupDR::V1::AllocationAffinity::Type
Optional.
-
#key ⇒ ::String
Optional.
-
#values ⇒ ::Array<::String>
Optional.
Instance Attribute Details
#consume_allocation_type ⇒ ::Google::Cloud::BackupDR::V1::AllocationAffinity::Type
Returns Optional. Specifies the type of reservation from which this instance can consume.
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 619 class AllocationAffinity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Indicates whether to consume from a reservation or not. module Type # Default value. This value is unused. TYPE_UNSPECIFIED = 0 # Do not consume from any allocated capacity. NO_RESERVATION = 1 # Consume any allocation available. ANY_RESERVATION = 2 # Must consume from a specific reservation. Must specify key value fields # for specifying the reservations. SPECIFIC_RESERVATION = 3 end end |
#key ⇒ ::String
Returns Optional. Corresponds to the label key of a reservation resource.
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 619 class AllocationAffinity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Indicates whether to consume from a reservation or not. module Type # Default value. This value is unused. TYPE_UNSPECIFIED = 0 # Do not consume from any allocated capacity. NO_RESERVATION = 1 # Consume any allocation available. ANY_RESERVATION = 2 # Must consume from a specific reservation. Must specify key value fields # for specifying the reservations. SPECIFIC_RESERVATION = 3 end end |
#values ⇒ ::Array<::String>
Returns Optional. Corresponds to the label values of a reservation resource.
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb', line 619 class AllocationAffinity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Indicates whether to consume from a reservation or not. module Type # Default value. This value is unused. TYPE_UNSPECIFIED = 0 # Do not consume from any allocated capacity. NO_RESERVATION = 1 # Consume any allocation available. ANY_RESERVATION = 2 # Must consume from a specific reservation. Must specify key value fields # for specifying the reservations. SPECIFIC_RESERVATION = 3 end end |