Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::RestoreTemplate.
A RestoreTemplate encapsulates DR readiness configurations for validating
backups.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup_selection_config
def backup_selection_config() -> ::Google::Cloud::BackupDR::V1::BackupSelectionConfig- (::Google::Cloud::BackupDR::V1::BackupSelectionConfig) — Required. Backup selection configuration.
#backup_selection_config=
def backup_selection_config=(value) -> ::Google::Cloud::BackupDR::V1::BackupSelectionConfig- value (::Google::Cloud::BackupDR::V1::BackupSelectionConfig) — Required. Backup selection configuration.
- (::Google::Cloud::BackupDR::V1::BackupSelectionConfig) — Required. Backup selection configuration.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The time when the restore template was created.
#description
def description() -> ::String- (::String) — Optional. User-provided description of the restore template.
#description=
def description=(value) -> ::String- value (::String) — Optional. User-provided description of the restore template.
- (::String) — Optional. User-provided description of the restore template.
#etag
def etag() -> ::String- (::String) — Optional. Etag for concurrency control.
#etag=
def etag=(value) -> ::String- value (::String) — Optional. Etag for concurrency control.
- (::String) — Optional. Etag for concurrency control.
#execution_summary
def execution_summary() -> ::Google::Cloud::BackupDR::V1::ExecutionSummary- (::Google::Cloud::BackupDR::V1::ExecutionSummary) — Output only. Summary of the last execution.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.
#name
def name() -> ::String- (::String) — Identifier. The resource name of the RestoreTemplate.
#name=
def name=(value) -> ::String- value (::String) — Identifier. The resource name of the RestoreTemplate.
- (::String) — Identifier. The resource name of the RestoreTemplate.
#post_restore_config
def post_restore_config() -> ::Google::Cloud::BackupDR::V1::PostRestoreConfig- (::Google::Cloud::BackupDR::V1::PostRestoreConfig) — Optional. Post-restore configuration.
#post_restore_config=
def post_restore_config=(value) -> ::Google::Cloud::BackupDR::V1::PostRestoreConfig- value (::Google::Cloud::BackupDR::V1::PostRestoreConfig) — Optional. Post-restore configuration.
- (::Google::Cloud::BackupDR::V1::PostRestoreConfig) — Optional. Post-restore configuration.
#pre_restore_config
def pre_restore_config() -> ::Google::Cloud::BackupDR::V1::PreRestoreConfig- (::Google::Cloud::BackupDR::V1::PreRestoreConfig) — Optional. Pre-restore configuration.
#pre_restore_config=
def pre_restore_config=(value) -> ::Google::Cloud::BackupDR::V1::PreRestoreConfig- value (::Google::Cloud::BackupDR::V1::PreRestoreConfig) — Optional. Pre-restore configuration.
- (::Google::Cloud::BackupDR::V1::PreRestoreConfig) — Optional. Pre-restore configuration.
#resource_type
def resource_type() -> ::String- (::String) — Required. Immutable. The specific type of the workload being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance".
#resource_type=
def resource_type=(value) -> ::String- value (::String) — Required. Immutable. The specific type of the workload being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance".
- (::String) — Required. Immutable. The specific type of the workload being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance".
#restore_properties
def restore_properties() -> ::Google::Protobuf::Struct-
(::Google::Protobuf::Struct) — Required. Defines target environments where the resource will be restored.
The target resource name in
restore_propertiessupports 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-characterRestoreTemplateExecutionID (for example,"restored-resource-{EXECUTION_ID}"or"restored-{EXECUTION_ID}-resource"resolves to"restored-resource-5d437b06"or"restored-5d437b06-resource").
#restore_properties=
def restore_properties=(value) -> ::Google::Protobuf::Struct-
value (::Google::Protobuf::Struct) — Required. Defines target environments where the resource will be restored.
The target resource name in
restore_propertiessupports 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-characterRestoreTemplateExecutionID (for example,"restored-resource-{EXECUTION_ID}"or"restored-{EXECUTION_ID}-resource"resolves to"restored-resource-5d437b06"or"restored-5d437b06-resource").
-
(::Google::Protobuf::Struct) — Required. Defines target environments where the resource will be restored.
The target resource name in
restore_propertiessupports 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-characterRestoreTemplateExecutionID (for example,"restored-resource-{EXECUTION_ID}"or"restored-{EXECUTION_ID}-resource"resolves to"restored-resource-5d437b06"or"restored-5d437b06-resource").
#state
def state() -> ::Google::Cloud::BackupDR::V1::RestoreTemplate::State- (::Google::Cloud::BackupDR::V1::RestoreTemplate::State) — Output only. The state of the restore template.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The time when the restore template was last updated.
#verification_config
def verification_config() -> ::Google::Cloud::BackupDR::V1::VerificationConfig- (::Google::Cloud::BackupDR::V1::VerificationConfig) — Optional. Verification configuration.
#verification_config=
def verification_config=(value) -> ::Google::Cloud::BackupDR::V1::VerificationConfig- value (::Google::Cloud::BackupDR::V1::VerificationConfig) — Optional. Verification configuration.
- (::Google::Cloud::BackupDR::V1::VerificationConfig) — Optional. Verification configuration.