1.13.0 (latest) 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Infrastructure Manager v1 API class ResourceDrift.

A resource drift represents a drift to a resource in the state file.

## Inheritance

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

## Implements

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

## 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.Config.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.md.txt)

## Assembly

Google.Cloud.Config.V1.dll

## Constructors

### ResourceDrift()

    public ResourceDrift()

### ResourceDrift(ResourceDrift)

    public ResourceDrift(ResourceDrift other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ResourceDrift` |

## Properties

### Name

    public string Name { get; set; }

Identifier. The name of the resource drift.
Format:
'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PropertyDrifts

    public RepeatedField<PropertyDrift> PropertyDrifts { get; }

Output only. The property drifts of the resource drift.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldPropertyDrift` |   |

### ResourceDriftName

    public ResourceDriftName ResourceDriftName { get; set; }

[ResourceDriftName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDriftName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.ResourceDrift.md.txt#Google_Cloud_Config_V1_ResourceDrift_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ResourceDriftName` |   |

### TerraformInfo

    public ResourceDriftTerraformInfo TerraformInfo { get; set; }

Output only. Terraform info of the resource drift.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ResourceDriftTerraformInfo` |   |