Struct googapis::google::cloud::compute::v1::packet_mirrorings_client::PacketMirroringsClient [−][src]
pub struct PacketMirroringsClient<T> { /* fields omitted */ }
Expand description
The PacketMirrorings API.
Implementations
impl<T> PacketMirroringsClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> PacketMirroringsClient<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
) -> PacketMirroringsClient<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<AggregatedListPacketMirroringsRequest>
) -> Result<Response<PacketMirroringAggregatedList>, Status>
pub async fn aggregated_list(
&mut self,
request: impl IntoRequest<AggregatedListPacketMirroringsRequest>
) -> Result<Response<PacketMirroringAggregatedList>, Status>
Retrieves an aggregated list of packetMirrorings.
pub async fn delete(
&mut self,
request: impl IntoRequest<DeletePacketMirroringRequest>
) -> Result<Response<Operation>, Status>
pub async fn delete(
&mut self,
request: impl IntoRequest<DeletePacketMirroringRequest>
) -> Result<Response<Operation>, Status>
Deletes the specified PacketMirroring resource.
pub async fn get(
&mut self,
request: impl IntoRequest<GetPacketMirroringRequest>
) -> Result<Response<PacketMirroring>, Status>
pub async fn get(
&mut self,
request: impl IntoRequest<GetPacketMirroringRequest>
) -> Result<Response<PacketMirroring>, Status>
Returns the specified PacketMirroring resource.
pub async fn insert(
&mut self,
request: impl IntoRequest<InsertPacketMirroringRequest>
) -> Result<Response<Operation>, Status>
pub async fn insert(
&mut self,
request: impl IntoRequest<InsertPacketMirroringRequest>
) -> Result<Response<Operation>, Status>
Creates a PacketMirroring resource in the specified project and region using the data included in the request.
pub async fn list(
&mut self,
request: impl IntoRequest<ListPacketMirroringsRequest>
) -> Result<Response<PacketMirroringList>, Status>
pub async fn list(
&mut self,
request: impl IntoRequest<ListPacketMirroringsRequest>
) -> Result<Response<PacketMirroringList>, Status>
Retrieves a list of PacketMirroring resources available to the specified project and region.
pub async fn patch(
&mut self,
request: impl IntoRequest<PatchPacketMirroringRequest>
) -> Result<Response<Operation>, Status>
pub async fn patch(
&mut self,
request: impl IntoRequest<PatchPacketMirroringRequest>
) -> Result<Response<Operation>, Status>
Patches the specified PacketMirroring resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
pub async fn test_iam_permissions(
&mut self,
request: impl IntoRequest<TestIamPermissionsPacketMirroringRequest>
) -> Result<Response<TestPermissionsResponse>, Status>
pub async fn test_iam_permissions(
&mut self,
request: impl IntoRequest<TestIamPermissionsPacketMirroringRequest>
) -> Result<Response<TestPermissionsResponse>, Status>
Returns permissions that a caller has on the specified resource.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for PacketMirroringsClient<T> where
T: RefUnwindSafe,
impl<T> Send for PacketMirroringsClient<T> where
T: Send,
impl<T> Sync for PacketMirroringsClient<T> where
T: Sync,
impl<T> Unpin for PacketMirroringsClient<T> where
T: Unpin,
impl<T> UnwindSafe for PacketMirroringsClient<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