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
- (::Google::Cloud::Compute::V1::ReservationSlotPhysicalTopology) — Output only. [Output Only] The physical topology of the reservation slot.
#physical_topology=
def physical_topology=(value) -> ::Google::Cloud::Compute::V1::ReservationSlotPhysicalTopology
Parameter
- value (::Google::Cloud::Compute::V1::ReservationSlotPhysicalTopology) — Output only. [Output Only] The physical topology of the reservation slot.
Returns
- (::Google::Cloud::Compute::V1::ReservationSlotPhysicalTopology) — Output only. [Output Only] The physical topology of the reservation slot.
#self_link
def self_link() -> ::String
Returns
- (::String) — Output only. [Output Only] A server-defined fully-qualified URL for this resource.
#self_link=
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.
#self_link_with_id
def self_link_with_id() -> ::String
Returns
- (::String) — Output only. [Output Only] A server-defined URL for this resource with the resource ID.
#self_link_with_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
- (::Google::Cloud::Compute::V1::ShareSettings) — Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.
#share_settings=
def share_settings=(value) -> ::Google::Cloud::Compute::V1::ShareSettings
Parameter
- value (::Google::Cloud::Compute::V1::ShareSettings) — Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.
Returns
- (::Google::Cloud::Compute::V1::ShareSettings) — Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.
#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
- (::Google::Cloud::Compute::V1::ReservationSlotStatus) — Output only. [Output Only] The status of the reservation slot.
#status=
def status=(value) -> ::Google::Cloud::Compute::V1::ReservationSlotStatus
Parameter
- value (::Google::Cloud::Compute::V1::ReservationSlotStatus) — Output only. [Output Only] The status of the reservation slot.
Returns
- (::Google::Cloud::Compute::V1::ReservationSlotStatus) — Output only. [Output Only] The status of the reservation slot.
#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.