Struct google_api_proto::google::cloud::baremetalsolution::v2::Network
source · pub struct Network {Show 16 fields
pub name: String,
pub id: String,
pub type: i32,
pub ip_address: String,
pub mac_address: Vec<String>,
pub state: i32,
pub vlan_id: String,
pub cidr: String,
pub vrf: Option<Vrf>,
pub labels: BTreeMap<String, String>,
pub services_cidr: String,
pub reservations: Vec<NetworkAddressReservation>,
pub pod: String,
pub mount_points: Vec<NetworkMountPoint>,
pub jumbo_frames_enabled: bool,
pub gateway_ip: String,
}
Expand description
A Network.
Fields§
§name: 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}
id: String
An identifier for the Network
, generated by the backend.
type: i32
The type of this network.
ip_address: String
IP address configured.
mac_address: Vec<String>
List of physical interfaces.
state: i32
The Network state.
vlan_id: String
The vlan id of the Network.
cidr: String
The cidr of the Network.
vrf: Option<Vrf>
The vrf for the Network.
labels: BTreeMap<String, String>
Labels as key value pairs.
services_cidr: String
IP range for reserved for services (e.g. NFS).
reservations: Vec<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.
pod: String
Output only. Pod name.
mount_points: Vec<NetworkMountPoint>
Input only. List of mount points to attach the network to.
jumbo_frames_enabled: bool
Whether network uses standard frames or jumbo ones.
gateway_ip: String
Output only. Gateway ip address.
Implementations§
Trait Implementations§
source§impl Message for Network
impl Message for Network
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Network
impl PartialEq for Network
impl StructuralPartialEq for Network
Auto Trait Implementations§
impl Freeze for Network
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnwindSafe for Network
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request