0.10.4 (latest) 0.10.3 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.5 0.1.7

    RestoreTemplate(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A `RestoreTemplate` encapsulates DR readiness configurations for
validating backups.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Identifier. The resource name of the RestoreTemplate. |
| `description` | `str` Optional. User-provided description of the restore template. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the restore template was created. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the restore template was last updated. |
| `resource_type` | `str` Required. Immutable. The specific type of the workload being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance". |
| `labels` | `MutableMapping[str, str]` Optional. User-defined labels. |
| `backup_selection_config` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.BackupSelectionConfig` Required. Backup selection configuration. |
| `pre_restore_config` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.PreRestoreConfig` Optional. Pre-restore configuration. |
| `post_restore_config` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.PostRestoreConfig` Optional. Post-restore configuration. |
| `verification_config` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.VerificationConfig` Optional. Verification configuration. |
| `restore_properties` | `google.protobuf.struct_pb2.Struct` Required. Defines target environments where the resource will be restored. The target resource name in `restore_properties` supports the `{EXECUTION_ID}` token to dynamically generate unique resource names for each execution. During restore execution, every occurrence of `{EXECUTION_ID}` in the target resource name is replaced with the 8-character `RestoreTemplateExecution` ID (for example, `"restored-resource-{EXECUTION_ID}"` or `"restored-{EXECUTION_ID}-resource"` resolves to `"restored-resource-5d437b06"` or `"restored-5d437b06-resource"`). |
| `state` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.RestoreTemplate.State` Output only. The state of the restore template. |
| `execution_summary` | `https://docs.cloud.google.com/python/docs/reference/backupdr/latest/google.cloud.backupdr_v1beta.types.ExecutionSummary` Output only. Summary of the last execution. |
| `etag` | `str` Optional. Etag for concurrency control. |

## Classes

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### State

    State(value)

The state of the RestoreTemplate.