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

Reference documentation and code samples for the Firestore Admin v1 API class BackupSchedule.

A backup schedule for a Cloud Firestore Database.

This resource is owned by the database it is backing up, and is deleted along
with the database. The actual backups are not though.

## Inheritance

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

## Implements

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

### BackupSchedule()

    public BackupSchedule()

### BackupSchedule(BackupSchedule)

    public BackupSchedule(BackupSchedule other)

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

## Properties

### BackupScheduleName

    public BackupScheduleName BackupScheduleName { get; set; }

[BackupScheduleName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.BackupScheduleName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.BackupSchedule.md.txt#Google_Cloud_Firestore_Admin_V1_BackupSchedule_Name) resource name property.

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

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The timestamp at which this backup schedule was created and
effective since.

No backups will be created for this schedule before this time.

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

### DailyRecurrence

    public DailyRecurrence DailyRecurrence { get; set; }

For a schedule that runs daily.

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

### Name

    public string Name { get; set; }

Output only. The unique backup schedule identifier across all locations and
databases for the given project.

This will be auto-assigned.

Format is
`projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`

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

### RecurrenceCase

    public BackupSchedule.RecurrenceOneofCase RecurrenceCase { get; }

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

### Retention

    public Duration Retention { get; set; }

At what relative time in the future, compared to its creation time,
the backup should be deleted, e.g. keep backups for 7 days.

The maximum supported retention period is 14 weeks.

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The timestamp at which this backup schedule was most recently
updated. When a backup schedule is first created, this is the same as
create_time.

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

### WeeklyRecurrence

    public WeeklyRecurrence WeeklyRecurrence { get; set; }

For a schedule that runs weekly on a specific day.

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