NAME
Google::Cloud::Baremetalsolution::V2::NfsShare - Compiled Protocol Buffers messages for google/cloud/baremetalsolution/v2/nfs_share.proto
SYNOPSIS
use Google::Cloud::Baremetalsolution::V2::NfsShare;
my $msg = Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare->new({
name => $name,
nfs_share_id => $nfs_share_id,
id => $id,
state => $state,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/baremetalsolution/v2/nfs_share.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::NfsShare::NfsShare
An NFS share.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringImmutable. The name of the NFS share.
$msg->nfs_share_id()/$msg->nfs_share_id($value)Type:
StringOutput only. An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use `id` instead.
$msg->id()/$msg->id($value)Type:
StringOutput only. An identifier for the NFS share, generated by the backend. This is the same value as nfs_share_id and will replace it in the future.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Baremetalsolution::V2::NfsShare::State)Output only. The state of the NFS share.
$msg->volume()/$msg->volume($value)Type:
StringOutput only. The underlying volume of the share. Created automatically during provisioning.
$msg->allowed_clients()/$msg->allowed_clients($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare::AllowedClient)List of allowed access points.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare::LabelsEntry)Labels as key value pairs.
$msg->requested_size_gib()/$msg->requested_size_gib($value)Type:
Int64The requested size, in GiB.
$msg->storage_type()/$msg->storage_type($value)Type:
Enum(Google::Cloud::Baremetalsolution::V2::NfsShare::StorageType)Immutable. The storage type of the underlying volume.
Enum: NfsShare::State
STATE_UNSPECIFIED=>0PROVISIONED=>1CREATING=>2UPDATING=>3DELETING=>4
Enum: NfsShare::MountPermissions
MOUNT_PERMISSIONS_UNSPECIFIED=>0READ=>1READ_WRITE=>2
Enum: NfsShare::StorageType
STORAGE_TYPE_UNSPECIFIED=>0SSD=>1HDD=>2
Google::Cloud::Baremetalsolution::V2::NfsShare::GetNfsShareRequest
Message for requesting NFS share information.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource.
Google::Cloud::Baremetalsolution::V2::NfsShare::ListNfsSharesRequest
Message for requesting a list of NFS shares.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListNfsSharesRequest.
$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.
$msg->filter()/$msg->filter($value)Type:
StringList filter.
Google::Cloud::Baremetalsolution::V2::NfsShare::ListNfsSharesResponse
Response message containing the list of NFS shares.
Inherits from Protobuf::Message.
Accessors
$msg->nfs_shares()/$msg->nfs_shares($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare)The list of NFS shares.
$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::NfsShare::UpdateNfsShareRequest
Message requesting to updating an NFS share.
Inherits from Protobuf::Message.
Accessors
$msg->nfs_share()/$msg->nfs_share($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare)Required. The NFS share to update.
The `name` field is used to identify the NFS share to update. Format: projects/{project}/locations/{location}/nfsShares/{nfs_share}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)The list of fields to update. The only currently supported fields are: `labels` `allowed_clients`
Google::Cloud::Baremetalsolution::V2::NfsShare::RenameNfsShareRequest
Message requesting rename of a server.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The `name` field is used to identify the nfsshare. Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}
$msg->new_nfsshare_id()/$msg->new_nfsshare_id($value)Type:
StringRequired. The new `id` of the nfsshare.
Google::Cloud::Baremetalsolution::V2::NfsShare::CreateNfsShareRequest
Message for creating an NFS share.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent project and location.
$msg->nfs_share()/$msg->nfs_share($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::NfsShare::NfsShare)Required. The NfsShare to create.
Google::Cloud::Baremetalsolution::V2::NfsShare::DeleteNfsShareRequest
Message for deleting an NFS share.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the NFS share to delete.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Baremetalsolution::V2::NfsShare::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.