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

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

A `RestoreTemplateExecution` represents a single historical or active
execution run.

## Inheritance

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

## Implements

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

### RestoreTemplateExecution()

    public RestoreTemplateExecution()

### RestoreTemplateExecution(RestoreTemplateExecution)

    public RestoreTemplateExecution(RestoreTemplateExecution other)

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

## Properties

### CleanupPhaseInfo

    public CleanupPhaseInfo CleanupPhaseInfo { get; set; }

Output only. Info for the cleanup phase.

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

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. Create time of the execution.

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

### Name

    public string Name { get; set; }

Identifier. Resource name of the execution.

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

### Phase

    public RestoreTemplateExecution.Types.ExecutionPhase Phase { get; set; }

Output only. The current active phase.

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

### PostRestorePhaseInfo

    public PostRestorePhaseInfo PostRestorePhaseInfo { get; set; }

Output only. Info for the post-restore phase.

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

### PreRestorePhaseInfo

    public PreRestorePhaseInfo PreRestorePhaseInfo { get; set; }

Output only. Info for the pre-restore phase.

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

### PreparePhaseInfo

    public PreparePhaseInfo PreparePhaseInfo { get; set; }

Output only. Info for the prepare phase.

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

### ResourceType

    public string ResourceType { get; set; }

Output only. The workload resource type being restored.
The format is "{service_name}/{resource_kind}", for example,
"compute.googleapis.com/Instance".

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

### RestorePhaseInfo

    public RestorePhaseInfo RestorePhaseInfo { get; set; }

Output only. Info for the restore phase.

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

### RestoreTemplateExecutionName

    public RestoreTemplateExecutionName RestoreTemplateExecutionName { get; set; }

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

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

### State

    public RestoreTemplateExecution.Types.ExecutionState State { get; set; }

Output only. State of the execution.

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

### Type

    public RestoreTemplateExecution.Types.ExecutionType Type { get; set; }

Output only. The type of the execution.

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. Update time of the execution.

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

### VerificationPhaseInfo

    public VerificationPhaseInfo VerificationPhaseInfo { get; set; }

Output only. Info for the verification phase.

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