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
Namespace
Google \ Cloud \ Compute \ V1Methods
__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. |
↳ upcoming_maintenance |
Google\Cloud\Compute\V1\UpcomingMaintenance
|
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getUpcomingMaintenance
Generated from protobuf field optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;
Returns | |
---|---|
Type | Description |
Google\Cloud\Compute\V1\UpcomingMaintenance|null |
hasUpcomingMaintenance
clearUpcomingMaintenance
setUpcomingMaintenance
Generated from protobuf field optional .google.cloud.compute.v1.UpcomingMaintenance upcoming_maintenance = 227348592;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Compute\V1\UpcomingMaintenance
|
Returns | |
---|---|
Type | Description |
$this |