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

Enum: RestoreTemplateExecution::ExecutionType

  • EXECUTION_TYPE_UNSPECIFIED => 0

  • SCHEDULED => 1

  • ON_DEMAND => 2

Enum: RestoreTemplateExecution::ExecutionPhase

  • EXECUTION_PHASE_UNSPECIFIED => 0

  • PREPARING => 1

  • EXECUTING_PRE_RESTORE_ACTION => 2

  • RESTORING => 3

  • EXECUTING_POST_RESTORE_ACTION => 4

  • VERIFYING => 5

  • CLEANING_UP => 6

  • COMPLETED => 7

Enum: RestoreTemplateExecution::ExecutionState

  • EXECUTION_STATE_UNSPECIFIED => 0

  • RUNNING => 1

  • SUCCEEDED => 2

  • FAILED => 3

  • DELETING => 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: String

    Output 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: Bool

    Output only. Indicates whether the backup was explicitly passed in the request.

  • $msg->restore_verification_plan_association() / $msg->restore_verification_plan_association($value)

    Type: String

    Output 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

Google::Cloud::Backupdr::V1::RestoreTemplateExecution::RestorePhaseInfo

Info for Restore phase execution.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Backupdr::V1::RestoreTemplateExecution::PostRestorePhaseInfo

Info for Post-Restore phase execution.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Backupdr::V1::RestoreTemplateExecution::VerificationPhaseInfo

Info for Verification phase execution.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Backupdr::V1::RestoreTemplateExecution::CleanupPhaseInfo

Info for Cleanup phase execution.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Backupdr::V1::RestoreTemplateExecution::GetRestoreTemplateExecutionRequest

Request message for getting a RestoreTemplateExecution instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. 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: String

    Required. 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: String

    Optional. 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: String

    Required. 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: Int32

    Optional. Requested page size.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filtering results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. 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: String

    A token identifying a page of results.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations 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.