Struct googapis::google::cloud::compute::v1::backend_buckets_client::BackendBucketsClient [−][src]
pub struct BackendBucketsClient<T> { /* fields omitted */ }
Expand description
The BackendBuckets API.
Implementations
impl<T> BackendBucketsClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> BackendBucketsClient<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
) -> BackendBucketsClient<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 add_signed_url_key(
&mut self,
request: impl IntoRequest<AddSignedUrlKeyBackendBucketRequest>
) -> Result<Response<Operation>, Status>
pub async fn add_signed_url_key(
&mut self,
request: impl IntoRequest<AddSignedUrlKeyBackendBucketRequest>
) -> Result<Response<Operation>, Status>
Adds a key for validating requests with signed URLs for this backend bucket.
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteBackendBucketRequest>
) -> Result<Response<Operation>, Status>
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteBackendBucketRequest>
) -> Result<Response<Operation>, Status>
Deletes the specified BackendBucket resource.
pub async fn delete_signed_url_key(
&mut self,
request: impl IntoRequest<DeleteSignedUrlKeyBackendBucketRequest>
) -> Result<Response<Operation>, Status>
pub async fn delete_signed_url_key(
&mut self,
request: impl IntoRequest<DeleteSignedUrlKeyBackendBucketRequest>
) -> Result<Response<Operation>, Status>
Deletes a key for validating requests with signed URLs for this backend bucket.
pub async fn get(
&mut self,
request: impl IntoRequest<GetBackendBucketRequest>
) -> Result<Response<BackendBucket>, Status>
pub async fn get(
&mut self,
request: impl IntoRequest<GetBackendBucketRequest>
) -> Result<Response<BackendBucket>, Status>
Returns the specified BackendBucket resource. Gets a list of available backend buckets by making a list() request.
pub async fn insert(
&mut self,
request: impl IntoRequest<InsertBackendBucketRequest>
) -> Result<Response<Operation>, Status>
pub async fn insert(
&mut self,
request: impl IntoRequest<InsertBackendBucketRequest>
) -> Result<Response<Operation>, Status>
Creates a BackendBucket resource in the specified project using the data included in the request.
pub async fn list(
&mut self,
request: impl IntoRequest<ListBackendBucketsRequest>
) -> Result<Response<BackendBucketList>, Status>
pub async fn list(
&mut self,
request: impl IntoRequest<ListBackendBucketsRequest>
) -> Result<Response<BackendBucketList>, Status>
Retrieves the list of BackendBucket resources available to the specified project.
pub async fn patch(
&mut self,
request: impl IntoRequest<PatchBackendBucketRequest>
) -> Result<Response<Operation>, Status>
pub async fn patch(
&mut self,
request: impl IntoRequest<PatchBackendBucketRequest>
) -> Result<Response<Operation>, Status>
Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
pub async fn update(
&mut self,
request: impl IntoRequest<UpdateBackendBucketRequest>
) -> Result<Response<Operation>, Status>
pub async fn update(
&mut self,
request: impl IntoRequest<UpdateBackendBucketRequest>
) -> Result<Response<Operation>, Status>
Updates the specified BackendBucket resource with the data included in the request.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for BackendBucketsClient<T> where
T: RefUnwindSafe,
impl<T> Send for BackendBucketsClient<T> where
T: Send,
impl<T> Sync for BackendBucketsClient<T> where
T: Sync,
impl<T> Unpin for BackendBucketsClient<T> where
T: Unpin,
impl<T> UnwindSafe for BackendBucketsClient<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