Compute Engine v1 API - Class InstanceConsumptionInfo (2.5.0)

public sealed class InstanceConsumptionInfo : IMessage<InstanceConsumptionInfo>, IEquatable<InstanceConsumptionInfo>, IDeepCloneable<InstanceConsumptionInfo>, IBufferMessage, IMessage

Inheritance

Object > InstanceConsumptionInfo

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

InstanceConsumptionInfo()

public InstanceConsumptionInfo()

InstanceConsumptionInfo(InstanceConsumptionInfo)

public InstanceConsumptionInfo(InstanceConsumptionInfo other)
Parameter
NameDescription
otherInstanceConsumptionInfo

Properties

GuestCpus

public int GuestCpus { get; set; }

The number of virtual CPUs that are available to the instance.

Property Value
TypeDescription
Int32

HasGuestCpus

public bool HasGuestCpus { get; }

Gets whether the "guest_cpus" field is set

Property Value
TypeDescription
Boolean

HasLocalSsdGb

public bool HasLocalSsdGb { get; }

Gets whether the "local_ssd_gb" field is set

Property Value
TypeDescription
Boolean

HasMemoryMb

public bool HasMemoryMb { get; }

Gets whether the "memory_mb" field is set

Property Value
TypeDescription
Boolean

HasMinNodeCpus

public bool HasMinNodeCpus { get; }

Gets whether the "min_node_cpus" field is set

Property Value
TypeDescription
Boolean

LocalSsdGb

public int LocalSsdGb { get; set; }

The amount of local SSD storage available to the instance, defined in GiB.

Property Value
TypeDescription
Int32

MemoryMb

public int MemoryMb { get; set; }

The amount of physical memory available to the instance, defined in MiB.

Property Value
TypeDescription
Int32

MinNodeCpus

public int MinNodeCpus { get; set; }

The minimal guaranteed number of virtual CPUs that are reserved.

Property Value
TypeDescription
Int32