Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::ReservationBlock (v2.22.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::ReservationBlock.

Represents a reservation block resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#count

def count() -> ::Integer
Returns
  • (::Integer) — [Output Only] The number of resources that are allocated in this reservation block.

#count=

def count=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] The number of resources that are allocated in this reservation block.
Returns
  • (::Integer) — [Output Only] The number of resources that are allocated in this reservation block.

#creation_timestamp

def creation_timestamp() -> ::String
Returns
  • (::String) — [Output Only] Creation timestamp in RFC3339 text format.

#creation_timestamp=

def creation_timestamp=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Creation timestamp in RFC3339 text format.
Returns
  • (::String) — [Output Only] Creation timestamp in RFC3339 text format.

#id

def id() -> ::Integer
Returns
  • (::Integer) — [Output Only] The unique identifier for the resource. This identifier is defined by the server.

#id=

def id=(value) -> ::Integer
Parameter
  • value (::Integer) — [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.

#in_use_count

def in_use_count() -> ::Integer
Returns
  • (::Integer) — [Output Only] The number of instances that are currently in use on this reservation block.

#in_use_count=

def in_use_count=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] The number of instances that are currently in use on this reservation block.
Returns
  • (::Integer) — [Output Only] The number of instances that are currently in use on this reservation block.

#kind

def kind() -> ::String
Returns
  • (::String) — [Output Only] Type of the resource. Always compute#reservationBlock for reservation blocks.

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Type of the resource. Always compute#reservationBlock for reservation blocks.
Returns
  • (::String) — [Output Only] Type of the resource. Always compute#reservationBlock for reservation blocks.

#name

def name() -> ::String
Returns
  • (::String) — [Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern a-z?

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern a-z?
Returns
  • (::String) — [Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern a-z?

#physical_topology

def physical_topology() -> ::Google::Cloud::Compute::V1::ReservationBlockPhysicalTopology
Returns

#physical_topology=

def physical_topology=(value) -> ::Google::Cloud::Compute::V1::ReservationBlockPhysicalTopology
Parameter
Returns

#reservation_maintenance

def reservation_maintenance() -> ::Google::Cloud::Compute::V1::GroupMaintenanceInfo
Returns

#reservation_maintenance=

def reservation_maintenance=(value) -> ::Google::Cloud::Compute::V1::GroupMaintenanceInfo
Parameter
Returns
def self_link() -> ::String
Returns
  • (::String) — [Output Only] Server-defined fully-qualified URL for this resource.
def self_link=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Server-defined fully-qualified URL for this resource.
Returns
  • (::String) — [Output Only] Server-defined fully-qualified URL for this resource.
def self_link_with_id() -> ::String
Returns
  • (::String) — [Output Only] Server-defined URL for this resource with the resource id.
def self_link_with_id=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Server-defined URL for this resource with the resource id.
Returns
  • (::String) — [Output Only] Server-defined URL for this resource with the resource id.

#status

def status() -> ::String
Returns
  • (::String) — [Output Only] Status of the reservation block. Check the Status enum for the list of possible values.

#status=

def status=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Status of the reservation block. Check the Status enum for the list of possible values.
Returns
  • (::String) — [Output Only] Status of the reservation block. Check the Status enum for the list of possible values.

#zone

def zone() -> ::String
Returns
  • (::String) — [Output Only] Zone in which the reservation block resides.

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Zone in which the reservation block resides.
Returns
  • (::String) — [Output Only] Zone in which the reservation block resides.