Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::RestoreTemplate (v1.13.0)

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
Returns

#backup_selection_config=

def backup_selection_config=(value) -> ::Google::Cloud::BackupDR::V1::BackupSelectionConfig
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. User-provided description of the restore template.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. User-provided description of the restore template.
Returns
  • (::String) — Optional. User-provided description of the restore template.

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. Etag for concurrency control.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Optional. Etag for concurrency control.
Returns
  • (::String) — Optional. Etag for concurrency control.

#execution_summary

def execution_summary() -> ::Google::Cloud::BackupDR::V1::ExecutionSummary
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The resource name of the RestoreTemplate.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name of the RestoreTemplate.
Returns
  • (::String) — Identifier. The resource name of the RestoreTemplate.

#post_restore_config

def post_restore_config() -> ::Google::Cloud::BackupDR::V1::PostRestoreConfig
Returns

#post_restore_config=

def post_restore_config=(value) -> ::Google::Cloud::BackupDR::V1::PostRestoreConfig
Parameter
Returns

#pre_restore_config

def pre_restore_config() -> ::Google::Cloud::BackupDR::V1::PreRestoreConfig
Returns

#pre_restore_config=

def pre_restore_config=(value) -> ::Google::Cloud::BackupDR::V1::PreRestoreConfig
Parameter
Returns

#resource_type

def resource_type() -> ::String
Returns
  • (::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
Parameter
  • 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".
Returns
  • (::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
Returns
  • (::Google::Protobuf::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").

#restore_properties=

def restore_properties=(value) -> ::Google::Protobuf::Struct
Parameter
  • value (::Google::Protobuf::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").

Returns
  • (::Google::Protobuf::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

def state() -> ::Google::Cloud::BackupDR::V1::RestoreTemplate::State
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#verification_config

def verification_config() -> ::Google::Cloud::BackupDR::V1::VerificationConfig
Returns

#verification_config=

def verification_config=(value) -> ::Google::Cloud::BackupDR::V1::VerificationConfig
Parameter
Returns