/// Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned
/// by IAP. Requires that the brand for the project exists and that it is
/// set for internal-only use.
Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned
by IAP. Requires that the brand for the project exists and that it is
set for internal-only use.
Creates an Identity Aware Proxy ( IAP ) OAuth client . The client is owned by IAP . Requires that the brand for the project exists and that it is set for internal - only use .
pub async fn create_identity_aware_proxy_client(
            &mut self,
            request: impl tonic::IntoRequest<
                super::CreateIdentityAwareProxyClientRequest,
            >,
        ) -> Result<tonic::Response<super::IdentityAwareProxyClient>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.iap.v1.IdentityAwareProxyOAuthService/CreateIdentityAwareProxyClient",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn create_identity_aware_proxy_client ( & mut self , request : impl tonic :: IntoRequest < super :: CreateIdentityAwareProxyClientRequest , > , ) -> Result < tonic :: Response < super :: IdentityAwareProxyClient > , tonic :: Status > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Creates an Identity Aware Proxy (IAP) OAuth client.
Creates an Identity Aware Proxy ( IAP ) OAuth client .
&mut self
request
impl tonic::IntoRequest<
                super::CreateIdentityAwareProxyClientRequest,
            >