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

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

Configuration for selecting a backup.

## Inheritance

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

## Implements

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

### BackupSelectionConfig()

    public BackupSelectionConfig()

### BackupSelectionConfig(BackupSelectionConfig)

    public BackupSelectionConfig(BackupSelectionConfig other)

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

## Properties

### DataSource

    public string DataSource { get; set; }

Required. Immutable. The fully qualified URI of the backupdr data source.

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

### DataSourceAsDataSourceName

    public DataSourceName DataSourceAsDataSourceName { get; set; }

[DataSourceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.DataSourceName.md.txt)-typed view over the [DataSource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.BackupSelectionConfig.md.txt#Google_Cloud_BackupDR_V1_BackupSelectionConfig_DataSource) resource name property.

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

### HasDataSource

    public bool HasDataSource { get; }

Gets whether the "data_source" field is set

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

### SourceCase

    public BackupSelectionConfig.SourceOneofCase SourceCase { get; }

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