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: String

    Output 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: String

    An 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: String

    IP address configured.

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

    Type: String

    List 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: String

    The vlan id of the Network.

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

    Type: String

    The 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: String

    IP 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: String

    Output 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: Bool

    Whether network uses standard frames or jumbo ones.

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

    Type: String

    Output only. Gateway ip address.

Enum: Network::Type

  • TYPE_UNSPECIFIED => 0

  • CLIENT => 1

  • PRIVATE => 2

Enum: Network::State

  • STATE_UNSPECIFIED => 0

  • PROVISIONING => 1

  • PROVISIONED => 2

  • DEPROVISIONING => 3

  • UPDATING => 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: String

    The 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: String

    The 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: String

    A note about this reservation, intended for human consumption.

Google::Cloud::Baremetalsolution::V2::Network::VRF

A network VRF.

Inherits from Protobuf::Message.

Accessors

Enum: VRF::State

  • STATE_UNSPECIFIED => 0

  • PROVISIONING => 1

  • PROVISIONED => 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: String

    Interface 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: Int32

    The 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: String

    Required. 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: String

    Required. Parent value for ListNetworksRequest.

  • $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.

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

    Type: String

    List 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: 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::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

Google::Cloud::Baremetalsolution::V2::Network::ListNetworkUsageRequest

Request to get networks with IPs.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent value (project and location).

Google::Cloud::Baremetalsolution::V2::Network::ListNetworkUsageResponse

Response with Networks with IPs

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Baremetalsolution::V2::Network::NetworkMountPoint

Mount point for a network.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Instance to attach network to.

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

    Type: String

    Logical interface to detach from.

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

    Type: Bool

    Network should be a default gateway.

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

    Type: String

    Ip 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: String

    Required. 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: String

    Required. 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.