NAME
Google::Cloud::Baremetalsolution::V2::Network - Compiled Protocol Buffers messages for google/cloud/baremetalsolution/v2/network.proto
SYNOPSIS
use Google::Cloud::Baremetalsolution::V2::Network;
my $msg = Google::Cloud::Baremetalsolution::V2::Network::Network->new({
name => $name,
id => $id,
type => $type,
ip_address => $ip_address,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Baremetalsolution::V2::Network::Network->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/baremetalsolution/v2/network.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::Network::Network
A Network.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource name of this `Network`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/networks/{network}`
$msg->id()/$msg->id($value)Type:
StringAn identifier for the `Network`, generated by the backend.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Baremetalsolution::V2::Network::Type)The type of this network.
$msg->ip_address()/$msg->ip_address($value)Type:
StringIP address configured.
$msg->mac_address()/$msg->mac_address($value)Type:
StringList of physical interfaces.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Baremetalsolution::V2::Network::State)The Network state.
$msg->vlan_id()/$msg->vlan_id($value)Type:
StringThe vlan id of the Network.
$msg->cidr()/$msg->cidr($value)Type:
StringThe cidr of the Network.
$msg->vrf()/$msg->vrf($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::Network::VRF)The vrf for the Network.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::Network::Network::LabelsEntry)Labels as key value pairs.
$msg->services_cidr()/$msg->services_cidr($value)Type:
StringIP range for reserved for services (e.g. NFS).
$msg->reservations()/$msg->reservations($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::Network::NetworkAddressReservation)List of IP address reservations in this network. When updating this field, an error will be generated if a reservation conflicts with an IP address already allocated to a physical server.
$msg->pod()/$msg->pod($value)Type:
StringOutput only. Pod name.
$msg->mount_points()/$msg->mount_points($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::Network::NetworkMountPoint)Input only. List of mount points to attach the network to.
$msg->jumbo_frames_enabled()/$msg->jumbo_frames_enabled($value)Type:
BoolWhether network uses standard frames or jumbo ones.
$msg->gateway_ip()/$msg->gateway_ip($value)Type:
StringOutput only. Gateway ip address.
Enum: Network::Type
TYPE_UNSPECIFIED=>0CLIENT=>1PRIVATE=>2
Enum: Network::State
STATE_UNSPECIFIED=>0PROVISIONING=>1PROVISIONED=>2DEPROVISIONING=>3UPDATING=>4
Google::Cloud::Baremetalsolution::V2::Network::NetworkAddressReservation
A reservation of one or more addresses in a network.
Inherits from Protobuf::Message.
Accessors
$msg->start_address()/$msg->start_address($value)Type:
StringThe first address of this reservation block. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
$msg->end_address()/$msg->end_address($value)Type:
StringThe last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, end_address and start_address will be the same. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
$msg->note()/$msg->note($value)Type:
StringA note about this reservation, intended for human consumption.
Google::Cloud::Baremetalsolution::V2::Network::VRF
A network VRF.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the VRF.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Baremetalsolution::V2::VRF::State)The possible state of VRF.
$msg->qos_policy()/$msg->qos_policy($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::Network::VRF::QosPolicy)The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility.
$msg->vlan_attachments()/$msg->vlan_attachments($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::Network::VRF::VlanAttachment)The list of VLAN attachments for the VRF.
Enum: VRF::State
STATE_UNSPECIFIED=>0PROVISIONING=>1PROVISIONED=>2
Google::Cloud::Baremetalsolution::V2::Network::LogicalInterface
Each logical interface represents a logical abstraction of the underlying physical interface (for eg. bond, nic) of the instance. Each logical interface can effectively map to multiple network-IP pairs and still be mapped to one underlying physical interface.
Inherits from Protobuf::Message.
Accessors
$msg->logical_network_interfaces()/$msg->logical_network_interfaces($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::Network::LogicalInterface::LogicalNetworkInterface)List of logical network interfaces within a logical interface.
$msg->name()/$msg->name($value)Type:
StringInterface name. This is of syntax <bond><bond_mode> or <nic> and forms part of the network template name.
$msg->interface_index()/$msg->interface_index($value)Type:
Int32The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template. This field is deprecated.
Google::Cloud::Baremetalsolution::V2::Network::GetNetworkRequest
Message for requesting network information.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource.
Google::Cloud::Baremetalsolution::V2::Network::ListNetworksRequest
Message for requesting a list of networks.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListNetworksRequest.
$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::Network::ListNetworksResponse
Response message containing the list of networks.
Inherits from Protobuf::Message.
Accessors
$msg->networks()/$msg->networks($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::Network::Network)The list of networks.
$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::Network::UpdateNetworkRequest
Message requesting to updating a network.
Inherits from Protobuf::Message.
Accessors
$msg->network()/$msg->network($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::Network::Network)Required. The network to update.
The `name` field is used to identify the instance to update. Format: projects/{project}/locations/{location}/networks/{network}
$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`, `reservations`, `vrf.vlan_attachments`
Google::Cloud::Baremetalsolution::V2::Network::NetworkUsage
Network with all used IP addresses.
Inherits from Protobuf::Message.
Accessors
$msg->network()/$msg->network($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::Network::Network)Network.
$msg->used_ips()/$msg->used_ips($value)Type:
StringAll used IP addresses in this network.
Google::Cloud::Baremetalsolution::V2::Network::ListNetworkUsageRequest
Request to get networks with IPs.
Inherits from Protobuf::Message.
Accessors
$msg->location()/$msg->location($value)Type:
StringRequired. Parent value (project and location).
Google::Cloud::Baremetalsolution::V2::Network::ListNetworkUsageResponse
Response with Networks with IPs
Inherits from Protobuf::Message.
Accessors
$msg->networks()/$msg->networks($value)Type:
Message(Google::Cloud::Baremetalsolution::V2::Network::NetworkUsage)Networks with IPs.
Google::Cloud::Baremetalsolution::V2::Network::NetworkMountPoint
Mount point for a network.
Inherits from Protobuf::Message.
Accessors
$msg->instance()/$msg->instance($value)Type:
StringInstance to attach network to.
$msg->logical_interface()/$msg->logical_interface($value)Type:
StringLogical interface to detach from.
$msg->default_gateway()/$msg->default_gateway($value)Type:
BoolNetwork should be a default gateway.
$msg->ip_address()/$msg->ip_address($value)Type:
StringIp address of the server.
Google::Cloud::Baremetalsolution::V2::Network::RenameNetworkRequest
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 network. Format: projects/{project}/locations/{location}/networks/{network}
$msg->new_network_id()/$msg->new_network_id($value)Type:
StringRequired. The new `id` of the network.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Baremetalsolution::V2::Network::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.