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

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

Request message for running a RestoreTemplate.

## Inheritance

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

## Implements

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

### RunRestoreTemplateRequest()

    public RunRestoreTemplateRequest()

### RunRestoreTemplateRequest(RunRestoreTemplateRequest)

    public RunRestoreTemplateRequest(RunRestoreTemplateRequest other)

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

## Properties

### Backup

    public string Backup { get; set; }

Optional. The resource name of the Backup to restore from.
If not specified, the latest backup matching the backup selection
configuration in the RestoreTemplate will be used.
Format:
'projects/{project}/locations/{location}/backupVaults/{backup_vault}/dataSources/{data_source}/backups/{backup}'

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

### BackupAsBackupName

    public BackupName BackupAsBackupName { get; set; }

[BackupName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupName.md.txt)-typed view over the [Backup](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.RunRestoreTemplateRequest.md.txt#Google_Cloud_BackupDR_V1_RunRestoreTemplateRequest_Backup) resource name property.

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

### Name

    public string Name { get; set; }

Required. The name of the restore template to run.
Format:
'projects/{project_id}/locations/{location}/restoreTemplates/{restore_template_id}'

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

### RequestId

    public string RequestId { get; set; }

Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed.

The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).

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

### RestoreTemplateName

    public RestoreTemplateName RestoreTemplateName { get; set; }

[RestoreTemplateName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.RestoreTemplateName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.RunRestoreTemplateRequest.md.txt#Google_Cloud_BackupDR_V1_RunRestoreTemplateRequest_Name) resource name property.

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