Class: Google::Cloud::Compute::V1::Reservation
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::Reservation
- 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: Status
Instance Attribute Summary collapse
-
#commitment ⇒ ::String
[Output Only] Full or partial URL to a parent commitment.
-
#creation_timestamp ⇒ ::String
[Output Only] Creation timestamp in RFC3339 text format.
-
#description ⇒ ::String
An optional description of this resource.
-
#id ⇒ ::Integer
[Output Only] The unique identifier for the resource.
-
#kind ⇒ ::String
[Output Only] Type of the resource.
-
#name ⇒ ::String
The name of the resource, provided by the client when initially creating the resource.
-
#satisfies_pzs ⇒ ::Boolean
[Output Only] Reserved for future use.
-
#self_link ⇒ ::String
[Output Only] Server-defined fully-qualified URL for this resource.
-
#share_settings ⇒ ::Google::Cloud::Compute::V1::ShareSettings
Share-settings for shared-reservation.
-
#specific_reservation ⇒ ::Google::Cloud::Compute::V1::AllocationSpecificSKUReservation
Reservation for instances with specific machine shapes.
-
#specific_reservation_required ⇒ ::Boolean
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation.
-
#status ⇒ ::String
[Output Only] The status of the reservation.
-
#zone ⇒ ::String
Zone in which the reservation resides.
Instance Attribute Details
#commitment ⇒ ::String
Returns [Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21906 class Reservation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Output Only] The status of the reservation. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # Resources are being allocated for the reservation. CREATING = 455564985 # Reservation is currently being deleted. DELETING = 528602024 INVALID = 530283991 # Reservation has allocated all its resources. READY = 77848963 # Reservation is currently being resized. UPDATING = 494614342 end end |
#creation_timestamp ⇒ ::String
Returns [Output Only] Creation timestamp in RFC3339 text format.
21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21906 class Reservation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Output Only] The status of the reservation. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # Resources are being allocated for the reservation. CREATING = 455564985 # Reservation is currently being deleted. DELETING = 528602024 INVALID = 530283991 # Reservation has allocated all its resources. READY = 77848963 # Reservation is currently being resized. UPDATING = 494614342 end end |
#description ⇒ ::String
Returns An optional description of this resource. Provide this property when you create the resource.
21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21906 class Reservation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Output Only] The status of the reservation. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # Resources are being allocated for the reservation. CREATING = 455564985 # Reservation is currently being deleted. DELETING = 528602024 INVALID = 530283991 # Reservation has allocated all its resources. READY = 77848963 # Reservation is currently being resized. UPDATING = 494614342 end end |
#id ⇒ ::Integer
Returns [Output Only] The unique identifier for the resource. This identifier is defined by the server.
21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21906 class Reservation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Output Only] The status of the reservation. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # Resources are being allocated for the reservation. CREATING = 455564985 # Reservation is currently being deleted. DELETING = 528602024 INVALID = 530283991 # Reservation has allocated all its resources. READY = 77848963 # Reservation is currently being resized. UPDATING = 494614342 end end |
#kind ⇒ ::String
Returns [Output Only] Type of the resource. Always compute#reservations for reservations.
21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21906 class Reservation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Output Only] The status of the reservation. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # Resources are being allocated for the reservation. CREATING = 455564985 # Reservation is currently being deleted. DELETING = 528602024 INVALID = 530283991 # Reservation has allocated all its resources. READY = 77848963 # Reservation is currently being resized. UPDATING = 494614342 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 with RFC1035. 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.
21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21906 class Reservation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Output Only] The status of the reservation. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # Resources are being allocated for the reservation. CREATING = 455564985 # Reservation is currently being deleted. DELETING = 528602024 INVALID = 530283991 # Reservation has allocated all its resources. READY = 77848963 # Reservation is currently being resized. UPDATING = 494614342 end end |
#satisfies_pzs ⇒ ::Boolean
Returns [Output Only] Reserved for future use.
21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21906 class Reservation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Output Only] The status of the reservation. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # Resources are being allocated for the reservation. CREATING = 455564985 # Reservation is currently being deleted. DELETING = 528602024 INVALID = 530283991 # Reservation has allocated all its resources. READY = 77848963 # Reservation is currently being resized. UPDATING = 494614342 end end |
#self_link ⇒ ::String
Returns [Output Only] Server-defined fully-qualified URL for this resource.
21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21906 class Reservation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Output Only] The status of the reservation. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # Resources are being allocated for the reservation. CREATING = 455564985 # Reservation is currently being deleted. DELETING = 528602024 INVALID = 530283991 # Reservation has allocated all its resources. READY = 77848963 # Reservation is currently being resized. UPDATING = 494614342 end end |
#share_settings ⇒ ::Google::Cloud::Compute::V1::ShareSettings
Returns Share-settings for shared-reservation.
21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21906 class Reservation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Output Only] The status of the reservation. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # Resources are being allocated for the reservation. CREATING = 455564985 # Reservation is currently being deleted. DELETING = 528602024 INVALID = 530283991 # Reservation has allocated all its resources. READY = 77848963 # Reservation is currently being resized. UPDATING = 494614342 end end |
#specific_reservation ⇒ ::Google::Cloud::Compute::V1::AllocationSpecificSKUReservation
Returns Reservation for instances with specific machine shapes.
21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21906 class Reservation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Output Only] The status of the reservation. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # Resources are being allocated for the reservation. CREATING = 455564985 # Reservation is currently being deleted. DELETING = 528602024 INVALID = 530283991 # Reservation has allocated all its resources. READY = 77848963 # Reservation is currently being resized. UPDATING = 494614342 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.
21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21906 class Reservation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Output Only] The status of the reservation. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # Resources are being allocated for the reservation. CREATING = 455564985 # Reservation is currently being deleted. DELETING = 528602024 INVALID = 530283991 # Reservation has allocated all its resources. READY = 77848963 # Reservation is currently being resized. UPDATING = 494614342 end end |
#status ⇒ ::String
Returns [Output Only] The status of the reservation. Check the Status enum for the list of possible values.
21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21906 class Reservation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Output Only] The status of the reservation. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # Resources are being allocated for the reservation. CREATING = 455564985 # Reservation is currently being deleted. DELETING = 528602024 INVALID = 530283991 # Reservation has allocated all its resources. READY = 77848963 # Reservation is currently being resized. UPDATING = 494614342 end end |
#zone ⇒ ::String
Returns Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 21906 class Reservation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # [Output Only] The status of the reservation. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # Resources are being allocated for the reservation. CREATING = 455564985 # Reservation is currently being deleted. DELETING = 528602024 INVALID = 530283991 # Reservation has allocated all its resources. READY = 77848963 # Reservation is currently being resized. UPDATING = 494614342 end end |