NAME

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

SYNOPSIS

use Google::Cloud::Netapp::V1::Snapshot;

my $msg = Google::Cloud::Netapp::V1::Snapshot::ListSnapshotsRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
    order_by => $order_by,
});

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

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

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

DESCRIPTION

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

ListSnapshotsRequest lists snapshots.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

  • $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::Snapshot::ListSnapshotsResponse

ListSnapshotsResponse is the result of ListSnapshotsRequest.

Inherits from Protobuf::Message.

Accessors

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

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

    A list of snapshots in the project for the specified volume.

  • $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::Snapshot::GetSnapshotRequest

GetSnapshotRequest gets the state of a snapshot.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The snapshot resource name, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`

Google::Cloud::Netapp::V1::Snapshot::CreateSnapshotRequest

CreateSnapshotRequest creates a snapshot.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The NetApp volume to create the snapshots of, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}`

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

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

    Required. A snapshot resource

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

    Type: String

    Required. ID of the snapshot to create. Must be unique within the parent resource. 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.

Google::Cloud::Netapp::V1::Snapshot::DeleteSnapshotRequest

DeleteSnapshotRequest deletes a snapshot.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The snapshot resource name, in the format `projects/*/locations/*/volumes/*/snapshots/{snapshot_id}`

Google::Cloud::Netapp::V1::Snapshot::UpdateSnapshotRequest

UpdateSnapshotRequest updates description and/or labels for a snapshot.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Netapp::V1::Snapshot::Snapshot

Snapshot is a point-in-time version of a Volume's content.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The resource name of the snapshot. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}`.

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

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

    Output only. The snapshot state.

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

    Type: String

    Output only. State details of the storage pool

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

    Type: String

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

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

    Type: Double

    Output only. Current storage usage for the snapshot in bytes.

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

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

    Output only. The time when the snapshot was created.

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

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

    Resource labels to represent user provided metadata.

Enum: Snapshot::State

  • STATE_UNSPECIFIED => 0

  • READY => 1

  • CREATING => 2

  • DELETING => 3

  • UPDATING => 4

  • DISABLED => 5

  • ERROR => 6

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.