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

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

Info for Pre-Restore phase execution.

## Inheritance

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

## Implements

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

### PreRestorePhaseInfo()

    public PreRestorePhaseInfo()

### PreRestorePhaseInfo(PreRestorePhaseInfo)

    public PreRestorePhaseInfo(PreRestorePhaseInfo other)

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

## Properties

### CloudRunExecution

    public string CloudRunExecution { get; set; }

Output only. The fully qualified URI of the Cloud Run Execution triggered
for pre-restore actions.

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

### CloudRunExecutionAsExecutionName

    public ExecutionName CloudRunExecutionAsExecutionName { get; set; }

[ExecutionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.ExecutionName.md.txt)-typed view over the [CloudRunExecution](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.PreRestorePhaseInfo.md.txt#Google_Cloud_BackupDR_V1_PreRestorePhaseInfo_CloudRunExecution) resource name property.

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

### EndTime

    public Timestamp EndTime { get; set; }

Output only. End time of the phase.

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

### Error

    public Status Error { get; set; }

Output only. Error details if the phase failed.

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

### HasCloudRunExecution

    public bool HasCloudRunExecution { get; }

Gets whether the "cloud_run_execution" field is set

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

### PhaseState

    public PhaseState PhaseState { get; set; }

Output only. The state of this phase.

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

### PreRestoreConfig

    public PreRestoreConfig PreRestoreConfig { get; set; }

Output only. Snapshot of config that will be executed before restore
operation.

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

### ResultCase

    public PreRestorePhaseInfo.ResultOneofCase ResultCase { get; }

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

### StartTime

    public Timestamp StartTime { get; set; }

Output only. Start time of the phase.

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