NAME

Google::Cloud::Netapp::V1::Backup - Compiled Protocol Buffers messages for google/cloud/netapp/v1/backup.proto

SYNOPSIS

use Google::Cloud::Netapp::V1::Backup;

my $msg = Google::Cloud::Netapp::V1::Backup::Backup->new({
    name => $name,
    state => $state,
    description => $description,
    volume_usage_bytes => $volume_usage_bytes,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/netapp/v1/backup.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::Backup::Backup

A NetApp Backup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The resource name of the backup. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`.

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

    Type: Enum (Google::Cloud::Netapp::V1::Backup::State)

    Output only. The backup state.

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

    Type: String

    A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.

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

    Type: Int64

    Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big.

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

    Type: Enum (Google::Cloud::Netapp::V1::Backup::Type)

    Output only. Type of backup, manually created or created by a backup policy.

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

    Type: String

    The resource name of the volume that this backup belongs to. You must provide either `source_volume` or `ontap_source`. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}`

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

    Type: String

    If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`

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

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

    Output only. The time when the backup was created.

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

    Type: Message (Google::Cloud::Netapp::V1::Backup::Backup::LabelsEntry)

    Resource labels to represent user provided metadata.

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

    Type: Int64

    Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size)

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

    Type: Bool

    Output only. Reserved for future use

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

    Type: Bool

    Output only. Reserved for future use

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

    Type: String

    Output only. Region of the volume from which the backup was created. Format: `projects/{project_id}/locations/{location}`

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

    Type: String

    Output only. Region in which backup is stored. Format: `projects/{project_id}/locations/{location}`

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

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

    Output only. The time until which the backup is not deletable.

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

    Type: Message (Google::Cloud::Netapp::V1::Backup::OntapSource)

    Optional. Represents source details for ONTAP backups. Either source_volume or ontap_source should be provided.

Enum: Backup::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • UPLOADING => 2

  • READY => 3

  • DELETING => 4

  • ERROR => 5

  • UPDATING => 6

Enum: Backup::Type

  • TYPE_UNSPECIFIED => 0

  • MANUAL => 1

  • SCHEDULED => 2

Google::Cloud::Netapp::V1::Backup::ListBackupsRequest

ListBackupsRequest lists backups.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The backupVault for which to retrieve backup information, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`. To retrieve backup information for all locations, use "-" for the `{location}` value. To retrieve backup information for all backupVaults, use "-" for the `{backup_vault_id}` value. To retrieve backup information for a volume, use "-" for the `{backup_vault_id}` value and specify volume full name with the filter.

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

    Type: Int32

    The maximum number of items to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • $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

    The standard list filter. If specified, backups will be returned based on the attribute name that matches the filter expression. If empty, then no backups are filtered out. See https://google.aip.dev/160

Google::Cloud::Netapp::V1::Backup::ListBackupsResponse

ListBackupsResponse is the result of ListBackupsRequest.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Netapp::V1::Backup::Backup)

    A list of backups in the project.

  • $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::Backup::GetBackupRequest

GetBackupRequest gets the state of a backup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The backup resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`

Google::Cloud::Netapp::V1::Backup::CreateBackupRequest

CreateBackupRequest creates a backup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The NetApp backupVault to create the backups of, in the format `projects/*/locations/*/backupVaults/{backup_vault_id}`

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

    Type: String

    Required. The ID to use for the backup. The ID must be unique within the specified backupVault. 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() / $msg->backup($value)

    Type: Message (Google::Cloud::Netapp::V1::Backup::Backup)

    Required. A backup resource

Google::Cloud::Netapp::V1::Backup::DeleteBackupRequest

DeleteBackupRequest deletes a backup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The backup resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`

Google::Cloud::Netapp::V1::Backup::UpdateBackupRequest

UpdateBackupRequest updates description and/or labels for a backup.

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() / $msg->backup($value)

    Type: Message (Google::Cloud::Netapp::V1::Backup::Backup)

    Required. The backup being updated

Google::Cloud::Netapp::V1::Backup::OntapSource

Represents ONTAP source details.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the storage pool. This must be specified for creating backups for ONTAP mode volumes. Format: `projects/{projects_id}/locations/{location}/storagePools/{storage_pool_id}`

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

    Type: String

    Required. The UUID of the ONTAP source volume.

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

    Type: String

    Optional. The UUID of the ONTAP source snapshot.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Netapp::V1::Backup::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.