Struct googapis::google::cloud::compute::v1::target_vpn_gateways_client::TargetVpnGatewaysClient [−][src]
pub struct TargetVpnGatewaysClient<T> { /* fields omitted */ }
Expand description
The TargetVpnGateways API.
Implementations
impl<T> TargetVpnGatewaysClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> TargetVpnGatewaysClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
pub fn with_interceptor<F>(
inner: T,
interceptor: F
) -> TargetVpnGatewaysClient<InterceptedService<T, F>> where
F: Interceptor,
T: Service<Request<BoxBody>, Response = Response<<T as GrpcService<BoxBody>>::ResponseBody>>,
<T as Service<Request<BoxBody>>>::Error: Into<StdError> + Send + Sync,
Compress requests with gzip
.
This requires the server to support it otherwise it might respond with an error.
Enable decompressing responses with gzip
.
pub async fn aggregated_list(
&mut self,
request: impl IntoRequest<AggregatedListTargetVpnGatewaysRequest>
) -> Result<Response<TargetVpnGatewayAggregatedList>, Status>
pub async fn aggregated_list(
&mut self,
request: impl IntoRequest<AggregatedListTargetVpnGatewaysRequest>
) -> Result<Response<TargetVpnGatewayAggregatedList>, Status>
Retrieves an aggregated list of target VPN gateways.
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteTargetVpnGatewayRequest>
) -> Result<Response<Operation>, Status>
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteTargetVpnGatewayRequest>
) -> Result<Response<Operation>, Status>
Deletes the specified target VPN gateway.
pub async fn get(
&mut self,
request: impl IntoRequest<GetTargetVpnGatewayRequest>
) -> Result<Response<TargetVpnGateway>, Status>
pub async fn get(
&mut self,
request: impl IntoRequest<GetTargetVpnGatewayRequest>
) -> Result<Response<TargetVpnGateway>, Status>
Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request.
pub async fn insert(
&mut self,
request: impl IntoRequest<InsertTargetVpnGatewayRequest>
) -> Result<Response<Operation>, Status>
pub async fn insert(
&mut self,
request: impl IntoRequest<InsertTargetVpnGatewayRequest>
) -> Result<Response<Operation>, Status>
Creates a target VPN gateway in the specified project and region using the data included in the request.
pub async fn list(
&mut self,
request: impl IntoRequest<ListTargetVpnGatewaysRequest>
) -> Result<Response<TargetVpnGatewayList>, Status>
pub async fn list(
&mut self,
request: impl IntoRequest<ListTargetVpnGatewaysRequest>
) -> Result<Response<TargetVpnGatewayList>, Status>
Retrieves a list of target VPN gateways available to the specified project and region.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for TargetVpnGatewaysClient<T> where
T: RefUnwindSafe,
impl<T> Send for TargetVpnGatewaysClient<T> where
T: Send,
impl<T> Sync for TargetVpnGatewaysClient<T> where
T: Sync,
impl<T> Unpin for TargetVpnGatewaysClient<T> where
T: Unpin,
impl<T> UnwindSafe for TargetVpnGatewaysClient<T> where
T: UnwindSafe,
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