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 GetResourceDriftRequest : IMessage<GetResourceDriftRequest>, IEquatable<GetResourceDriftRequest>, IDeepCloneable<GetResourceDriftRequest>, IBufferMessage, IMessage

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

The request message for the GetResourceDrift method.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[GetResourceDriftRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetResourceDriftRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetResourceDriftRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetResourceDriftRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[GetResourceDriftRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Config.V1/latest/Google.Cloud.Config.V1.GetResourceDriftRequest.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

### GetResourceDriftRequest()

    public GetResourceDriftRequest()

### GetResourceDriftRequest(GetResourceDriftRequest)

    public GetResourceDriftRequest(GetResourceDriftRequest other)

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

## Properties

### Name

    public string Name { get; set; }

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

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

### 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.GetResourceDriftRequest.md.txt#Google_Cloud_Config_V1_GetResourceDriftRequest_Name) resource name property.

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