3.19.0 (latest) 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.4.0 2.3.0 2.2.0

    public sealed class Database.Types.SourceInfo : IMessage<Database.Types.SourceInfo>, IEquatable<Database.Types.SourceInfo>, IDeepCloneable<Database.Types.SourceInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Firestore Admin v1 API class Database.Types.SourceInfo.

Information about the provenance of this database.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Database](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Database.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Database.Types.md.txt)[SourceInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Database.Types.SourceInfo.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Database](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Database.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Database.Types.md.txt)[SourceInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Database.Types.SourceInfo.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Database](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Database.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Database.Types.md.txt)[SourceInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Database.Types.SourceInfo.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Firestore.Admin.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.md.txt)

## Assembly

Google.Cloud.Firestore.Admin.V1.dll

## Constructors

### SourceInfo()

    public SourceInfo()

### SourceInfo(SourceInfo)

    public SourceInfo(Database.Types.SourceInfo other)

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

## Properties

### Backup

    public Database.Types.SourceInfo.Types.BackupSource Backup { get; set; }

If set, this database was restored from the specified backup (or a
snapshot thereof).

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

### Operation

    public string Operation { get; set; }

The associated long-running operation. This field may not be set after
the operation has completed. Format:
`projects/{project}/databases/{database}/operations/{operation}`.

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

### OperationAsOperationName

    public OperationName OperationAsOperationName { get; set; }

[OperationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.OperationName.md.txt)-typed view over the [Operation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Database.Types.SourceInfo.md.txt#Google_Cloud_Firestore_Admin_V1_Database_Types_SourceInfo_Operation) resource name property.

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

### SourceCase

    public Database.Types.SourceInfo.SourceOneofCase SourceCase { get; }

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