IdentityAwareProxyAdminService

Trait IdentityAwareProxyAdminService 

Source
pub trait IdentityAwareProxyAdminService:
    Debug
    + Send
    + Sync {
    // Provided methods
    fn set_iam_policy(
        &self,
        _req: SetIamPolicyRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<Policy>>> + Send { ... }
    fn get_iam_policy(
        &self,
        _req: GetIamPolicyRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<Policy>>> + Send { ... }
    fn test_iam_permissions(
        &self,
        _req: TestIamPermissionsRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<TestIamPermissionsResponse>>> + Send { ... }
    fn get_iap_settings(
        &self,
        _req: GetIapSettingsRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<IapSettings>>> + Send { ... }
    fn update_iap_settings(
        &self,
        _req: UpdateIapSettingsRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<IapSettings>>> + Send { ... }
    fn validate_iap_attribute_expression(
        &self,
        _req: ValidateIapAttributeExpressionRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<ValidateIapAttributeExpressionResponse>>> + Send { ... }
    fn list_tunnel_dest_groups(
        &self,
        _req: ListTunnelDestGroupsRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<ListTunnelDestGroupsResponse>>> + Send { ... }
    fn create_tunnel_dest_group(
        &self,
        _req: CreateTunnelDestGroupRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<TunnelDestGroup>>> + Send { ... }
    fn get_tunnel_dest_group(
        &self,
        _req: GetTunnelDestGroupRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<TunnelDestGroup>>> + Send { ... }
    fn delete_tunnel_dest_group(
        &self,
        _req: DeleteTunnelDestGroupRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<()>>> + Send { ... }
    fn update_tunnel_dest_group(
        &self,
        _req: UpdateTunnelDestGroupRequest,
        _options: RequestOptions,
    ) -> impl Future<Output = Result<Response<TunnelDestGroup>>> + Send { ... }
}
Expand description

Defines the trait used to implement super::client::IdentityAwareProxyAdminService.

Application developers may need to implement this trait to mock client::IdentityAwareProxyAdminService. In other use-cases, application developers only use client::IdentityAwareProxyAdminService and need not be concerned with this trait or its implementations.

Services gain new RPCs routinely. Consequently, this trait gains new methods too. To avoid breaking applications the trait provides a default implementation of each method. Most of these implementations just return an error.

Provided Methods§

Source

fn set_iam_policy( &self, _req: SetIamPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Policy>>> + Send

Source

fn get_iam_policy( &self, _req: GetIamPolicyRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Policy>>> + Send

Source

fn test_iam_permissions( &self, _req: TestIamPermissionsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<TestIamPermissionsResponse>>> + Send

Source

fn get_iap_settings( &self, _req: GetIapSettingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<IapSettings>>> + Send

Source

fn update_iap_settings( &self, _req: UpdateIapSettingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<IapSettings>>> + Send

Source

fn validate_iap_attribute_expression( &self, _req: ValidateIapAttributeExpressionRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ValidateIapAttributeExpressionResponse>>> + Send

Source

fn list_tunnel_dest_groups( &self, _req: ListTunnelDestGroupsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListTunnelDestGroupsResponse>>> + Send

Source

fn create_tunnel_dest_group( &self, _req: CreateTunnelDestGroupRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<TunnelDestGroup>>> + Send

Source

fn get_tunnel_dest_group( &self, _req: GetTunnelDestGroupRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<TunnelDestGroup>>> + Send

Source

fn delete_tunnel_dest_group( &self, _req: DeleteTunnelDestGroupRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn update_tunnel_dest_group( &self, _req: UpdateTunnelDestGroupRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<TunnelDestGroup>>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§