NAME

Google::Cloud::Baremetalsolution::V2::VolumeSnapshot - Compiled Protocol Buffers messages for google/cloud/baremetalsolution/v2/volume_snapshot.proto

SYNOPSIS

use Google::Cloud::Baremetalsolution::V2::VolumeSnapshot;

my $msg = Google::Cloud::Baremetalsolution::V2::VolumeSnapshot::VolumeSnapshot->new({
    name => $name,
    id => $id,
    description => $description,
    create_time => $create_time,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Baremetalsolution::V2::VolumeSnapshot::VolumeSnapshot->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/baremetalsolution/v2/volume_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::Baremetalsolution::V2::VolumeSnapshot::VolumeSnapshot

A snapshot of a volume. Only boot volumes can have snapshots.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the snapshot.

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

    Type: String

    Output only. An identifier for the snapshot, generated by the backend.

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

    Type: String

    The description of the snapshot.

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

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

    Output only. The creation time of the snapshot.

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

    Type: String

    Output only. The name of the volume which this snapshot belongs to.

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

    Type: Enum (Google::Cloud::Baremetalsolution::V2::VolumeSnapshot::SnapshotType)

    Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.

Enum: VolumeSnapshot::SnapshotType

  • SNAPSHOT_TYPE_UNSPECIFIED => 0

  • AD_HOC => 1

  • SCHEDULED => 2

Google::Cloud::Baremetalsolution::V2::VolumeSnapshot::GetVolumeSnapshotRequest

Message for requesting volume snapshot information.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the snapshot.

Google::Cloud::Baremetalsolution::V2::VolumeSnapshot::ListVolumeSnapshotsRequest

Message for requesting a list of volume snapshots.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent value for ListVolumesRequest.

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

    Type: Int32

    Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.

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

    Type: String

    A token identifying a page of results from the server.

Google::Cloud::Baremetalsolution::V2::VolumeSnapshot::ListVolumeSnapshotsResponse

Response message containing the list of volume snapshots.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Baremetalsolution::V2::VolumeSnapshot::VolumeSnapshot)

    The list of snapshots.

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

    Type: String

    A token identifying a page of results from the server.

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Baremetalsolution::V2::VolumeSnapshot::DeleteVolumeSnapshotRequest

Message for deleting named Volume snapshot.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the snapshot to delete.

Google::Cloud::Baremetalsolution::V2::VolumeSnapshot::CreateVolumeSnapshotRequest

Message for creating a volume snapshot.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Baremetalsolution::V2::VolumeSnapshot::RestoreVolumeSnapshotRequest

Message for restoring a volume snapshot.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the snapshot which will be used to restore its parent volume.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Baremetalsolution::V2::VolumeSnapshot::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.