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 messagegoogle.cloud.compute.v1.ResourceStatus
Namespace
Google \ Cloud \ Compute \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
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
Type
Description
string
hasPhysicalHost
clearPhysicalHost
setPhysicalHost
[Output Only] An opaque ID of the host on which the VM is running.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]