Struct gapi_grpc::google::cloud::networkconnectivity::v1alpha1::Hub[][src]

pub struct Hub {
    pub name: String,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub labels: HashMap<String, String>,
    pub description: String,
    pub spokes: Vec<String>,
    pub unique_id: String,
    pub state: i32,
}

Network Connectivity Center is a hub-and-spoke abstraction for network connectivity management in Google Cloud. It reduces operational complexity through a simple, centralized connectivity management model. Following is the resource message of a hub.

Fields

name: String

Immutable. The name of a Hub resource.

create_time: Option<Timestamp>

Time when the Hub was created.

update_time: Option<Timestamp>

Time when the Hub was updated.

labels: HashMap<String, String>

User-defined labels.

description: String

Short description of the hub resource.

spokes: Vec<String>

Output only. A list of the URIs of all attached spokes

unique_id: String

Output only. Google-generated UUID for this resource. This is unique across all Hub resources. If a Hub 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 Hub[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 Hub[src]

impl Debug for Hub[src]

impl Default for Hub[src]

impl Message for Hub[src]

impl PartialEq<Hub> for Hub[src]

impl StructuralPartialEq for Hub[src]

Auto Trait Implementations

impl RefUnwindSafe for Hub

impl Send for Hub

impl Sync for Hub

impl Unpin for Hub

impl UnwindSafe for Hub

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]