Compute V1 Client - Class ResourceStatusReservationConsumptionInfo (2.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
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 \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ consumed_reservation
string
Output only. [Output Only] The full resource name of the reservation that this instance is consuming from.
getConsumedReservation
Output only. [Output Only] The full resource name of the reservation that this
instance is consuming from.
Returns
Type
Description
string
hasConsumedReservation
clearConsumedReservation
setConsumedReservation
Output only. [Output Only] The full resource name of the reservation that this
instance is consuming from.
[[["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 2026-08-01 UTC."],[],[]]