Struct googapis::google::cloud::compute::v1::target_tcp_proxies_client::TargetTcpProxiesClient [−][src]
pub struct TargetTcpProxiesClient<T> { /* fields omitted */ }
Expand description
The TargetTcpProxies API.
Implementations
impl<T> TargetTcpProxiesClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> TargetTcpProxiesClient<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
) -> TargetTcpProxiesClient<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 delete(
&mut self,
request: impl IntoRequest<DeleteTargetTcpProxyRequest>
) -> Result<Response<Operation>, Status>
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteTargetTcpProxyRequest>
) -> Result<Response<Operation>, Status>
Deletes the specified TargetTcpProxy resource.
pub async fn get(
&mut self,
request: impl IntoRequest<GetTargetTcpProxyRequest>
) -> Result<Response<TargetTcpProxy>, Status>
pub async fn get(
&mut self,
request: impl IntoRequest<GetTargetTcpProxyRequest>
) -> Result<Response<TargetTcpProxy>, Status>
Returns the specified TargetTcpProxy resource. Gets a list of available target TCP proxies by making a list() request.
pub async fn insert(
&mut self,
request: impl IntoRequest<InsertTargetTcpProxyRequest>
) -> Result<Response<Operation>, Status>
pub async fn insert(
&mut self,
request: impl IntoRequest<InsertTargetTcpProxyRequest>
) -> Result<Response<Operation>, Status>
Creates a TargetTcpProxy resource in the specified project using the data included in the request.
pub async fn list(
&mut self,
request: impl IntoRequest<ListTargetTcpProxiesRequest>
) -> Result<Response<TargetTcpProxyList>, Status>
pub async fn list(
&mut self,
request: impl IntoRequest<ListTargetTcpProxiesRequest>
) -> Result<Response<TargetTcpProxyList>, Status>
Retrieves the list of TargetTcpProxy resources available to the specified project.
pub async fn set_backend_service(
&mut self,
request: impl IntoRequest<SetBackendServiceTargetTcpProxyRequest>
) -> Result<Response<Operation>, Status>
pub async fn set_backend_service(
&mut self,
request: impl IntoRequest<SetBackendServiceTargetTcpProxyRequest>
) -> Result<Response<Operation>, Status>
Changes the BackendService for TargetTcpProxy.
pub async fn set_proxy_header(
&mut self,
request: impl IntoRequest<SetProxyHeaderTargetTcpProxyRequest>
) -> Result<Response<Operation>, Status>
pub async fn set_proxy_header(
&mut self,
request: impl IntoRequest<SetProxyHeaderTargetTcpProxyRequest>
) -> Result<Response<Operation>, Status>
Changes the ProxyHeaderType for TargetTcpProxy.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for TargetTcpProxiesClient<T> where
T: RefUnwindSafe,
impl<T> Send for TargetTcpProxiesClient<T> where
T: Send,
impl<T> Sync for TargetTcpProxiesClient<T> where
T: Sync,
impl<T> Unpin for TargetTcpProxiesClient<T> where
T: Unpin,
impl<T> UnwindSafe for TargetTcpProxiesClient<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