Reference documentation and code samples for the Compute V1 Client class ReservationSlot.
Represents a reservation slot resource.
Generated from protobuf message google.cloud.compute.v1.ReservationSlot
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ creation_timestamp
string
Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
↳ id
int|string
Output only. [Output Only] The unique identifier for this resource. This identifier is defined by the server.
↳ kind
string
Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.
↳ name
string
Output only. [Output Only] The name of the reservation slot.
↳ physical_topology
ReservationSlotPhysicalTopology
Output only. [Output Only] The physical topology of the reservation slot.
↳ self_link
string
Output only. [Output Only] A server-defined fully-qualified URL for this resource.
↳ self_link_with_id
string
Output only. [Output Only] A server-defined URL for this resource with the resource ID.
↳ share_settings
ShareSettings
Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.
↳ state
string
Output only. [Output Only] The state of the reservation slot. Check the State enum for the list of possible values.
↳ status
↳ zone
string
Output only. [Output Only] The zone in which the reservation slot resides.
getCreationTimestamp
Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
string
hasCreationTimestamp
clearCreationTimestamp
setCreationTimestamp
Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
var
string
$this
getId
Output only. [Output Only] The unique identifier for this resource. This identifier is defined by the server.
int|string
hasId
clearId
setId
Output only. [Output Only] The unique identifier for this resource. This identifier is defined by the server.
var
int|string
$this
getKind
Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.
string
hasKind
clearKind
setKind
Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot for reservation slots.
var
string
$this
getName
Output only. [Output Only] The name of the reservation slot.
string
hasName
clearName
setName
Output only. [Output Only] The name of the reservation slot.
var
string
$this
getPhysicalTopology
Output only. [Output Only] The physical topology of the reservation slot.
hasPhysicalTopology
clearPhysicalTopology
setPhysicalTopology
Output only. [Output Only] The physical topology of the reservation slot.
$this
getSelfLink
Output only. [Output Only] A server-defined fully-qualified URL for this resource.
string
hasSelfLink
clearSelfLink
setSelfLink
Output only. [Output Only] A server-defined fully-qualified URL for this resource.
var
string
$this
getSelfLinkWithId
Output only. [Output Only] A server-defined URL for this resource with the resource ID.
string
hasSelfLinkWithId
clearSelfLinkWithId
setSelfLinkWithId
Output only. [Output Only] A server-defined URL for this resource with the resource ID.
var
string
$this
getShareSettings
Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.
hasShareSettings
clearShareSettings
setShareSettings
Specify share settings to create a shared slot. Set to empty to inherit the share settings from a parent resource.
$this
getState
Output only. [Output Only] The state of the reservation slot.
Check the State enum for the list of possible values.
string
hasState
clearState
setState
Output only. [Output Only] The state of the reservation slot.
Check the State enum for the list of possible values.
var
string
$this
getStatus
Output only. [Output Only] The status of the reservation slot.
hasStatus
clearStatus
setStatus
Output only. [Output Only] The status of the reservation slot.
$this
getZone
Output only. [Output Only] The zone in which the reservation slot resides.
string
hasZone
clearZone
setZone
Output only. [Output Only] The zone in which the reservation slot resides.
var
string
$this

