Compute V1 Client - Class ResourceStatus (1.6.1)

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

Contains output only fields. Use this sub-message for actual values set on Instance attributes as compared to the value requested by the user (intent) in their instance CRUD calls.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ physical_host string

[Output Only] An opaque ID of the host on which the VM is running.

getPhysicalHost

[Output Only] An opaque ID of the host on which the VM is running.

Returns
TypeDescription
string

hasPhysicalHost

clearPhysicalHost

setPhysicalHost

[Output Only] An opaque ID of the host on which the VM is running.

Parameter
NameDescription
var string
Returns
TypeDescription
$this