Struct google_api_proto::google::cloud::networkconnectivity::v1alpha1::Spoke
source · pub struct Spoke {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub description: String,
pub hub: String,
pub linked_vpn_tunnels: Vec<String>,
pub linked_interconnect_attachments: Vec<String>,
pub linked_router_appliance_instances: Vec<RouterApplianceInstance>,
pub unique_id: String,
pub state: i32,
}
Expand description
A Spoke is an abstraction of a network attachment being attached to a Hub. A Spoke can be underlying a VPN tunnel, a VLAN (interconnect) attachment, a Router appliance, etc.
Fields§
§name: String
Immutable. The name of a Spoke resource.
create_time: Option<Timestamp>
The time when the Spoke was created.
update_time: Option<Timestamp>
The time when the Spoke was updated.
labels: BTreeMap<String, String>
User-defined labels.
description: String
Short description of the spoke resource
hub: String
The resource URL of the hub resource that the spoke is attached to
linked_vpn_tunnels: Vec<String>
The URIs of linked VPN tunnel resources
linked_interconnect_attachments: Vec<String>
The URIs of linked interconnect attachment resources
linked_router_appliance_instances: Vec<RouterApplianceInstance>
The URIs of linked Router appliance resources
unique_id: String
Output only. Google-generated UUID for this resource. This is unique across all Spoke resources. If a Spoke resource is deleted and another with the same name is created, it gets a different unique_id.
state: i32
Output only. The current lifecycle state of this Hub.
Implementations§
Trait Implementations§
source§impl Message for Spoke
impl Message for Spoke
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 Spoke
impl PartialEq for Spoke
impl StructuralPartialEq for Spoke
Auto Trait Implementations§
impl Freeze for Spoke
impl RefUnwindSafe for Spoke
impl Send for Spoke
impl Sync for Spoke
impl Unpin for Spoke
impl UnwindSafe for Spoke
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