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

3.7.0 (latest) 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.22.0 2.21.1 2.20.0 2.19.1 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.2 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.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**

- ([::Google::Cloud::Compute::V1::ReservationSlotPhysicalTopology](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ReservationSlotPhysicalTopology)) --- Output only. \[Output Only\] The physical topology of the reservation slot.
**Returns**

- ([::Google::Cloud::Compute::V1::ReservationSlotPhysicalTopology](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ReservationSlotStatus)) --- Output only. \[Output Only\] The status of the reservation slot.
**Returns**

- ([::Google::Cloud::Compute::V1::ReservationSlotStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/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.