Struct gapi_grpc::google::cloud::vpcaccess::v1::vpc_access_service_client::VpcAccessServiceClient[][src]

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

Serverless VPC Access API allows users to create and manage connectors for App Engine, Cloud Functions and Cloud Run to have internal connections to Virtual Private Cloud networks.

Implementations

impl VpcAccessServiceClient<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> VpcAccessServiceClient<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 create_connector(
    &mut self,
    request: impl IntoRequest<CreateConnectorRequest>
) -> Result<Response<Operation>, Status>
[src]

Creates a Serverless VPC Access connector, returns an operation.

pub async fn get_connector(
    &mut self,
    request: impl IntoRequest<GetConnectorRequest>
) -> Result<Response<Connector>, Status>
[src]

Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.

pub async fn list_connectors(
    &mut self,
    request: impl IntoRequest<ListConnectorsRequest>
) -> Result<Response<ListConnectorsResponse>, Status>
[src]

Lists Serverless VPC Access connectors.

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

Deletes a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.

Trait Implementations

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

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

Auto Trait Implementations

impl<T> !RefUnwindSafe for VpcAccessServiceClient<T>

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

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

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

impl<T> !UnwindSafe for VpcAccessServiceClient<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]