NAME

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

SYNOPSIS

use Google::Cloud::Gkebackup::V1::BackupPlanBinding;

my $msg = Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding->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::BackupPlanBinding::BackupPlanBinding->parse($bytes);

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

DESCRIPTION

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

A BackupPlanBinding binds a BackupPlan with a BackupChannel. This resource is created automatically when a BackupPlan is created using a BackupChannel. This also serves as a holder for cross-project fields that need to be displayed in the current project.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The fully qualified name of the BackupPlanBinding. `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`

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

    Type: String

    Output only. Server generated global unique identifier of [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)

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

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

    Output only. The timestamp when this binding was created.

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

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

    Output only. The timestamp when this binding was created.

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

    Type: String

    Output only. Immutable. The fully qualified name of the BackupPlan bound with the parent BackupChannel. `projects/*/locations/*/backupPlans/{backup_plan}`

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

    Type: String

    Output only. Immutable. The fully qualified name of the cluster that is being backed up Valid formats:

    - `projects/*/locations/*/clusters/*` - `projects/*/zones/*/clusters/*`

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

    Type: Message (Google::Cloud::Gkebackup::V1::BackupPlanBinding::BackupPlanBinding::BackupPlanDetails)

    Output only. Contains details about the backup plan/backup.

  • $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 BackupPlanBinding from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlanBinding updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackupPlanBinding`, and systems are expected to put that etag in the request to `UpdateBackupPlanBinding` or `DeleteBackupPlanBinding` to ensure that their change will be applied to the same version of the resource.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.