Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InstanceConsumptionData.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#consumption_info
def consumption_info() -> ::Google::Cloud::Compute::V1::InstanceConsumptionInfo
Returns
- (::Google::Cloud::Compute::V1::InstanceConsumptionInfo) — Resources consumed by the instance.
#consumption_info=
def consumption_info=(value) -> ::Google::Cloud::Compute::V1::InstanceConsumptionInfo
Parameter
- value (::Google::Cloud::Compute::V1::InstanceConsumptionInfo) — Resources consumed by the instance.
Returns
- (::Google::Cloud::Compute::V1::InstanceConsumptionInfo) — Resources consumed by the instance.
#instance
def instance() -> ::String
Returns
- (::String) — Server-defined URL for the instance.
#instance=
def instance=(value) -> ::String
Parameter
- value (::String) — Server-defined URL for the instance.
Returns
- (::String) — Server-defined URL for the instance.