NAME

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

SYNOPSIS

use Google::Cloud::Baremetalsolution::V2::Lun;

my $msg = Google::Cloud::Baremetalsolution::V2::Lun::Lun->new({
    name => $name,
    id => $id,
    state => $state,
    size_gb => $size_gb,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/baremetalsolution/v2/lun.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::Lun::Lun

A storage volume logical unit number (LUN).

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The name of the LUN.

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

    Type: String

    An identifier for the LUN, generated by the backend.

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

    Type: Enum (Google::Cloud::Baremetalsolution::V2::Lun::State)

    The state of this storage volume.

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

    Type: Int64

    The size of this LUN, in gigabytes.

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

    Type: Enum (Google::Cloud::Baremetalsolution::V2::Lun::MultiprotocolType)

    The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.

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

    Type: String

    Display the storage volume for this LUN.

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

    Type: Bool

    Display if this LUN can be shared between multiple physical servers.

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

    Type: Bool

    Display if this LUN is a boot LUN.

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

    Type: Enum (Google::Cloud::Baremetalsolution::V2::Lun::StorageType)

    The storage type for this LUN.

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

    Type: String

    The WWID for this LUN.

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

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

    Output only. Time after which LUN will be fully deleted. It is filled only for LUNs in COOL_OFF state.

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

    Type: String

    Output only. Instances this Lun is attached to.

Enum: Lun::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • UPDATING => 2

  • READY => 3

  • DELETING => 4

  • COOL_OFF => 5

Enum: Lun::MultiprotocolType

  • MULTIPROTOCOL_TYPE_UNSPECIFIED => 0

  • LINUX => 1

Enum: Lun::StorageType

  • STORAGE_TYPE_UNSPECIFIED => 0

  • SSD => 1

  • HDD => 2

Google::Cloud::Baremetalsolution::V2::Lun::GetLunRequest

Message for requesting storage lun information.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the resource.

Google::Cloud::Baremetalsolution::V2::Lun::ListLunsRequest

Message for requesting a list of storage volume luns.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent value for ListLunsRequest.

  • $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::Lun::ListLunsResponse

Response message containing the list of storage volume luns.

Inherits from Protobuf::Message.

Accessors

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

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

    The list of luns.

  • $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::Lun::EvictLunRequest

Request for skip lun cooloff and delete it.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the lun.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.