Struct googapis::google::cloud::compute::v1::region_notification_endpoints_client::RegionNotificationEndpointsClient [−][src]
pub struct RegionNotificationEndpointsClient<T> { /* fields omitted */ }
Expand description
The RegionNotificationEndpoints API.
Implementations
impl<T> RegionNotificationEndpointsClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> RegionNotificationEndpointsClient<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
) -> RegionNotificationEndpointsClient<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<DeleteRegionNotificationEndpointRequest>
) -> Result<Response<Operation>, Status>
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteRegionNotificationEndpointRequest>
) -> Result<Response<Operation>, Status>
Deletes the specified NotificationEndpoint in the given region
pub async fn get(
&mut self,
request: impl IntoRequest<GetRegionNotificationEndpointRequest>
) -> Result<Response<NotificationEndpoint>, Status>
pub async fn get(
&mut self,
request: impl IntoRequest<GetRegionNotificationEndpointRequest>
) -> Result<Response<NotificationEndpoint>, Status>
Returns the specified NotificationEndpoint resource in the given region.
pub async fn insert(
&mut self,
request: impl IntoRequest<InsertRegionNotificationEndpointRequest>
) -> Result<Response<Operation>, Status>
pub async fn insert(
&mut self,
request: impl IntoRequest<InsertRegionNotificationEndpointRequest>
) -> Result<Response<Operation>, Status>
Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request.
pub async fn list(
&mut self,
request: impl IntoRequest<ListRegionNotificationEndpointsRequest>
) -> Result<Response<NotificationEndpointList>, Status>
pub async fn list(
&mut self,
request: impl IntoRequest<ListRegionNotificationEndpointsRequest>
) -> Result<Response<NotificationEndpointList>, Status>
Lists the NotificationEndpoints for a project in the given region.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for RegionNotificationEndpointsClient<T> where
T: RefUnwindSafe,
impl<T> Send for RegionNotificationEndpointsClient<T> where
T: Send,
impl<T> Sync for RegionNotificationEndpointsClient<T> where
T: Sync,
impl<T> Unpin for RegionNotificationEndpointsClient<T> where
T: Unpin,
impl<T> UnwindSafe for RegionNotificationEndpointsClient<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