pub async fn list_reservations(
            &mut self,
            request: impl tonic::IntoRequest<super::ListReservationsRequest>,
        ) -> Result<tonic::Response<super::ListReservationsResponse>, 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.bigquery.reservation.v1.ReservationService/ListReservations",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
/// Lists all the reservations for the project in the specified location.
Lists all the reservations for the project in the specified location.
Lists all the reservations for the project in the specified location .
pub async fn list_reservations(
            &mut self,
            request: impl tonic::IntoRequest<super::ListReservationsRequest>,
        ) -> Result<tonic::Response<super::ListReservationsResponse>, 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.bigquery.reservation.v1.ReservationService/ListReservations",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn list_reservations ( & mut self , request : impl tonic :: IntoRequest < super :: ListReservationsRequest > , ) -> Result < tonic :: Response < super :: ListReservationsResponse > , 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 }
Lists all the reservations for the project in the specified location.
Lists all the reservations for the project in the specified location .
&mut self
request
impl tonic::IntoRequest<super::ListReservationsRequest>
&mut self
request
impl tonic::IntoRequest<super::ListReservationsRequest>