NAME
Google::Cloud::Netapp::V1::BackupVault - Compiled Protocol Buffers messages for google/cloud/netapp/v1/backup_vault.proto
SYNOPSIS
use Google::Cloud::Netapp::V1::BackupVault;
my $msg = Google::Cloud::Netapp::V1::BackupVault::BackupVault->new({
name => $name,
state => $state,
create_time => $create_time,
description => $description,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Netapp::V1::BackupVault::BackupVault->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/netapp/v1/backup_vault.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::Netapp::V1::BackupVault::BackupVault
A NetApp BackupVault.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The resource name of the backup vault. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Netapp::V1::BackupVault::State)Output only. The backup vault state.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Create time of the backup vault.
$msg->description()/$msg->description($value)Type:
StringDescription of the backup vault.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Netapp::V1::BackupVault::BackupVault::LabelsEntry)Resource labels to represent user provided metadata.
$msg->backup_vault_type()/$msg->backup_vault_type($value)Type:
Enum(Google::Cloud::Netapp::V1::BackupVault::BackupVaultType)Optional. Type of backup vault to be created. Default is IN_REGION.
$msg->source_region()/$msg->source_region($value)Type:
StringOptional. Region in which the backup vault is created. Format: `projects/{project_id}/locations/{location}`
$msg->backup_region()/$msg->backup_region($value)Type:
StringOptional. Region where the backups are stored. Format: `projects/{project_id}/locations/{location}`
$msg->source_backup_vault()/$msg->source_backup_vault($value)Type:
StringOutput only. Name of the Backup vault created in source region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
$msg->destination_backup_vault()/$msg->destination_backup_vault($value)Type:
StringOutput only. Name of the Backup vault created in backup region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
$msg->backup_retention_policy()/$msg->backup_retention_policy($value)Type:
Message(Google::Cloud::Netapp::V1::BackupVault::BackupVault::BackupRetentionPolicy)Optional. Backup retention policy defining the retention of backups.
$msg->kms_config()/$msg->kms_config($value)Type:
StringOptional. Specifies the Key Management System (KMS) configuration to be used for backup encryption. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
$msg->encryption_state()/$msg->encryption_state($value)Type:
Enum(Google::Cloud::Netapp::V1::BackupVault::EncryptionState)Output only. Field indicating encryption state of CMEK backups.
$msg->backups_crypto_key_version()/$msg->backups_crypto_key_version($value)Type:
StringOutput only. The crypto key version used to encrypt the backup vault. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`
Enum: BackupVault::State
STATE_UNSPECIFIED=>0CREATING=>1READY=>2DELETING=>3ERROR=>4UPDATING=>5
Enum: BackupVault::BackupVaultType
BACKUP_VAULT_TYPE_UNSPECIFIED=>0IN_REGION=>1CROSS_REGION=>2
Enum: BackupVault::EncryptionState
ENCRYPTION_STATE_UNSPECIFIED=>0ENCRYPTION_STATE_PENDING=>1ENCRYPTION_STATE_COMPLETED=>2ENCRYPTION_STATE_IN_PROGRESS=>3ENCRYPTION_STATE_FAILED=>4
Google::Cloud::Netapp::V1::BackupVault::GetBackupVaultRequest
GetBackupVaultRequest gets the state of a backupVault.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The backupVault resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
Google::Cloud::Netapp::V1::BackupVault::ListBackupVaultsRequest
ListBackupVaultsRequest lists backupVaults.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The location for which to retrieve backupVault information, in the format `projects/{project_id}/locations/{location}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringThe next_page_token value to use if there are additional results to retrieve for this list request.
$msg->order_by()/$msg->order_by($value)Type:
StringSort results. Supported values are "name", "name desc" or "" (unsorted).
$msg->filter()/$msg->filter($value)Type:
StringList filter.
Google::Cloud::Netapp::V1::BackupVault::ListBackupVaultsResponse
ListBackupVaultsResponse is the result of ListBackupVaultsRequest.
Inherits from Protobuf::Message.
Accessors
$msg->backup_vaults()/$msg->backup_vaults($value)Type:
Message(Google::Cloud::Netapp::V1::BackupVault::BackupVault)A list of backupVaults in the project for the specified location.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Netapp::V1::BackupVault::CreateBackupVaultRequest
CreateBackupVaultRequest creates a backup vault.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The location to create the backup vaults, in the format `projects/{project_id}/locations/{location}`
$msg->backup_vault_id()/$msg->backup_vault_id($value)Type:
StringRequired. The ID to use for the backupVault. The ID must be unique within the specified location. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
$msg->backup_vault()/$msg->backup_vault($value)Type:
Message(Google::Cloud::Netapp::V1::BackupVault::BackupVault)Required. A backupVault resource
Google::Cloud::Netapp::V1::BackupVault::DeleteBackupVaultRequest
DeleteBackupVaultRequest deletes a backupVault.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The backupVault resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`
Google::Cloud::Netapp::V1::BackupVault::UpdateBackupVaultRequest
UpdateBackupVaultRequest updates description and/or labels for a backupVault.
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
$msg->backup_vault()/$msg->backup_vault($value)Type:
Message(Google::Cloud::Netapp::V1::BackupVault::BackupVault)Required. The backupVault being updated
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Netapp::V1::BackupVault::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.