/// Retrieves the list of support cases associated with an account. The current
/// authenticated user must have the permission to list and view these cases.
Retrieves the list of support cases associated with an account. The current
authenticated user must have the permission to list and view these cases.
Retrieves the list of support cases associated with an account . The current authenticated user must have the permission to list and view these cases .
pub async fn list_cases(
            &mut self,
            request: impl tonic::IntoRequest<super::ListCasesRequest>,
        ) -> Result<tonic::Response<super::ListCasesResponse>, 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.support.v1alpha1.CloudSupport/ListCases",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn list_cases ( & mut self , request : impl tonic :: IntoRequest < super :: ListCasesRequest > , ) -> Result < tonic :: Response < super :: ListCasesResponse > , 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 }
Retrieves the list of support cases associated with an account.
Retrieves the list of support cases associated with an account .
&mut self
request
impl tonic::IntoRequest<super::ListCasesRequest>