Struct gapi_grpc::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,
}

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

impl Spoke[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for Spoke[src]

impl Debug for Spoke[src]

impl Default for Spoke[src]

impl Message for Spoke[src]

impl PartialEq<Spoke> for Spoke[src]

impl StructuralPartialEq for Spoke[src]

Auto Trait Implementations

impl RefUnwindSafe for Spoke

impl Send for Spoke

impl Sync for Spoke

impl Unpin for Spoke

impl UnwindSafe for Spoke

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]