# Compute Engine v1 API - Class ResourceStatus (3.28.0)

3.28.0 (latest) 3.27.0 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Compute Engine v1 API class ResourceStatus.

Contains output only fields.
Use this sub-message for actual values set on Instance attributes as compared
to the value requested by the user (intent) in their instance CRUD calls.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ResourceStatus

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ResourceStatus](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ResourceStatus), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ResourceStatus](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ResourceStatus), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ResourceStatus](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ResourceStatus), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Compute.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1)

## Assembly

Google.Cloud.Compute.V1.dll

## Constructors

### ResourceStatus()

    public ResourceStatus()

### ResourceStatus(ResourceStatus)

    public ResourceStatus(ResourceStatus other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ResourceStatus` |

## Properties

### EffectiveInstanceMetadata

    public ResourceStatusEffectiveInstanceMetadata EffectiveInstanceMetadata { get; set; }

Output only. \[Output Only\] Effective metadata is a field that consolidates project,
zonal instance settings, and instance-level predefined metadata keys to
provide the overridden value for those metadata keys at the instance level.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ResourceStatusEffectiveInstanceMetadata` |   |

### HasPhysicalHost

    public bool HasPhysicalHost { get; }

Gets whether the "physical_host" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### PhysicalHost

    public string PhysicalHost { get; set; }

Output only. \[Output Only\] The precise location of your instance within the zone's data
center, including the block, sub-block, and host. The field is formatted as
follows: blockId/subBlockId/hostId.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### PhysicalHostTopology

    public ResourceStatusPhysicalHostTopology PhysicalHostTopology { get; set; }

Output only. \[Output Only\] A series of fields containing the global name of the Compute
Engine cluster, as well as the ID of the block, sub-block, and host on
which the running instance is located.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ResourceStatusPhysicalHostTopology` |   |

### ReservationConsumptionInfo

    public ResourceStatusReservationConsumptionInfo ReservationConsumptionInfo { get; set; }

Output only. \[Output Only\] Reservation information that the instance is consuming from.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ResourceStatusReservationConsumptionInfo` |   |

### Scheduling

    public ResourceStatusScheduling Scheduling { get; set; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ResourceStatusScheduling` |   |

### UpcomingMaintenance

    public UpcomingMaintenance UpcomingMaintenance { get; set; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.UpcomingMaintenance` |   |