Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InstanceConsumptionInfo.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#guest_cpus
def guest_cpus() -> ::Integer
Returns
- (::Integer) — The number of virtual CPUs that are available to the instance.
#guest_cpus=
def guest_cpus=(value) -> ::Integer
Parameter
- value (::Integer) — The number of virtual CPUs that are available to the instance.
Returns
- (::Integer) — The number of virtual CPUs that are available to the instance.
#local_ssd_gb
def local_ssd_gb() -> ::Integer
Returns
- (::Integer) — The amount of local SSD storage available to the instance, defined in GiB.
#local_ssd_gb=
def local_ssd_gb=(value) -> ::Integer
Parameter
- value (::Integer) — The amount of local SSD storage available to the instance, defined in GiB.
Returns
- (::Integer) — The amount of local SSD storage available to the instance, defined in GiB.
#memory_mb
def memory_mb() -> ::Integer
Returns
- (::Integer) — The amount of physical memory available to the instance, defined in MiB.
#memory_mb=
def memory_mb=(value) -> ::Integer
Parameter
- value (::Integer) — The amount of physical memory available to the instance, defined in MiB.
Returns
- (::Integer) — The amount of physical memory available to the instance, defined in MiB.
#min_node_cpus
def min_node_cpus() -> ::Integer
Returns
- (::Integer) — The minimal guaranteed number of virtual CPUs that are reserved.
#min_node_cpus=
def min_node_cpus=(value) -> ::Integer
Parameter
- value (::Integer) — The minimal guaranteed number of virtual CPUs that are reserved.
Returns
- (::Integer) — The minimal guaranteed number of virtual CPUs that are reserved.