2.11.0 (latest) 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.2.0 1.1.0 1.0.0-beta02

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

Reference documentation and code samples for the Backup and DR Service v1 API class TargetResource.

Details of the target resource created/modified as part of restore.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.BackupDR.V1.dll

## Constructors

### TargetResource()

    public TargetResource()

### TargetResource(TargetResource)

    public TargetResource(TargetResource other)

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

## Properties

### GcpResource

    public GcpResource GcpResource { get; set; }

Details of the native Google Cloud resource created as part of restore.

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

### TargetResourceInfoCase

    public TargetResource.TargetResourceInfoOneofCase TargetResourceInfoCase { get; }

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