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: Status Classes: ResourcePoliciesEntry

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns Reservation for aggregated resources, providing shape flexibility.

Returns:



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.

Returns:

  • (::String)

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



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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] Creation timestamp in RFC3339 text format.

Returns:

  • (::String)

    [Output Only] Creation timestamp in RFC3339 text format.



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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.



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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] The unique identifier for the resource. This identifier is defined by the server.

Returns:

  • (::Integer)

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



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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] Type of the resource. Always compute#reservations for reservations.

Returns:

  • (::String)

    [Output Only] Type of the resource. Always compute#reservations for reservations.



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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 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.

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 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.



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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.



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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] Status information for Reservation resource.

Returns:



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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] Reserved for future use.

Returns:

  • (::Boolean)

    [Output Only] Reserved for future use.



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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] Server-defined fully-qualified URL for this resource.

Returns:

  • (::String)

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



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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.



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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:



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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.



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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] 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] 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.



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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.



26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26245

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

  # [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