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:
StringOutput only. The name of the LUN.
$msg->id()/$msg->id($value)Type:
StringAn 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:
Int64The 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:
StringDisplay the storage volume for this LUN.
$msg->shareable()/$msg->shareable($value)Type:
BoolDisplay if this LUN can be shared between multiple physical servers.
$msg->boot_lun()/$msg->boot_lun($value)Type:
BoolDisplay 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:
StringThe 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:
StringOutput only. Instances this Lun is attached to.
Enum: Lun::State
STATE_UNSPECIFIED=>0CREATING=>1UPDATING=>2READY=>3DELETING=>4COOL_OFF=>5
Enum: Lun::MultiprotocolType
MULTIPROTOCOL_TYPE_UNSPECIFIED=>0LINUX=>1
Enum: Lun::StorageType
STORAGE_TYPE_UNSPECIFIED=>0SSD=>1HDD=>2
Google::Cloud::Baremetalsolution::V2::Lun::GetLunRequest
Message for requesting storage lun information.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringRequired. Parent value for ListLunsRequest.
$msg->page_size()/$msg->page_size($value)Type:
Int32Requested 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:
StringA 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:
StringA token identifying a page of results from the server.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations 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:
StringRequired. 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.