Compute Engine v1 API - Class ReservationSlot (3.25.0)

public sealed class ReservationSlot : IMessage<ReservationSlot>, IEquatable<ReservationSlot>, IDeepCloneable<ReservationSlot>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class ReservationSlot.

Represents a reservation slot resource.

Inheritance

object > ReservationSlot

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ReservationSlot()

public ReservationSlot()

ReservationSlot(ReservationSlot)

public ReservationSlot(ReservationSlot other)
Parameter
Name Description
other ReservationSlot

Properties

CreationTimestamp

public string CreationTimestamp { get; set; }

Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.

Property Value
Type Description
string

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
Type Description
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
Type Description
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
Type Description
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
Type Description
bool

HasSelfLinkWithId

public bool HasSelfLinkWithId { get; }

Gets whether the "self_link_with_id" field is set

Property Value
Type Description
bool

HasState

public bool HasState { get; }

Gets whether the "state" field is set

Property Value
Type Description
bool

HasZone

public bool HasZone { get; }

Gets whether the "zone" field is set

Property Value
Type Description
bool

Id

public ulong Id { get; set; }

Output only. [Output Only] The unique identifier for this resource. This identifier is defined by the server.

Property Value
Type Description
ulong

Kind

public string Kind { get; set; }

Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.

Property Value
Type Description
string

Name

public string Name { get; set; }

Output only. [Output Only] The name of the reservation slot.

Property Value
Type Description
string

PhysicalTopology

public ReservationSlotPhysicalTopology PhysicalTopology { get; set; }

Output only. [Output Only] The physical topology of the reservation slot.

Property Value
Type Description
ReservationSlotPhysicalTopology
public string SelfLink { get; set; }

Output only. [Output Only] A server-defined fully-qualified URL for this resource.

Property Value
Type Description
string

SelfLinkWithId

public string SelfLinkWithId { get; set; }

Output only. [Output Only] A server-defined URL for this resource with the resource ID.

Property Value
Type Description
string

ShareSettings

public ShareSettings ShareSettings { get; set; }

Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.

Property Value
Type Description
ShareSettings

State

public string State { get; set; }

Output only. [Output Only] The state of the reservation slot. Check the State enum for the list of possible values.

Property Value
Type Description
string

Status

public ReservationSlotStatus Status { get; set; }

Output only. [Output Only] The status of the reservation slot.

Property Value
Type Description
ReservationSlotStatus

Zone

public string Zone { get; set; }

Output only. [Output Only] The zone in which the reservation slot resides.

Property Value
Type Description
string