Reference documentation and code samples for the Compute V1 Client class ReservationBlock.
Represents a reservation block resource.
Generated from protobuf message google.cloud.compute.v1.ReservationBlock
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ count
int
Output only. [Output Only] The number of resources that are allocated in this reservation block.
↳ creation_timestamp
string
Output only. [Output Only] Creation timestamp inRFC3339 text format.
↳ health_info
↳ id
int|string
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
↳ in_use_count
int
Output only. [Output Only] The number of instances that are currently in use on this reservation block.
↳ in_use_host_count
int
Output only. Number of hosts currently in use. If there is one or more Instances running on the host, it is considered in use.
↳ kind
string
Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
↳ name
string
Output only. [Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern a-z ?
↳ physical_topology
ReservationBlockPhysicalTopology
Output only. [Output Only] The physical topology of the reservation block.
↳ reservation_maintenance
↳ reservation_sub_block_count
int
Output only. [Output Only] The number of reservation subBlocks associated with this reservation block.
↳ reservation_sub_block_in_use_count
int
Output only. [Output Only] The number of in-use reservation subBlocks associated with this reservation block. If at least one VM is running on a subBlock, it is considered in-use.
↳ self_link
string
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
↳ self_link_with_id
string
Output only. [Output Only] Server-defined URL for this resource with the resource id.
↳ status
string
Output only. [Output Only] Status of the reservation block. Check the Status enum for the list of possible values.
↳ zone
string
Output only. [Output Only] Zone in which the reservation block resides.
getCount
Output only. [Output Only] The number of resources that are allocated in this reservation block.
int
hasCount
clearCount
setCount
Output only. [Output Only] The number of resources that are allocated in this reservation block.
var
int
$this
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
string
hasCreationTimestamp
clearCreationTimestamp
setCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
var
string
$this
getHealthInfo
Output only. [Output Only] Health information for the reservation block.
hasHealthInfo
clearHealthInfo
setHealthInfo
Output only. [Output Only] Health information for the reservation block.
$this
getId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
int|string
hasId
clearId
setId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
var
int|string
$this
getInUseCount
Output only. [Output Only] The number of instances that are currently in use on this reservation block.
int
hasInUseCount
clearInUseCount
setInUseCount
Output only. [Output Only] The number of instances that are currently in use on this reservation block.
var
int
$this
getInUseHostCount
Output only. Number of hosts currently in use. If there is one or more Instances running on the host, it is considered in use.
int
hasInUseHostCount
clearInUseHostCount
setInUseHostCount
Output only. Number of hosts currently in use. If there is one or more Instances running on the host, it is considered in use.
var
int
$this
getKind
Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
string
hasKind
clearKind
setKind
Output only. [Output Only] Type of the resource. Alwayscompute#reservationBlock for reservation blocks.
var
string
$this
getName
Output only. [Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern a-z ?
string
hasName
clearName
setName
Output only. [Output Only] The name of this reservation block generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern a-z ?
var
string
$this
getPhysicalTopology
Output only. [Output Only] The physical topology of the reservation block.
hasPhysicalTopology
clearPhysicalTopology
setPhysicalTopology
Output only. [Output Only] The physical topology of the reservation block.
$this
getReservationMaintenance
Output only. [Output Only] Maintenance information for this reservation block.
hasReservationMaintenance
clearReservationMaintenance
setReservationMaintenance
Output only. [Output Only] Maintenance information for this reservation block.
$this
getReservationSubBlockCount
Output only. [Output Only] The number of reservation subBlocks associated with this reservation block.
int
hasReservationSubBlockCount
clearReservationSubBlockCount
setReservationSubBlockCount
Output only. [Output Only] The number of reservation subBlocks associated with this reservation block.
var
int
$this
getReservationSubBlockInUseCount
Output only. [Output Only] The number of in-use reservation subBlocks associated with this reservation block. If at least one VM is running on a subBlock, it is considered in-use.
int
hasReservationSubBlockInUseCount
clearReservationSubBlockInUseCount
setReservationSubBlockInUseCount
Output only. [Output Only] The number of in-use reservation subBlocks associated with this reservation block. If at least one VM is running on a subBlock, it is considered in-use.
var
int
$this
getSelfLink
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
string
hasSelfLink
clearSelfLink
setSelfLink
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
var
string
$this
getSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource with the resource id.
string
hasSelfLinkWithId
clearSelfLinkWithId
setSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource with the resource id.
var
string
$this
getStatus
Output only. [Output Only] Status of the reservation block.
Check the Status enum for the list of possible values.
string
hasStatus
clearStatus
setStatus
Output only. [Output Only] Status of the reservation block.
Check the Status enum for the list of possible values.
var
string
$this
getZone
Output only. [Output Only] Zone in which the reservation block resides.
string
hasZone
clearZone
setZone
Output only. [Output Only] Zone in which the reservation block resides.
var
string
$this

