Struct googapis::google::cloud::iap::v1::identity_aware_proxy_admin_service_client::IdentityAwareProxyAdminServiceClient [−][src]
pub struct IdentityAwareProxyAdminServiceClient<T> { /* fields omitted */ }
Expand description
APIs for Identity-Aware Proxy Admin configurations.
Implementations
impl<T> IdentityAwareProxyAdminServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> IdentityAwareProxyAdminServiceClient<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
) -> IdentityAwareProxyAdminServiceClient<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 set_iam_policy(
&mut self,
request: impl IntoRequest<SetIamPolicyRequest>
) -> Result<Response<Policy>, Status>
pub async fn set_iam_policy(
&mut self,
request: impl IntoRequest<SetIamPolicyRequest>
) -> Result<Response<Policy>, Status>
Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
pub async fn get_iam_policy(
&mut self,
request: impl IntoRequest<GetIamPolicyRequest>
) -> Result<Response<Policy>, Status>
pub async fn get_iam_policy(
&mut self,
request: impl IntoRequest<GetIamPolicyRequest>
) -> Result<Response<Policy>, Status>
Gets the access control policy for an Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
pub async fn test_iam_permissions(
&mut self,
request: impl IntoRequest<TestIamPermissionsRequest>
) -> Result<Response<TestIamPermissionsResponse>, Status>
pub async fn test_iam_permissions(
&mut self,
request: impl IntoRequest<TestIamPermissionsRequest>
) -> Result<Response<TestIamPermissionsResponse>, Status>
Returns permissions that a caller has on the Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
pub async fn get_iap_settings(
&mut self,
request: impl IntoRequest<GetIapSettingsRequest>
) -> Result<Response<IapSettings>, Status>
pub async fn get_iap_settings(
&mut self,
request: impl IntoRequest<GetIapSettingsRequest>
) -> Result<Response<IapSettings>, Status>
Gets the IAP settings on a particular IAP protected resource.
pub async fn update_iap_settings(
&mut self,
request: impl IntoRequest<UpdateIapSettingsRequest>
) -> Result<Response<IapSettings>, Status>
pub async fn update_iap_settings(
&mut self,
request: impl IntoRequest<UpdateIapSettingsRequest>
) -> Result<Response<IapSettings>, Status>
Updates the IAP settings on a particular IAP protected resource. It
replaces all fields unless the update_mask
is set.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for IdentityAwareProxyAdminServiceClient<T> where
T: RefUnwindSafe,
impl<T> Send for IdentityAwareProxyAdminServiceClient<T> where
T: Send,
impl<T> Sync for IdentityAwareProxyAdminServiceClient<T> where
T: Sync,
impl<T> Unpin for IdentityAwareProxyAdminServiceClient<T> where
T: Unpin,
impl<T> UnwindSafe for IdentityAwareProxyAdminServiceClient<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