NAME
Google::Cloud::Backupdr::V1::RestoreTemplateExecution - Compiled Protocol Buffers messages for google/cloud/backupdr/v1/restore_template_execution.proto
SYNOPSIS
use Google::Cloud::Backupdr::V1::RestoreTemplateExecution;
my $msg = Google::Cloud::Backupdr::V1::RestoreTemplateExecution::RestoreTemplateExecution->new({
name => $name,
resource_type => $resource_type,
create_time => $create_time,
update_time => $update_time,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Backupdr::V1::RestoreTemplateExecution::RestoreTemplateExecution->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/backupdr/v1/restore_template_execution.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Backupdr::V1::RestoreTemplateExecution::RestoreTemplateExecution
A `RestoreTemplateExecution` represents a single historical or active execution run.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Resource name of the execution.
$msg->resource_type()/$msg->resource_type($value)Type:
StringOutput only. The workload resource type being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance".
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Create time of the execution.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Update time of the execution.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Backupdr::V1::RestoreTemplateExecution::ExecutionType)Output only. The type of the execution.
$msg->phase()/$msg->phase($value)Type:
Enum(Google::Cloud::Backupdr::V1::RestoreTemplateExecution::ExecutionPhase)Output only. The current active phase.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Backupdr::V1::RestoreTemplateExecution::ExecutionState)Output only. State of the execution.
$msg->prepare_phase_info()/$msg->prepare_phase_info($value)Type:
Message(Google::Cloud::Backupdr::V1::RestoreTemplateExecution::PreparePhaseInfo)Output only. Info for the prepare phase.
$msg->pre_restore_phase_info()/$msg->pre_restore_phase_info($value)Type:
Message(Google::Cloud::Backupdr::V1::RestoreTemplateExecution::PreRestorePhaseInfo)Output only. Info for the pre-restore phase.
$msg->restore_phase_info()/$msg->restore_phase_info($value)Type:
Message(Google::Cloud::Backupdr::V1::RestoreTemplateExecution::RestorePhaseInfo)Output only. Info for the restore phase.
$msg->post_restore_phase_info()/$msg->post_restore_phase_info($value)Type:
Message(Google::Cloud::Backupdr::V1::RestoreTemplateExecution::PostRestorePhaseInfo)Output only. Info for the post-restore phase.
$msg->verification_phase_info()/$msg->verification_phase_info($value)Type:
Message(Google::Cloud::Backupdr::V1::RestoreTemplateExecution::VerificationPhaseInfo)Output only. Info for the verification phase.
$msg->cleanup_phase_info()/$msg->cleanup_phase_info($value)Type:
Message(Google::Cloud::Backupdr::V1::RestoreTemplateExecution::CleanupPhaseInfo)Output only. Info for the cleanup phase.
Enum: RestoreTemplateExecution::ExecutionType
EXECUTION_TYPE_UNSPECIFIED=>0SCHEDULED=>1ON_DEMAND=>2
Enum: RestoreTemplateExecution::ExecutionPhase
EXECUTION_PHASE_UNSPECIFIED=>0PREPARING=>1EXECUTING_PRE_RESTORE_ACTION=>2RESTORING=>3EXECUTING_POST_RESTORE_ACTION=>4VERIFYING=>5CLEANING_UP=>6COMPLETED=>7
Enum: RestoreTemplateExecution::ExecutionState
EXECUTION_STATE_UNSPECIFIED=>0RUNNING=>1SUCCEEDED=>2FAILED=>3DELETING=>4
Google::Cloud::Backupdr::V1::RestoreTemplateExecution::PreparePhaseInfo
Info for Prepare phase execution.
Inherits from Protobuf::Message.
Accessors
$msg->phase_state()/$msg->phase_state($value)Type:
Enum(Google::Cloud::Backupdr::V1::PhaseState)Output only. The state of this phase.
$msg->error()/$msg->error($value)Type:
Message(Google::Rpc::Status::Status)Output only. Error details if the phase failed.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Start time of the phase.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. End time of the phase.
$msg->backup_selection_config()/$msg->backup_selection_config($value)Type:
Message(Google::Cloud::Backupdr::V1::RestoreTemplateCommon::BackupSelectionConfig)Output only. Snapshot of config used in this execution.
$msg->backup()/$msg->backup($value)Type:
StringOutput only. The source backup used for the restore. The fully qualified URI of the backupdr backup.
$msg->is_backup_explicitly_passed()/$msg->is_backup_explicitly_passed($value)Type:
BoolOutput only. Indicates whether the backup was explicitly passed in the request.
$msg->restore_verification_plan_association()/$msg->restore_verification_plan_association($value)Type:
StringOutput only. The restore verification plan association associated with the execution.
Google::Cloud::Backupdr::V1::RestoreTemplateExecution::PreRestorePhaseInfo
Info for Pre-Restore phase execution.
Inherits from Protobuf::Message.
Accessors
$msg->phase_state()/$msg->phase_state($value)Type:
Enum(Google::Cloud::Backupdr::V1::PhaseState)Output only. The state of this phase.
$msg->error()/$msg->error($value)Type:
Message(Google::Rpc::Status::Status)Output only. Error details if the phase failed.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Start time of the phase.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. End time of the phase.
$msg->pre_restore_config()/$msg->pre_restore_config($value)Type:
Message(Google::Cloud::Backupdr::V1::RestoreTemplateCommon::PreRestoreConfig)Output only. Snapshot of config that will be executed before restore operation.
$msg->cloud_run_execution()/$msg->cloud_run_execution($value)Type:
StringOutput only. The fully qualified URI of the Cloud Run Execution triggered for pre-restore actions.
Google::Cloud::Backupdr::V1::RestoreTemplateExecution::RestorePhaseInfo
Info for Restore phase execution.
Inherits from Protobuf::Message.
Accessors
$msg->phase_state()/$msg->phase_state($value)Type:
Enum(Google::Cloud::Backupdr::V1::PhaseState)Output only. The state of this phase.
$msg->error()/$msg->error($value)Type:
Message(Google::Rpc::Status::Status)Output only. Error details if the phase failed.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Start time of the phase.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. End time of the phase.
$msg->restore_properties()/$msg->restore_properties($value)Type:
Message(Google::Protobuf::Struct::Struct)Output only. Snapshot of environment config used during restore of this RestoreTemplateExecution.
$msg->restore_resource()/$msg->restore_resource($value)Type:
StringOutput only. The resource created or restored by this execution.
$msg->restore_duration()/$msg->restore_duration($value)Type:
Message(Google::Protobuf::Duration::Duration)Output only. Time taken to restore the resource.
Google::Cloud::Backupdr::V1::RestoreTemplateExecution::PostRestorePhaseInfo
Info for Post-Restore phase execution.
Inherits from Protobuf::Message.
Accessors
$msg->phase_state()/$msg->phase_state($value)Type:
Enum(Google::Cloud::Backupdr::V1::PhaseState)Output only. The state of this phase.
$msg->error()/$msg->error($value)Type:
Message(Google::Rpc::Status::Status)Output only. Error details if the phase failed.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Start time of the phase.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. End time of the phase.
$msg->post_restore_config()/$msg->post_restore_config($value)Type:
Message(Google::Cloud::Backupdr::V1::RestoreTemplateCommon::PostRestoreConfig)Output only. Snapshot of config that will be executed after successful restore operation.
$msg->cloud_run_execution()/$msg->cloud_run_execution($value)Type:
StringOutput only. The fully qualified URI of the Cloud Run Execution triggered for post-restore actions.
Google::Cloud::Backupdr::V1::RestoreTemplateExecution::VerificationPhaseInfo
Info for Verification phase execution.
Inherits from Protobuf::Message.
Accessors
$msg->phase_state()/$msg->phase_state($value)Type:
Enum(Google::Cloud::Backupdr::V1::PhaseState)Output only. The state of this phase.
$msg->error()/$msg->error($value)Type:
Message(Google::Rpc::Status::Status)Output only. Error details if the phase failed.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Start time of the phase.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. End time of the phase.
$msg->verification_config()/$msg->verification_config($value)Type:
Message(Google::Cloud::Backupdr::V1::RestoreTemplateCommon::VerificationConfig)Output only. Snapshot of config that will be executed after successful post restore validation.
$msg->cloud_run_execution()/$msg->cloud_run_execution($value)Type:
StringOutput only. The fully qualified URI of the Cloud Run Execution triggered for verification.
Google::Cloud::Backupdr::V1::RestoreTemplateExecution::CleanupPhaseInfo
Info for Cleanup phase execution.
Inherits from Protobuf::Message.
Accessors
$msg->phase_state()/$msg->phase_state($value)Type:
Enum(Google::Cloud::Backupdr::V1::PhaseState)Output only. The state of this phase.
$msg->error()/$msg->error($value)Type:
Message(Google::Rpc::Status::Status)Output only. Error details if the phase failed.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Start time of the phase.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. End time of the phase.
$msg->cleanup_duration()/$msg->cleanup_duration($value)Type:
Message(Google::Protobuf::Duration::Duration)Output only. Time taken to perform the cleanup of restored resource.
$msg->success_cleanup_rule()/$msg->success_cleanup_rule($value)Type:
Message(Google::Cloud::Backupdr::V1::RestoreVerificationPlan::RestoreVerificationCleanupRule)Output only. Snapshot of cleanup rule provided for this execution when execution is successful.
$msg->failure_cleanup_rule()/$msg->failure_cleanup_rule($value)Type:
Message(Google::Cloud::Backupdr::V1::RestoreVerificationPlan::RestoreVerificationCleanupRule)Output only. Snapshot of cleanup rule provided for this execution when execution is failed.
$msg->cleanup_time()/$msg->cleanup_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the resources will be cleaned up.
Google::Cloud::Backupdr::V1::RestoreTemplateExecution::GetRestoreTemplateExecutionRequest
Request message for getting a RestoreTemplateExecution instance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the restore template execution to retrieve. Format: 'projects/{project_id}/locations/{location}/restoreTemplates/{restore_template_id}/executions/{execution_id}'
Google::Cloud::Backupdr::V1::RestoreTemplateExecution::TriggerRestoreCleanupRequest
Request message for triggering a restore cleanup.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the restore template execution. Format: 'projects/{project_id}/locations/{location}/restoreTemplates/{restore_template_id}/executions/{execution_id}'
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Backupdr::V1::RestoreTemplateExecution::ListRestoreTemplateExecutionsRequest
Request message for listing RestoreTemplateExecutions.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project, location, and restore template for which to retrieve executions information. Format: `projects/{project}/locations/{location}/restoreTemplates/{restore_template}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results.
Google::Cloud::Backupdr::V1::RestoreTemplateExecution::ListRestoreTemplateExecutionsResponse
Response message for listing RestoreTemplateExecutions.
Inherits from Protobuf::Message.
Accessors
$msg->restore_template_executions()/$msg->restore_template_executions($value)Type:
Message(Google::Cloud::Backupdr::V1::RestoreTemplateExecution::RestoreTemplateExecution)The list of RestoreTemplateExecution instances.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Backupdr::V1::RestoreTemplateExecution::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.