Struct googapis::google::cloud::compute::v1::ssl_policies_client::SslPoliciesClient [−][src]
pub struct SslPoliciesClient<T> { /* fields omitted */ }
Expand description
The SslPolicies API.
Implementations
impl<T> SslPoliciesClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> SslPoliciesClient<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
) -> SslPoliciesClient<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<DeleteSslPolicyRequest>
) -> Result<Response<Operation>, Status>
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteSslPolicyRequest>
) -> Result<Response<Operation>, Status>
Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
pub async fn get(
&mut self,
request: impl IntoRequest<GetSslPolicyRequest>
) -> Result<Response<SslPolicy>, Status>
pub async fn get(
&mut self,
request: impl IntoRequest<GetSslPolicyRequest>
) -> Result<Response<SslPolicy>, Status>
Lists all of the ordered rules present in a single specified policy.
pub async fn insert(
&mut self,
request: impl IntoRequest<InsertSslPolicyRequest>
) -> Result<Response<Operation>, Status>
pub async fn insert(
&mut self,
request: impl IntoRequest<InsertSslPolicyRequest>
) -> Result<Response<Operation>, Status>
Returns the specified SSL policy resource. Gets a list of available SSL policies by making a list() request.
pub async fn list(
&mut self,
request: impl IntoRequest<ListSslPoliciesRequest>
) -> Result<Response<SslPoliciesList>, Status>
pub async fn list(
&mut self,
request: impl IntoRequest<ListSslPoliciesRequest>
) -> Result<Response<SslPoliciesList>, Status>
Lists all the SSL policies that have been configured for the specified project.
pub async fn list_available_features(
&mut self,
request: impl IntoRequest<ListAvailableFeaturesSslPoliciesRequest>
) -> Result<Response<SslPoliciesListAvailableFeaturesResponse>, Status>
pub async fn list_available_features(
&mut self,
request: impl IntoRequest<ListAvailableFeaturesSslPoliciesRequest>
) -> Result<Response<SslPoliciesListAvailableFeaturesResponse>, Status>
Lists all features that can be specified in the SSL policy when using custom profile.
pub async fn patch(
&mut self,
request: impl IntoRequest<PatchSslPolicyRequest>
) -> Result<Response<Operation>, Status>
pub async fn patch(
&mut self,
request: impl IntoRequest<PatchSslPolicyRequest>
) -> Result<Response<Operation>, Status>
Patches the specified SSL policy with the data included in the request.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for SslPoliciesClient<T> where
T: RefUnwindSafe,
impl<T> Send for SslPoliciesClient<T> where
T: Send,
impl<T> Sync for SslPoliciesClient<T> where
T: Sync,
impl<T> Unpin for SslPoliciesClient<T> where
T: Unpin,
impl<T> UnwindSafe for SslPoliciesClient<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