NAME
Google::Cloud::Gkebackup::V1::RestorePlan - Compiled Protocol Buffers messages for google/cloud/gkebackup/v1/restore_plan.proto
SYNOPSIS
use Google::Cloud::Gkebackup::V1::RestorePlan;
my $msg = Google::Cloud::Gkebackup::V1::RestorePlan::RestorePlan->new({
name => $name,
uid => $uid,
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::Gkebackup::V1::RestorePlan::RestorePlan->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/gkebackup/v1/restore_plan.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::Gkebackup::V1::RestorePlan::RestorePlan
The configuration of a potential series of Restore operations to be performed against Backups belong to a particular BackupPlan.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The full name of the RestorePlan resource. Format: `projects/*/locations/*/restorePlans/*`.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp when this RestorePlan resource was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp when this RestorePlan resource was last updated.
$msg->description()/$msg->description($value)Type:
StringOptional. User specified descriptive string for this RestorePlan.
$msg->backup_plan()/$msg->backup_plan($value)Type:
StringRequired. Immutable. A reference to the [BackupPlan][google.cloud.gkebackup.v1.BackupPlan] from which Backups may be used as the source for Restores created via this RestorePlan. Format: `projects/*/locations/*/backupPlans/*`.
$msg->cluster()/$msg->cluster($value)Type:
StringRequired. Immutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats:
- `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*`$msg->restore_config()/$msg->restore_config($value)Type:
Message(Google::Cloud::Gkebackup::V1::Restore::RestoreConfig)Required. Configuration of Restores created via this RestorePlan.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Gkebackup::V1::RestorePlan::RestorePlan::LabelsEntry)Optional. A set of custom labels supplied by user.
$msg->etag()/$msg->etag($value)Type:
StringOutput only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An `etag` is returned in the response to `GetRestorePlan`, and systems are expected to put that etag in the request to `UpdateRestorePlan` or `DeleteRestorePlan` to ensure that their change will be applied to the same version of the resource.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Gkebackup::V1::RestorePlan::State)Output only. State of the RestorePlan. This State field reflects the various stages a RestorePlan can be in during the Create operation.
$msg->state_reason()/$msg->state_reason($value)Type:
StringOutput only. Human-readable description of why RestorePlan is in the current `state`. This field is only meant for human readability and should not be used programmatically as this field is not guaranteed to be consistent.
$msg->restore_channel()/$msg->restore_channel($value)Type:
StringOutput only. The fully qualified name of the RestoreChannel to be used to create a RestorePlan. This field is set only if the `backup_plan` is in a different project than the RestorePlan. Format: `projects/*/locations/*/restoreChannels/*`
Enum: RestorePlan::State
STATE_UNSPECIFIED=>0CLUSTER_PENDING=>1READY=>2FAILED=>3DELETING=>4
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Gkebackup::V1::RestorePlan::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.