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

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

Request message for creating a RestoreTemplate instance.

## Inheritance

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

## Implements

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

### CreateRestoreTemplateRequest()

    public CreateRestoreTemplateRequest()

### CreateRestoreTemplateRequest(CreateRestoreTemplateRequest)

    public CreateRestoreTemplateRequest(CreateRestoreTemplateRequest other)

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

## Properties

### Parent

    public string Parent { get; set; }

Required. The restore template project and location in the format
'projects/{project_id}/locations/{location}'.

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

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.CreateRestoreTemplateRequest.md.txt#Google_Cloud_BackupDR_V1_CreateRestoreTemplateRequest_Parent) resource name property.

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

### 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` |   |

### RestoreTemplate

    public RestoreTemplate RestoreTemplate { get; set; }

Required. A RestoreTemplate resource.

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

### RestoreTemplateId

    public string RestoreTemplateId { get; set; }

Required. The ID of the restore template to create. The ID must be
unique for the specified project and location.

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