Reference documentation and code samples for the Compute V1 Client class ResourceStatusReservationConsumptionInfo.
Reservation consumption information that the instance is consuming from.
Generated from protobuf message google.cloud.compute.v1.ResourceStatusReservationConsumptionInfo
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ consumed_reservation |
string
[Output Only] The full resource name of the reservation that this instance is consuming from. |
getConsumedReservation
[Output Only] The full resource name of the reservation that this instance is consuming from.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasConsumedReservation
clearConsumedReservation
setConsumedReservation
[Output Only] The full resource name of the reservation that this instance is consuming from.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|