NAME
Google::Cloud::Gkebackup::V1::BackupChannel - Compiled Protocol Buffers messages for google/cloud/gkebackup/v1/backup_channel.proto
SYNOPSIS
use Google::Cloud::Gkebackup::V1::BackupChannel;
my $msg = Google::Cloud::Gkebackup::V1::BackupChannel::BackupChannel->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::BackupChannel::BackupChannel->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/gkebackup/v1/backup_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::BackupChannel::BackupChannel
A BackupChannel imposes constraints on where clusters can be backed up. The BackupChannel should be in the same project and region as the cluster being backed up. The backup can be created only in destination_project.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The fully qualified name of the BackupChannel. `projects/*/locations/*/backupChannels/*`
$msg->destination_project()/$msg->destination_project($value)Type:
StringRequired. Immutable. The project where Backups are allowed to be stored. The format is `projects/{projectId}` or `projects/{projectNumber}`.
$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 BackupChannel resource was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp when this BackupChannel resource was last updated.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Gkebackup::V1::BackupChannel::BackupChannel::LabelsEntry)Optional. A set of custom labels supplied by user.
$msg->description()/$msg->description($value)Type:
StringOptional. User specified descriptive string for this BackupChannel.
$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 BackupChannel from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupChannel updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackupChannel`, and systems are expected to put that etag in the request to `UpdateBackupChannel` or `DeleteBackupChannel` 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:
StringOutput only. The project_id where Backups are allowed to be stored. 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::BackupChannel::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.