Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::ReservationSubBlock (v3.0.0)

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

Represents a reservation subBlock 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 hosts that are allocated in this reservation subBlock.

#count=

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

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

#health_info

def health_info() -> ::Google::Cloud::Compute::V1::ReservationSubBlockHealthInfo
Returns

#health_info=

def health_info=(value) -> ::Google::Cloud::Compute::V1::ReservationSubBlockHealthInfo
Parameter
Returns

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

#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 subBlock.
Returns
  • (::Integer) — [Output Only] The number of instances that are currently in use on this reservation subBlock.

#kind

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

#kind=

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

#name

def name() -> ::String
Returns
  • (::String) — [Output Only] The name of this reservation subBlock 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 subBlock 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 subBlock 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::ReservationSubBlockPhysicalTopology
Returns

#physical_topology=

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

#reservation_sub_block_maintenance

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

#reservation_sub_block_maintenance=

def reservation_sub_block_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 subBlock. Check the Status enum for the list of possible values.

#status=

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

#zone

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

#zone=

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