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:
StringRequired. Target project for the disk.
$msg->zone()/$msg->zone($value)Type:
StringRequired. 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:
StringRequired. Target project for the disk.
$msg->region()/$msg->region($value)Type:
StringRequired. Target region for the disk.
$msg->replica_zones()/$msg->replica_zones($value)Type:
StringRequired. 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:
StringRequired. Name of the disk.
$msg->description()/$msg->description($value)Type:
StringOptional. An optional description of this resource. Provide this property when you create the resource.
$msg->size_gb()/$msg->size_gb($value)Type:
Int64Required. The size of the disk in GB.
$msg->licenses()/$msg->licenses($value)Type:
StringOptional. 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:
Int64Optional. 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:
Int64Optional. 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:
Int64Optional. 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:
BoolOptional. 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:
StringOptional. 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:
StringOptional. Resource policies applied to this disk.
$msg->type()/$msg->type($value)Type:
StringRequired. 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=>0READ_WRITE_MANY=>1READ_ONLY_MANY=>2
Enum: DiskRestoreProperties::Architecture
ARCHITECTURE_UNSPECIFIED=>0X86_64=>1ARM64=>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:
StringA description of the source disk.
$msg->licenses()/$msg->licenses($value)Type:
StringA 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:
StringThe URL of the type of the disk.
$msg->size_gb()/$msg->size_gb($value)Type:
Int64Size(in GB) of the source disk.
$msg->region()/$msg->region($value)Type:
StringRegion and zone are mutually exclusive fields. The URL of the region of the source disk.
$msg->zone()/$msg->zone($value)Type:
StringThe URL of the Zone where the source disk.
$msg->replica_zones()/$msg->replica_zones($value)Type:
StringThe URL of the Zones where the source disk should be replicated.
$msg->source_disk()/$msg->source_disk($value)Type:
StringThe source disk used to create this backup.
Enum: DiskBackupProperties::Architecture
ARCHITECTURE_UNSPECIFIED=>0X86_64=>1ARM64=>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:
StringName of the disk backed up by the datasource.
$msg->description()/$msg->description($value)Type:
StringThe description of the disk.
$msg->type()/$msg->type($value)Type:
StringThe type of the disk.
$msg->size_gb()/$msg->size_gb($value)Type:
Int64The 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.