Struct googapis::google::cloud::networkconnectivity::v1alpha1::Spoke [−][src]
pub struct Spoke {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: HashMap<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: HashMap<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
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Spoke
impl UnwindSafe for Spoke
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more