Compute V1 Client - Class HostStatus (2.14.1)

Reference documentation and code samples for the Compute V1 Client class HostStatus.

Generated from protobuf message google.cloud.compute.v1.HostStatus

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ physical_topology HostPhysicalTopology

Output only. The physical topology of the reservation sub-block, if present

↳ running_instances string[]

Output only. The URIs of the instances currently running on this host.

getPhysicalTopology

Output only. The physical topology of the reservation sub-block, if present

Returns
Type Description
HostPhysicalTopology|null

hasPhysicalTopology

clearPhysicalTopology

setPhysicalTopology

Output only. The physical topology of the reservation sub-block, if present

Parameter
Name Description
var HostPhysicalTopology
Returns
Type Description
$this

getRunningInstances

Output only. The URIs of the instances currently running on this host.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setRunningInstances

Output only. The URIs of the instances currently running on this host.

Parameter
Name Description
var string[]
Returns
Type Description
$this