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: String

    Identifier. 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: String

    Description 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: String

    Optional. Region in which the backup vault is created. Format: `projects/{project_id}/locations/{location}`

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

    Type: String

    Optional. Region where the backups are stored. Format: `projects/{project_id}/locations/{location}`

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

    Type: String

    Output 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: String

    Output 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: String

    Optional. 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: String

    Output 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 => 0

  • CREATING => 1

  • READY => 2

  • DELETING => 3

  • ERROR => 4

  • UPDATING => 5

Enum: BackupVault::BackupVaultType

  • BACKUP_VAULT_TYPE_UNSPECIFIED => 0

  • IN_REGION => 1

  • CROSS_REGION => 2

Enum: BackupVault::EncryptionState

  • ENCRYPTION_STATE_UNSPECIFIED => 0

  • ENCRYPTION_STATE_PENDING => 1

  • ENCRYPTION_STATE_COMPLETED => 2

  • ENCRYPTION_STATE_IN_PROGRESS => 3

  • ENCRYPTION_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: String

    Required. 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: String

    Required. The location for which to retrieve backupVault information, in the format `projects/{project_id}/locations/{location}`.

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

    Type: Int32

    The maximum number of items to return.

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

    Type: String

    The 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: String

    Sort results. Supported values are "name", "name desc" or "" (unsorted).

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

    Type: String

    List 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: String

    The 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: String

    Locations 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: String

    Required. 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: String

    Required. 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: String

    Required. 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.