Class: Google::Cloud::Compute::V1::Reservation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources.

Defined Under Namespace

Modules: ConfidentialComputeType, DeploymentType, EarlyAccessMaintenance, ProtectionTier, SchedulingType, Status Classes: ResourcePoliciesEntry

Instance Attribute Summary collapse

Instance Attribute Details

#advanced_deployment_control ⇒ ::Google::Cloud::Compute::V1::ReservationAdvancedDeploymentControl

Returns Advanced control for cluster management, applicable only to DENSE deployment type reservations.

Returns:



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#aggregate_reservation ⇒ ::Google::Cloud::Compute::V1::AllocationAggregateReservation

Returns Reservation for aggregated resources, providing shape flexibility.

Returns:



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#commitment ⇒ ::String

Returns Output only. [Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.

Returns:

  • (::String) —

    Output only. [Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#confidential_compute_type ⇒ ::String

Returns Check the ConfidentialComputeType enum for the list of possible values.

Returns:

  • (::String) —

    Check the ConfidentialComputeType enum for the list of possible values.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#creation_timestamp ⇒ ::String

Returns Output only. [Output Only] Creation timestamp inRFC3339 text format.

Returns:

  • (::String) —

    Output only. [Output Only] Creation timestamp inRFC3339 text format.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#delete_after_duration ⇒ ::Google::Cloud::Compute::V1::Duration

Returns Duration time relative to reservation creation when Compute Engine will automatically delete this resource.

Returns:



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#delete_at_time ⇒ ::String

Returns Absolute time in future when the reservation will be auto-deleted by Compute Engine. Timestamp is represented inRFC3339 text format.

Returns:

  • (::String) —

    Absolute time in future when the reservation will be auto-deleted by Compute Engine. Timestamp is represented inRFC3339 text format.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#deployment_type ⇒ ::String

Returns Specifies the deployment strategy for this reservation. Check the DeploymentType enum for the list of possible values.

Returns:

  • (::String) —

    Specifies the deployment strategy for this reservation. Check the DeploymentType enum for the list of possible values.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#description ⇒ ::String

Returns An optional description of this resource. Provide this property when you create the resource.

Returns:

  • (::String) —

    An optional description of this resource. Provide this property when you create the resource.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#early_access_maintenance ⇒ ::String

Returns Indicates the early access maintenance for the reservation. If this field is absent or set to NO_EARLY_ACCESS, the reservation is not enrolled in early access maintenance and the standard notice applies. Check the EarlyAccessMaintenance enum for the list of possible values.

Returns:

  • (::String) —

    Indicates the early access maintenance for the reservation. If this field is absent or set to NO_EARLY_ACCESS, the reservation is not enrolled in early access maintenance and the standard notice applies. Check the EarlyAccessMaintenance enum for the list of possible values.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#enable_emergent_maintenance ⇒ ::Boolean

Returns Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors.

Returns:

  • (::Boolean) —

    Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#id ⇒ ::Integer

Returns Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.

Returns:

  • (::Integer) —

    Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#kind ⇒ ::String

Returns Output only. [Output Only] Type of the resource. Alwayscompute#reservations for reservations.

Returns:

  • (::String) —

    Output only. [Output Only] Type of the resource. Alwayscompute#reservations for reservations.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#linked_commitments ⇒ ::Array<::String>

Returns Output only. [Output Only] Full or partial URL to parent commitments. This field displays for reservations that are tied to multiple commitments.

Returns:

  • (::Array<::String>) —

    Output only. [Output Only] Full or partial URL to parent commitments. This field displays for reservations that are tied to multiple commitments.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#name ⇒ ::String

Returns The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Returns:

  • (::String) —

    The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#params ⇒ ::Google::Cloud::Compute::V1::ReservationParams

Returns Input only. Additional params passed with the request, but not persisted as part of resource payload.

Returns:



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#protection_tier ⇒ ::String

Returns Protection tier for the workload which specifies the workload expectations in the event of infrastructure failures at data center (e.g. power and/or cooling failures). Check the ProtectionTier enum for the list of possible values.

Returns:

  • (::String) —

    Protection tier for the workload which specifies the workload expectations in the event of infrastructure failures at data center (e.g. power and/or cooling failures). Check the ProtectionTier enum for the list of possible values.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#reservation_sharing_policy ⇒ ::Google::Cloud::Compute::V1::AllocationReservationSharingPolicy

Returns Specify the reservation sharing policy. If unspecified, the reservation will not be shared with Google Cloud managed services.

Returns:



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#resource_metadata ⇒ ::Google::Cloud::Compute::V1::ResourceMetadata

Returns Output only. [Output Only] Contains standard resource metadata for an Allocation resource. It is populated for each instance of the Allocation resource, and includes the api_version the instance was retrieved through, and its canonical resource_type name.

Returns:

  • (::Google::Cloud::Compute::V1::ResourceMetadata) —

    Output only. [Output Only] Contains standard resource metadata for an Allocation resource. It is populated for each instance of the Allocation resource, and includes the api_version the instance was retrieved through, and its canonical resource_type name.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#resource_policies ⇒ ::Google::Protobuf::Map{::String => ::String}

Returns Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.

Returns:

  • (::Google::Protobuf::Map{::String => ::String}) —

    Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#resource_status ⇒ ::Google::Cloud::Compute::V1::AllocationResourceStatus

Returns Output only. [Output Only] Status information for Reservation resource.

Returns:



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#satisfies_pzs ⇒ ::Boolean

Returns Output only. [Output Only] Reserved for future use.

Returns:

  • (::Boolean) —

    Output only. [Output Only] Reserved for future use.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#scheduling_type ⇒ ::String

Returns The type of maintenance for the reservation. Check the SchedulingType enum for the list of possible values.

Returns:

  • (::String) —

    The type of maintenance for the reservation. Check the SchedulingType enum for the list of possible values.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

Returns Output only. [Output Only] Server-defined fully-qualified URL for this resource.

Returns:

  • (::String) —

    Output only. [Output Only] Server-defined fully-qualified URL for this resource.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#share_settings ⇒ ::Google::Cloud::Compute::V1::ShareSettings

Returns Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.

Returns:

  • (::Google::Cloud::Compute::V1::ShareSettings) —

    Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#specific_reservation ⇒ ::Google::Cloud::Compute::V1::AllocationSpecificSKUReservation

Returns Reservation for instances with specific machine shapes.

Returns:



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#specific_reservation_required ⇒ ::Boolean

Returns Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation.

Returns:

  • (::Boolean) —

    Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#status ⇒ ::String

Returns Output only. [Output Only] The status of the reservation.

 - CREATING: Reservation resources are being
   allocated.
 - READY: Reservation resources have been allocated,
   and the reservation is ready for use.
 - DELETING: Reservation deletion is in progress.
 - UPDATING: Reservation update is in progress.

Check the Status enum for the list of possible values.

Returns:

  • (::String) —

    Output only. [Output Only] The status of the reservation.

     - CREATING: Reservation resources are being
       allocated.
     - READY: Reservation resources have been allocated,
       and the reservation is ready for use.
     - DELETING: Reservation deletion is in progress.
     - UPDATING: Reservation update is in progress.
    

    Check the Status enum for the list of possible values.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end

#zone ⇒ ::String

Returns Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.

Returns:

  • (::String) —

    Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.



67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 67479

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ResourcePoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module ConfidentialComputeType
    # A value indicating that the enum field is not set.
    UNDEFINED_CONFIDENTIAL_COMPUTE_TYPE = 0

    # Bare Metal Secure AI.
    CONFIDENTIAL_COMPUTE_TYPE_BMSAI = 103_738_250

    # Intel Trust Domain Extensions.
    CONFIDENTIAL_COMPUTE_TYPE_TDX = 301_241_954

    CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED = 42_227_601
  end

  # Specifies the deployment strategy for this reservation.
  module DeploymentType
    # A value indicating that the enum field is not set.
    UNDEFINED_DEPLOYMENT_TYPE = 0

    # The reserved capacity is made up of densely deployed reservation blocks.
    DENSE = 64_932_607

    DEPLOYMENT_TYPE_UNSPECIFIED = 234_847_180
  end

  # Indicates the early access maintenance for the reservation.
  # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
  # enrolled in early access maintenance and the standard notice applies.
  module EarlyAccessMaintenance
    # A value indicating that the enum field is not set.
    UNDEFINED_EARLY_ACCESS_MAINTENANCE = 0

    # No early access.
    NO_EARLY_ACCESS = 220_751_774

    # Wave 1: Fastest notification period
    WAVE1 = 82_367_576

    # Wave 2: Medium notification period
    WAVE2 = 82_367_577
  end

  # Protection tier for the workload which specifies the workload expectations
  # in the event of infrastructure failures at data center (e.g. power
  # and/or cooling failures).
  module ProtectionTier
    # A value indicating that the enum field is not set.
    UNDEFINED_PROTECTION_TIER = 0

    # CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling)
    # at the data center during normal operating conditions. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload may be disrupted. As a consequence, it has a
    # weaker availability SLO than STANDARD.
    CAPACITY_OPTIMIZED = 17_430_466

    # Unspecified protection tier.
    PROTECTION_TIER_UNSPECIFIED = 262_261_984

    # STANDARD protection for workload that should be protected by redundancies
    # (e.g. power, cooling) at the data center level. In the event of
    # infrastructure failures at data center (e.g. power and/or cooling
    # failures), this workload is expected to continue as normal using the
    # redundancies.
    STANDARD = 484_642_493
  end

  # The type of maintenance for the reservation.
  module SchedulingType
    # A value indicating that the enum field is not set.
    UNDEFINED_SCHEDULING_TYPE = 0

    # Maintenance on all reserved instances in the reservation is synchronized.
    GROUPED = 474_540_862

    # Unknown maintenance type.
    GROUP_MAINTENANCE_TYPE_UNSPECIFIED = 447_183_678

    # Maintenance is not synchronized for this reservation. Instead, each
    # instance has its own maintenance window.
    INDEPENDENT = 127_011_674
  end

  # Output only. [Output Only] The status of the reservation.
  #
  #
  #      - CREATING: Reservation resources are being
  #        allocated.
  #      - READY: Reservation resources have been allocated,
  #        and the reservation is ready for use.
  #      - DELETING: Reservation deletion is in progress.
  #      - UPDATING: Reservation update is in progress.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Reservation resources are being allocated.
    CREATING = 455_564_985

    # Reservation deletion is in progress.
    DELETING = 528_602_024

    INVALID = 530_283_991

    # Reservation resources have been allocated, and the reservation is ready
    # for use.
    READY = 77_848_963

    # Reservation update is in progress.
    UPDATING = 494_614_342
  end
end