NAME

Google::Cloud::Backupdr::V1::BackupvaultDisk - Compiled Protocol Buffers messages for google/cloud/backupdr/v1/backupvault_disk.proto

SYNOPSIS

use Google::Cloud::Backupdr::V1::BackupvaultDisk;

my $msg = Google::Cloud::Backupdr::V1::BackupvaultDisk::DiskTargetEnvironment->new({
    project => $project,
    zone => $zone,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/backupdr/v1/backupvault_disk.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::BackupvaultDisk::DiskTargetEnvironment

DiskTargetEnvironment represents the target environment for the disk.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Target project for the disk.

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

    Type: String

    Required. Target zone for the disk.

Google::Cloud::Backupdr::V1::BackupvaultDisk::RegionDiskTargetEnvironment

RegionDiskTargetEnvironment represents the target environment for the disk.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Target project for the disk.

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

    Type: String

    Required. Target region for the disk.

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

    Type: String

    Required. Target URLs of the replica zones for the disk.

Google::Cloud::Backupdr::V1::BackupvaultDisk::DiskRestoreProperties

DiskRestoreProperties represents the properties of a Disk restore.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the disk.

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

    Type: String

    Optional. An optional description of this resource. Provide this property when you create the resource.

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

    Type: Int64

    Required. The size of the disk in GB.

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

    Type: String

    Optional. A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image

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

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::GuestOsFeature)

    Optional. A list of features to enable in the guest operating system. This is applicable only for bootable images.

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

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::CustomerEncryptionKey)

    Optional. Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key.

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

    Type: Int64

    Optional. Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently, the supported size is 4096.

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

    Type: Int64

    Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.

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

    Type: Int64

    Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput MB per second that the disk can handle.

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

    Type: Bool

    Optional. Indicates whether this disk is using confidential compute mode. Encryption with a Cloud KMS key is required to enable this option.

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

    Type: String

    Optional. The storage pool in which the new disk is created. You can provide this as a partial or full URL to the resource.

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

    Type: Enum (Google::Cloud::Backupdr::V1::DiskRestoreProperties::AccessMode)

    Optional. The access mode of the disk.

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

    Type: Enum (Google::Cloud::Backupdr::V1::DiskRestoreProperties::Architecture)

    Optional. The architecture of the source disk. Valid values are ARM64 or X86_64.

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

    Type: String

    Optional. Resource policies applied to this disk.

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

    Type: String

    Required. URL of the disk type resource describing which disk type to use to create the disk.

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

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultDisk::DiskRestoreProperties::LabelsEntry)

    Optional. Labels to apply to this disk. These can be modified later using <code>setLabels</code> method. Label values can be empty.

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

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultDisk::DiskRestoreProperties::ResourceManagerTagsEntry)

    Optional. Resource manager tags to be bound to the disk.

Enum: DiskRestoreProperties::AccessMode

  • READ_WRITE_SINGLE => 0

  • READ_WRITE_MANY => 1

  • READ_ONLY_MANY => 2

Enum: DiskRestoreProperties::Architecture

  • ARCHITECTURE_UNSPECIFIED => 0

  • X86_64 => 1

  • ARM64 => 2

Google::Cloud::Backupdr::V1::BackupvaultDisk::DiskBackupProperties

DiskBackupProperties represents the properties of a Disk backup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    A description of the source disk.

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

    Type: String

    A list of publicly available licenses that are applicable to this backup. This is applicable if the original image had licenses attached, e.g. Windows image.

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

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::GuestOsFeature)

    A list of guest OS features that are applicable to this backup.

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

    Type: Enum (Google::Cloud::Backupdr::V1::DiskBackupProperties::Architecture)

    The architecture of the source disk. Valid values are ARM64 or X86_64.

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

    Type: String

    The URL of the type of the disk.

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

    Type: Int64

    Size(in GB) of the source disk.

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

    Type: String

    Region and zone are mutually exclusive fields. The URL of the region of the source disk.

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

    Type: String

    The URL of the Zone where the source disk.

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

    Type: String

    The URL of the Zones where the source disk should be replicated.

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

    Type: String

    The source disk used to create this backup.

Enum: DiskBackupProperties::Architecture

  • ARCHITECTURE_UNSPECIFIED => 0

  • X86_64 => 1

  • ARM64 => 2

Google::Cloud::Backupdr::V1::BackupvaultDisk::DiskDataSourceProperties

DiskDataSourceProperties represents the properties of a Disk resource that are stored in the DataSource. .

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the disk backed up by the datasource.

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

    Type: String

    The description of the disk.

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

    Type: String

    The type of the disk.

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

    Type: Int64

    The size of the disk in GB.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Backupdr::V1::BackupvaultDisk::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.