[SDK reference](../../index.md) / [Models](../index.md) / [BackupCenter](index.md)

# ProtectedResource

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.BackupCenter`  

One resource of the project and its protection. Read only.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `CopyLocations` | `List<string>?` | `copyLocations` | The locations that hold a copy of the backups. |
| `CostPerMonthCents` | `long?` | `costPerMonthCents` | The estimated cost per month of the backups in EUR cents, from the price book; absent where the type has no meter (est.). |
| `HasOwnPlan` | `bool?` | `hasOwnPlan` | Whether the resource has a plan of its own that no policy made. |
| `HoldsData` | `bool?` | `holdsData` | Whether the resource holds data (an empty stopped instance does not). |
| `Labels` | `Models.BackupCenter.ProtectedResource_labels?` | `labels` | The labels property |
| `LastGoodBackupTime` | `DateTimeOffset?` | `lastGoodBackupTime` | The lastGoodBackupTime property |
| `LastRestoreTestTime` | `DateTimeOffset?` | `lastRestoreTestTime` | When a restore of it was last rehearsed. |
| `Location` | `string?` | `location` | The location property |
| `Name` | `string?` | `name` | projects/{project}/locations/{location}/protectedResources/{type}~{id}. |
| `NextScheduledTime` | `DateTimeOffset?` | `nextScheduledTime` | The nextScheduledTime property |
| `OldestRestorableTime` | `DateTimeOffset?` | `oldestRestorableTime` | The oldestRestorableTime property |
| `Policy` | `string?` | `policy` | The protection policy that governs it, if one is assigned. |
| `ReadTime` | `DateTimeOffset?` | `readTime` | When the centre read it. |
| `RecoveryPointObjectiveSeconds` | `long?` | `recoveryPointObjectiveSeconds` | The longest age of a good backup the schedule allows, in seconds (the interval plus a grace of 15 minutes or a tenth). |
| `Resource` | `string?` | `resource` | The owning service's resource name, for example projects/p/locations/lab-de1/disks/data. |
| `Retention` | `string?` | `retention` | The retention in words, for example `7 newest, 14 days`. |
| `RpoMet` | `bool?` | `rpoMet` | Whether the newest good backup is inside the objective; false when nothing is scheduled or no good backup exists. |
| `ScheduleIntervalSeconds` | `long?` | `scheduleIntervalSeconds` | The schedule's interval in seconds; absent when nothing is scheduled. |
| `SizeBytes` | `long?` | `sizeBytes` | The sizeBytes property |
| `State` | `Models.BackupCenter.ProtectedResource_state?` | `state` | The state property |
| `StateReason` | `string?` | `stateReason` | One sentence that says why. |
| `Type` | `string?` | `type` | The type: disk, vm, postgres, valkey, mariadb, mysql, documentdb, opensearch, clickhouse, graphdb, vectordb, timeseries, bucket, fileshare. |
| `UnsupportedReason` | `string?` | `unsupportedReason` | Why the type cannot be backed up here, when it cannot. |
