NAME

Google::Cloud::Gkebackup::V1::RestoreChannel - Compiled Protocol Buffers messages for google/cloud/gkebackup/v1/restore_channel.proto

SYNOPSIS

use Google::Cloud::Gkebackup::V1::RestoreChannel;

my $msg = Google::Cloud::Gkebackup::V1::RestoreChannel::RestoreChannel->new({
    name => $name,
    destination_project => $destination_project,
    uid => $uid,
    create_time => $create_time,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Gkebackup::V1::RestoreChannel::RestoreChannel->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/gkebackup/v1/restore_channel.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::RestoreChannel::RestoreChannel

A RestoreChannel imposes constraints on where backups can be restored. The RestoreChannel should be in the same project and region as the backups. The backups can only be restored in the `destination_project`.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The fully qualified name of the RestoreChannel. `projects/*/locations/*/restoreChannels/*`

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

    Type: String

    Required. Immutable. The project into which the backups will be restored. The format is `projects/{projectId}` or `projects/{projectNumber}`.

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

    Type: String

    Output 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 RestoreChannel was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when this RestoreChannel was last updated.

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

    Type: Message (Google::Cloud::Gkebackup::V1::RestoreChannel::RestoreChannel::LabelsEntry)

    Optional. A set of custom labels supplied by user.

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

    Type: String

    Optional. User specified descriptive string for this RestoreChannel.

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

    Type: String

    Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a RestoreChannel from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform RestoreChannel updates in order to avoid race conditions: An `etag` is returned in the response to `GetRestoreChannel`, and systems are expected to put that etag in the request to `UpdateRestoreChannel` or `DeleteRestoreChannel` to ensure that their change will be applied to the same version of the resource.

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

    Type: String

    Output only. The project_id where backups will be restored. Example Project ID: "my-project-id". This will be an OUTPUT_ONLY field to return the project_id of the destination project.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Gkebackup::V1::RestoreChannel::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.