Struct gapi_grpc::google::cloud::networkconnectivity::v1alpha1::hub_service_client::HubServiceClient[][src]

pub struct HubServiceClient<T> { /* fields omitted */ }

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.

Implementations

impl HubServiceClient<Channel>[src]

pub async fn connect<D>(dst: D) -> Result<Self, Error> where
    D: TryInto<Endpoint>,
    D::Error: Into<StdError>, 
[src]

Attempt to create a new client by connecting to a given endpoint.

impl<T> HubServiceClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn list_hubs(
    &mut self,
    request: impl IntoRequest<ListHubsRequest>
) -> Result<Response<ListHubsResponse>, Status>
[src]

Lists Hubs in a given project and location.

pub async fn get_hub(
    &mut self,
    request: impl IntoRequest<GetHubRequest>
) -> Result<Response<Hub>, Status>
[src]

Gets details of a single Hub.

pub async fn create_hub(
    &mut self,
    request: impl IntoRequest<CreateHubRequest>
) -> Result<Response<Operation>, Status>
[src]

Creates a new Hub in a given project and location.

pub async fn update_hub(
    &mut self,
    request: impl IntoRequest<UpdateHubRequest>
) -> Result<Response<Operation>, Status>
[src]

Updates the parameters of a single Hub.

pub async fn delete_hub(
    &mut self,
    request: impl IntoRequest<DeleteHubRequest>
) -> Result<Response<Operation>, Status>
[src]

Deletes a single Hub.

pub async fn list_spokes(
    &mut self,
    request: impl IntoRequest<ListSpokesRequest>
) -> Result<Response<ListSpokesResponse>, Status>
[src]

Lists Spokes in a given project and location.

pub async fn get_spoke(
    &mut self,
    request: impl IntoRequest<GetSpokeRequest>
) -> Result<Response<Spoke>, Status>
[src]

Gets details of a single Spoke.

pub async fn create_spoke(
    &mut self,
    request: impl IntoRequest<CreateSpokeRequest>
) -> Result<Response<Operation>, Status>
[src]

Creates a new Spoke in a given project and location.

pub async fn update_spoke(
    &mut self,
    request: impl IntoRequest<UpdateSpokeRequest>
) -> Result<Response<Operation>, Status>
[src]

Updates the parameters of a single Spoke.

pub async fn delete_spoke(
    &mut self,
    request: impl IntoRequest<DeleteSpokeRequest>
) -> Result<Response<Operation>, Status>
[src]

Deletes a single Spoke.

Trait Implementations

impl<T: Clone> Clone for HubServiceClient<T>[src]

impl<T> Debug for HubServiceClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for HubServiceClient<T>

impl<T> Send for HubServiceClient<T> where
    T: Send

impl<T> Sync for HubServiceClient<T> where
    T: Sync

impl<T> Unpin for HubServiceClient<T> where
    T: Unpin

impl<T> !UnwindSafe for HubServiceClient<T>

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]