Reference documentation and code samples for the Compute V1 Client class ReservationSubBlock.
Represents a reservation subBlock resource.
Generated from protobuf message google.cloud.compute.v1.ReservationSubBlock
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ count
int
[Output Only] The number of hosts that are allocated in this reservation subBlock.
↳ creation_timestamp
string
[Output Only] Creation timestamp in RFC3339 text format.
↳ health_info
↳ id
int|string
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
↳ in_use_count
int
[Output Only] The number of instances that are currently in use on this reservation subBlock.
↳ kind
string
[Output Only] Type of the resource. Always compute#reservationSubBlock for reservation subBlocks.
↳ name
string
[Output Only] The name of this reservation subBlock generated by Google Compute Engine. The name must be 1-63 characters long, and comply with RFC1035 @pattern a-z ?
↳ physical_topology
ReservationSubBlockPhysicalTopology
[Output Only] The physical topology of the reservation subBlock.
↳ reservation_sub_block_maintenance
↳ self_link
string
[Output Only] Server-defined fully-qualified URL for this resource.
↳ self_link_with_id
string
[Output Only] Server-defined URL for this resource with the resource id.
↳ status
string
[Output Only] Status of the reservation subBlock. Check the Status enum for the list of possible values.
↳ zone
string
[Output Only] Zone in which the reservation subBlock resides.
getCount
[Output Only] The number of hosts that are allocated in this reservation subBlock.
int
hasCount
clearCount
setCount
[Output Only] The number of hosts that are allocated in this reservation subBlock.
var
int
$this
getCreationTimestamp
[Output Only] Creation timestamp in RFC3339 text format.
string
hasCreationTimestamp
clearCreationTimestamp
setCreationTimestamp
[Output Only] Creation timestamp in RFC3339 text format.
var
string
$this
getHealthInfo
[Output Only] Health information for the reservation subBlock.
hasHealthInfo
clearHealthInfo
setHealthInfo
[Output Only] Health information for the reservation subBlock.
$this
getId
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
int|string
hasId
clearId
setId
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
var
int|string
$this
getInUseCount
[Output Only] The number of instances that are currently in use on this reservation subBlock.
int
hasInUseCount
clearInUseCount
setInUseCount
[Output Only] The number of instances that are currently in use on this reservation subBlock.
var
int
$this
getKind
[Output Only] Type of the resource. Always compute#reservationSubBlock for reservation subBlocks.
string
hasKind
clearKind
setKind
[Output Only] Type of the resource. Always compute#reservationSubBlock for reservation subBlocks.
var
string
$this
getName
[Output Only] The name of this reservation subBlock 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] The name of this reservation subBlock 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] The physical topology of the reservation subBlock.
hasPhysicalTopology
clearPhysicalTopology
setPhysicalTopology
[Output Only] The physical topology of the reservation subBlock.
$this
getReservationSubBlockMaintenance
Maintenance information for this reservation subBlock.
hasReservationSubBlockMaintenance
clearReservationSubBlockMaintenance
setReservationSubBlockMaintenance
Maintenance information for this reservation subBlock.
$this
getSelfLink
[Output Only] Server-defined fully-qualified URL for this resource.
string
hasSelfLink
clearSelfLink
setSelfLink
[Output Only] Server-defined fully-qualified URL for this resource.
var
string
$this
getSelfLinkWithId
[Output Only] Server-defined URL for this resource with the resource id.
string
hasSelfLinkWithId
clearSelfLinkWithId
setSelfLinkWithId
[Output Only] Server-defined URL for this resource with the resource id.
var
string
$this
getStatus
[Output Only] Status of the reservation subBlock.
Check the Status enum for the list of possible values.
string
hasStatus
clearStatus
setStatus
[Output Only] Status of the reservation subBlock.
Check the Status enum for the list of possible values.
var
string
$this
getZone
[Output Only] Zone in which the reservation subBlock resides.
string
hasZone
clearZone
setZone
[Output Only] Zone in which the reservation subBlock resides.
var
string
$this