Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::ReservationSlot (v3.5.0)

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

Represents a reservation slot resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#creation_timestamp

def creation_timestamp() -> ::String
Returns
  • (::String) — Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.

#creation_timestamp=

def creation_timestamp=(value) -> ::String
Parameter
  • value (::String) — Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
Returns
  • (::String) — Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.

#id

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

#id=

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

#kind

def kind() -> ::String
Returns
  • (::String) — Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.
Returns
  • (::String) — Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.

#name

def name() -> ::String
Returns
  • (::String) — Output only. [Output Only] The name of the reservation slot.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Output only. [Output Only] The name of the reservation slot.
Returns
  • (::String) — Output only. [Output Only] The name of the reservation slot.

#physical_topology

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

#physical_topology=

def physical_topology=(value) -> ::Google::Cloud::Compute::V1::ReservationSlotPhysicalTopology
Parameter
Returns
def self_link() -> ::String
Returns
  • (::String) — Output only. [Output Only] A server-defined fully-qualified URL for this resource.
def self_link=(value) -> ::String
Parameter
  • value (::String) — Output only. [Output Only] A server-defined fully-qualified URL for this resource.
Returns
  • (::String) — Output only. [Output Only] A server-defined fully-qualified URL for this resource.
def self_link_with_id() -> ::String
Returns
  • (::String) — Output only. [Output Only] A server-defined URL for this resource with the resource ID.
def self_link_with_id=(value) -> ::String
Parameter
  • value (::String) — Output only. [Output Only] A server-defined URL for this resource with the resource ID.
Returns
  • (::String) — Output only. [Output Only] A server-defined URL for this resource with the resource ID.

#share_settings

def share_settings() -> ::Google::Cloud::Compute::V1::ShareSettings
Returns

#share_settings=

def share_settings=(value) -> ::Google::Cloud::Compute::V1::ShareSettings
Parameter
Returns

#state

def state() -> ::String
Returns
  • (::String) — Output only. [Output Only] The state of the reservation slot. Check the State enum for the list of possible values.

#state=

def state=(value) -> ::String
Parameter
  • value (::String) — Output only. [Output Only] The state of the reservation slot. Check the State enum for the list of possible values.
Returns
  • (::String) — Output only. [Output Only] The state of the reservation slot. Check the State enum for the list of possible values.

#status

def status() -> ::Google::Cloud::Compute::V1::ReservationSlotStatus
Returns

#status=

def status=(value) -> ::Google::Cloud::Compute::V1::ReservationSlotStatus
Parameter
Returns

#zone

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

#zone=

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